-
-
Notifications
You must be signed in to change notification settings - Fork 416
Install sysusers.d config for user/group #3262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Ubuntu, debian and other distro create the nut user/group pair by default in their packages. Add a sysusers.d config file and install it. This configuration file will create the configured user/group pair on first boot/factory reset/package installation, without requiring manual scripts or actions. This is very important for image-based OSes, but it is useful in other cases too, to allow using declarative configuration instead of scripts. https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html This is especially useful in combination with the existing tmpfiles.d config that is already installed, and makes use of the configured user/group. With the sysusers.d addition, it works out of the box without manual scripting. Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
❌ Build nut 2.8.4.3984-master failed (commit 7246d11290 by @bluca) |
|
✅ Build nut 2.8.4.3985-master completed (commit e88de41b2d by @bluca) |
…pstools#3262] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
❌ Build nut 2.8.4.3988-master failed (commit 4d66196116 by @jimklimov) |
|
Great thanks for your contribution! |
…-sysusers.conf [#3262] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
Oddly, OBS did not pick up from the PR some recipe discrepancies due to the new delivered file. Only complained once this got to master :\ |
|
Yeah it's part of that whole workflow |
Ubuntu, debian and other distro create the nut user/group pair by default in their packages.
Add a sysusers.d config file and install it. This configuration file will create the configured user/group pair on first boot/factory reset/package installation, without requiring manual scripts or actions. This is very important for image-based OSes, but it is useful in other cases too, to allow using declarative configuration instead of scripts.
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html
This is especially useful in combination with the existing tmpfiles.d config that is already installed, and makes use of the configured user/group. With the sysusers.d addition, it works out of the box without manual scripting.