Don't use the state directory as the home directory. (fixes #464) - #976
Merged
bal-e merged 6 commits intoAug 27, 2026
Conversation
…s. (fixes #464) This prevents the error "Failed to set up special execution directory in /var/lib: No such file or directory".
Member
Author
|
Lintian complained but it seems its complaint should be disregarded (since Debian Bookworm at least, prior to that we maybe need The first Ubuntu version whose man page for |
ximon18
marked this pull request as draft
August 26, 2026 11:13
It just sees that, irrespective of script logic, there is an "illegal" invocation of adduser without --home. So instead always specify the home directory explicitly using the modern default value.
ximon18
marked this pull request as ready for review
August 26, 2026 11:53
Member
Author
|
A passing packaging workflow run can be seen here: https://github.com/NLnetLabs/cascade/actions/runs/32963602004 |
bal-e
approved these changes
Aug 27, 2026
bal-e
deleted the
464-failed-to-set-up-special-execution-directory-in-varlib-no-such-file-or-directory
branch
August 27, 2026 14:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This prevents the error "Failed to set up special execution directory in /var/lib: No such file or directory", reported in #464.
Tested by manually packaging in an Ubuntu Noble VM and installing the package with
aptand seeing that the systemd service is able to start without any problems and interact with thecascadeCLI command.The packaging workflow doesn't yet succeed, I'll mark this PR as ready to review when it does.