Kurt Roeckx:
On Wed, Jan 01, 2025 at 10:47:56AM +0100, Niels Thykier wrote:Hi Please see attached as a patch. I intend to NMU to make progress on the MBF if I do not hear from you on this. It would help me if you either uploaded this soon or approved the NMU (enabling me to skip the delay). Thanks in advance.Feel free to NMU.
Thanks, will do. :)
I assume the problem was debian/rules does chown on the log directory.
Indeed.
Your document suggest moving it to postinst, which is not what the patch does. Kurt
The `postinst` case from the solutions document is aimed at "runtime" created users (such as `adduser` in postinst or `systemd sysusers`. The `irc` user is a static user by virtue of being listed in /usr/share/base-passwd/passwd.master. My intention was that this case to fall under the "static user" case.
Long term, we would ideally make ircd-irc2 (and other packages) fully rootless to build. However, that requires some more discussion on how we (as a project) want to solve these cases in the general case. Since it was not needed for changing the default and that options are likely going to be controversial (at least for some), the MBF deliberately side-steps this problem by punting on the static ownership cases. Having "rootless" by default is a bigger win than going for 100% rootless right now. :)
Best regards, Niels
OpenPGP_signature.asc
Description: OpenPGP digital signature

