Re: systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-11 Thread Michael Biebl
Am 11.03.22 um 15:37 schrieb Simon McVittie: and the equivalent if we were relying on sysusers would be this: install flatpak /usr/lib/sysusers.d/flatpak.conf is created postinst or trigger invokes systemd-sysusers An important distinction is that this postinst can be g

Re: systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-11 Thread Marco d'Itri
On Mar 11, Simon Richter wrote: > We currently don't have a good mechanism for leaving configuration behind on > purge, which we've historically done with user accounts to avoid reuse of > UIDs that may own resources, so we'd still have to create the declarations > from a postinst. While this is

Re: systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-11 Thread Simon McVittie
On Fri, 11 Mar 2022 at 12:08:27 +0100, Simon Richter wrote: > On 3/10/22 8:59 PM, Michael Biebl wrote: > > have you considered a more declarative approach as provided by > > systemd-sysusers (8)? > > We currently don't have a good mechanism for leaving configuration behind on > purge, which we've

Re: systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-11 Thread Simon Richter
Hi, On 3/10/22 8:59 PM, Michael Biebl wrote: have you considered a more declarative approach as provided by systemd-sysusers (8)? We currently don't have a good mechanism for leaving configuration behind on purge, which we've historically done with user accounts to avoid reuse of UIDs that

Re: systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-11 Thread Marc Haber
On Thu, 10 Mar 2022 20:59:50 +0100, Michael Biebl wrote: >have you considered a more declarative approach as provided by >systemd-sysusers (8)? No. This thread is about evolving adduser. Not getting rid of it. 514 packages in Debian match "adduser.*--system". Feel free to offer a declarative th

Re: systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-10 Thread Luca Boccassi
On Thu, 10 Mar 2022 at 20:24, Michael Biebl wrote: > > Hi Marc, > > have you considered a more declarative approach as provided by > systemd-sysusers (8)? > > I'm a fan of less manual maintainer scripts code and maybe > systemd-sysusers is an answer to that, especially given that we split > out th

systemd-sysusers [Re: Seeking consensus for some changes in adduser]

2022-03-10 Thread Michael Biebl
Hi Marc, have you considered a more declarative approach as provided by systemd-sysusers (8)? I'm a fan of less manual maintainer scripts code and maybe systemd-sysusers is an answer to that, especially given that we split out the systemd-sysusers binary into a standalone binary which should