Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-19 Thread Keh-Ming Luoh
Hi, Martin: Thanks for reminding me that my patch isn't good enough. My intension is indeed to keep uid/gid creation more explicitly. So the script can handle other "exceptions" better (in the future). I prefer to keep the logic instead of treating 65534 special. Thanks. -KM On Fri, Nov 16,

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-18 Thread Martin Pitt
Hello Michael, Michael Biebl [2018-11-17 22:33 +0100]: > I applied your patch and simplified postinst a bit using delgroup; > delgroup --system seems to DTRT already. Indeed, that's much better, thank you! Martin signature.asc Description: PGP signature

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-17 Thread Michael Biebl
Am 17.11.18 um 14:11 schrieb Michael Biebl: > Any reason you didn't use "getent group" and "delgroup" ? I applied your patch and simplified postinst a bit using delgroup; delgroup --system seems to DTRT already.

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-17 Thread Michael Biebl
Hi Martin Am 16.11.18 um 18:32 schrieb Martin Pitt: > I also added some postinst cleanup with some reasonable defensiveness. > (Double-checking it now) > > @Michael, does that seem ok to you? The patch seems to work fine as is. That said, lintian is not happy about the direct parsing and

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-16 Thread Martin Pitt
Hello Keh-Ming Luoh, hello Michael, sorry for the delay! Keh-Ming Luoh [2018-10-31 19:22 -0700]: > When I upgrade my systemd, I found there is a "nobody" group created > automatically. Thanks for tracking this down! > -awk -F: '{ i = ($3 == $4) ? $3 : $3":"$4; printf("u %-10s %-7s - %-20s >

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-15 Thread Michael Biebl
On Thu, 1 Nov 2018 07:47:48 +0100 Michael Biebl wrote: > Am 01.11.18 um 03:22 schrieb Keh-Ming Luoh: > > > I think there is a bug in debian/extra/make-sysusers-basic > > > I can confirm that running systemd-sysusers in a fresh sid chroot yields: > > # systemd-sysusers > > Creating group

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-11-01 Thread Michael Biebl
Am 01.11.18 um 03:22 schrieb Keh-Ming Luoh: > I think there is a bug in debian/extra/make-sysusers-basic I can confirm that running systemd-sysusers in a fresh sid chroot yields: > # systemd-sysusers > Creating group nobody with gid 999. > Creating group systemd-coredump with gid 998. >

Bug#912525: systemd: nobody group is created by systemd-sysusers automatically

2018-10-31 Thread Keh-Ming Luoh
Package: systemd Version: 239-11~bpo9+1 Severity: normal Tags: patch Dear Maintainer, When I upgrade my systemd, I found there is a "nobody" group created automatically. I was wondering what caused that. After tracing down the behavior, I figured out the following line in