debian: install and use sysusers.d config file#1700
Merged
rleon merged 1 commit intolinux-rdma:debian/unstablefrom Feb 25, 2026
Merged
debian: install and use sysusers.d config file#1700rleon merged 1 commit intolinux-rdma:debian/unstablefrom
rleon merged 1 commit intolinux-rdma:debian/unstablefrom
Conversation
sysusers.d config files allow a package to use declarative configuration instead of manually written maintainer scripts. This also allows image-based systems to be created with /usr/ only, and also allows for factory resetting a system and recreating /etc/ on boot. https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Member
|
@bdrung ? |
bdrung
approved these changes
Feb 24, 2026
Member
bdrung
left a comment
There was a problem hiding this comment.
LGTM. Do we want to upstream libibverbs1.sysusers by moving it out of the debian directory and ship it by ibverbs?
Contributor
Author
|
If this system group is useful outside debian/ubuntu, I can send a separate PR to do so |
Member
|
|
Contributor
Author
|
I can send a separate PR. But would be nice to have this in, until the next release. |
Contributor
Author
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.
sysusers.d config files allow a package to use declarative configuration instead of manually written maintainer scripts.
This also allows image-based systems to be created with /usr/ only, and also allows for factory resetting a system and recreating /etc/ on boot.
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html