Skip to content

debian: install and use sysusers.d config file#1700

Merged
rleon merged 1 commit intolinux-rdma:debian/unstablefrom
bluca:sysusers
Feb 25, 2026
Merged

debian: install and use sysusers.d config file#1700
rleon merged 1 commit intolinux-rdma:debian/unstablefrom
bluca:sysusers

Conversation

@bluca
Copy link
Contributor

@bluca bluca commented Feb 16, 2026

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

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>
@rleon
Copy link
Member

rleon commented Feb 24, 2026

@bdrung ?

Copy link
Member

@bdrung bdrung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Do we want to upstream libibverbs1.sysusers‎ by moving it out of the debian directory and ship it by ibverbs?

@bluca
Copy link
Contributor Author

bluca commented Feb 24, 2026

If this system group is useful outside debian/ubuntu, I can send a separate PR to do so

@bdrung
Copy link
Member

bdrung commented Feb 24, 2026

git grep did not reveal that there are other distributions creating a group, but IMO having this unified between distributions makes sense to me.

@bluca
Copy link
Contributor Author

bluca commented Feb 24, 2026

I can send a separate PR. But would be nice to have this in, until the next release.

@bluca
Copy link
Contributor Author

bluca commented Feb 24, 2026

#1705

@rleon rleon merged commit e762753 into linux-rdma:debian/unstable Feb 25, 2026
2 checks passed
@bluca bluca deleted the sysusers branch February 25, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants