Re: Proposed changes to wesnoth-1.16 (fixes RC bug and autoremoval in boost1.83 transition)
Tobias Frost <[email protected]>
| Newsgroups | gmane.linux.debian.devel.games |
|---|---|
| Message-ID | <[email protected]> |
Am Sun, Dec 31, 2023 at 12:27:54PM +0100 schrieb Alexandre Detiste: > The new best thing to create users is a "sysusers.d" file which can even > be upstreamed along the .service to fix the nobody:users mistake. > > https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html Maybe another idea, not checked if feasible for wesnoth, could be using the DynamicUser feature from systemd. This will also enable some (some) hardeining by default, which might be nice as well. See systemd.exec(5) for details. > Greetings > > Le dim. 31 déc. 2023, 09:45, P. J. McDermott <[email protected]> a écrit : > > > > > Thanks Simon for reviewing this change and correcting my understanding > > of Policy on this matter. I agree that would be the best solution. So > > postinst/prerm should adduser/deluser. > > > > I wonder how a systemd service file provided by an upstream source > > archive is supposed to handle this then, since as I said I proposed a > > similar change upstream (which thanks to you I now see should probably > > not be merged as-is, though I don't think upstream's current use of > > nobody:users is any better, since systemd will even warn about it). > >