Re: [rfc] mass package change to introduce sysusers.d configs

2025-02-07 Thread Dan Horák
On Tue, 04 Feb 2025 09:20:24 -0500 "Colin Walters" wrote: > > > On Sat, Jan 25, 2025, at 4:05 AM, Zbigniew Jędrzejewski-Szmek wrote: > > > So yeah, having a package with a sysusers file and files owned by the > > users or groups defined therein works fine. (This was already possible > > before

Re: [rfc] mass package change to introduce sysusers.d configs

2025-02-04 Thread Colin Walters
On Sat, Jan 25, 2025, at 4:05 AM, Zbigniew Jędrzejewski-Szmek wrote: > So yeah, having a package with a sysusers file and files owned by the > users or groups defined therein works fine. (This was already possible > before, but required careful creation of a %pre scriptlet. The new > mechanism i

Re: [rfc] mass package change to introduce sysusers.d configs

2025-02-04 Thread Sérgio Basto via devel
On Tue, 2025-02-04 at 10:16 +, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Feb 01, 2025 at 05:21:41PM +, Sérgio Basto wrote: > > On Sat, 2025-02-01 at 08:50 +, Zbigniew Jędrzejewski-Szmek > > wrote: > > > On Fri, Jan 31, 2025 at 08:47:16PM +, Sérgio Basto via devel > > > wrote: > >

Re: [rfc] mass package change to introduce sysusers.d configs

2025-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Feb 01, 2025 at 05:21:41PM +, Sérgio Basto wrote: > On Sat, 2025-02-01 at 08:50 +, Zbigniew Jędrzejewski-Szmek wrote: > > On Fri, Jan 31, 2025 at 08:47:16PM +, Sérgio Basto via devel > > wrote: > > > > The first batch: > > > > https://in.waw.pl/~zbyszek/fedora/sysusers_mass_spec

Re: [rfc] mass package change to introduce sysusers.d configs

2025-02-01 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 31, 2025 at 08:47:16PM +, Sérgio Basto via devel wrote: > > The first batch: > > https://in.waw.pl/~zbyszek/fedora/sysusers_mass_spec_change_v1.diff.html > > > I have many packages in this situation , can you give us one plain text > patch to apply on my specs ? please. Above t

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-31 Thread Sérgio Basto via devel
On Thu, 2025-01-23 at 20:51 +, Zbigniew Jędrzejewski-Szmek wrote: > Hi! > > In accordance with > https://docs.fedoraproject.org/en-US/fesco/Mass_package_changes/, > I plan to do a "mass package change" to add sysusers.d config files > for all packages > which currently call 'useradd' and 'grou

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 29, 2025 at 03:43:56PM +, Daniel P. Berrangé wrote: > On Wed, Jan 29, 2025 at 03:37:07PM +, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Jan 29, 2025 at 03:12:32PM +, Daniel P. Berrangé wrote: > > > On Thu, Jan 23, 2025 at 08:51:16PM +, Zbigniew Jędrzejewski-Szmek > >

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Daniel P . Berrangé
On Wed, Jan 29, 2025 at 03:37:07PM +, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jan 29, 2025 at 03:12:32PM +, Daniel P. Berrangé wrote: > > On Thu, Jan 23, 2025 at 08:51:16PM +, Zbigniew Jędrzejewski-Szmek wrote: > > > Hi! > > > > > > In accordance with > > > https://docs.fedorapro

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Daniel P . Berrangé
On Wed, Jan 29, 2025 at 03:33:25PM +, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jan 29, 2025 at 02:59:04PM +, Daniel P. Berrangé wrote: > > On Wed, Jan 29, 2025 at 02:16:06PM +, Zbigniew Jędrzejewski-Szmek wrote: > > > On Sat, Jan 25, 2025 at 11:04:54AM +, Zbigniew Jędrzejewski-S

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 29, 2025 at 03:12:32PM +, Daniel P. Berrangé wrote: > On Thu, Jan 23, 2025 at 08:51:16PM +, Zbigniew Jędrzejewski-Szmek wrote: > > Hi! > > > > In accordance with > > https://docs.fedoraproject.org/en-US/fesco/Mass_package_changes/, > > I plan to do a "mass package change" to a

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 29, 2025 at 02:59:04PM +, Daniel P. Berrangé wrote: > On Wed, Jan 29, 2025 at 02:16:06PM +, Zbigniew Jędrzejewski-Szmek wrote: > > On Sat, Jan 25, 2025 at 11:04:54AM +, Zbigniew Jędrzejewski-Szmek wrote: > > > On Sat, Jan 25, 2025 at 10:16:01AM +, Zbigniew Jędrzejewski-S

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Daniel P . Berrangé
On Thu, Jan 23, 2025 at 08:51:16PM +, Zbigniew Jędrzejewski-Szmek wrote: > Hi! > > In accordance with > https://docs.fedoraproject.org/en-US/fesco/Mass_package_changes/, > I plan to do a "mass package change" to add sysusers.d config files for all > packages > which currently call 'useradd'

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Daniel P . Berrangé
On Wed, Jan 29, 2025 at 02:16:06PM +, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Jan 25, 2025 at 11:04:54AM +, Zbigniew Jędrzejewski-Szmek wrote: > > On Sat, Jan 25, 2025 at 10:16:01AM +, Zbigniew Jędrzejewski-Szmek wrote: > > > But I see that I didn't add packages that just call > >

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 25, 2025 at 11:04:54AM +, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Jan 25, 2025 at 10:16:01AM +, Zbigniew Jędrzejewski-Szmek wrote: > > But I see that I didn't add packages that just call > > %{sysusers_create_compat} to my list. > > Updated diff: > https://in.waw.pl/~zbysz

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-27 Thread Lennart Poettering
On Sa, 25.01.25 09:27, Peter Robinson (pbrobin...@gmail.com) wrote: > > trousers > > Trousers needs to be the same as the the tpm2-tss as they both deal with > the TPM (the former v1 variants the later TPMv2). What's the background here? Is this about device access? i.e. do both packages install

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-26 Thread Fabio Valentini
On Sun, Jan 26, 2025 at 2:27 PM Zbigniew Jędrzejewski-Szmek wrote: > > On Sun, Jan 26, 2025 at 12:36:33PM +0100, Fabio Valentini wrote: > > Wouldn't the config-file-as-separate-source-file approach would be > > more or less backwards compatible, > > whereas creating the config snippet in-line is o

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-26 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jan 26, 2025 at 12:36:33PM +0100, Fabio Valentini wrote: > Wouldn't the config-file-as-separate-source-file approach would be > more or less backwards compatible, > whereas creating the config snippet in-line is only compatible with F42+? > Naively, I would think that the more-or-less-backw

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-26 Thread Fabio Valentini
On Sun, Jan 26, 2025 at 11:08 AM Zbigniew Jędrzejewski-Szmek wrote: > > On Sat, Jan 25, 2025 at 04:32:54PM +, Gary Buhrmaster wrote: > > On Sat, Jan 25, 2025 at 11:05 AM Zbigniew Jędrzejewski-Szmek > > wrote: > > > > > Updated diff: > > > > > Zbyszek > > > > I have a preference for seein

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-26 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 25, 2025 at 04:32:54PM +, Gary Buhrmaster wrote: > On Sat, Jan 25, 2025 at 11:05 AM Zbigniew Jędrzejewski-Szmek > wrote: > > > Updated diff: > > > Zbyszek > > I have a preference for seeing packages follow > the current packaging guidelines (that I can find) > that say: > >

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Gary Buhrmaster
On Sat, Jan 25, 2025 at 11:05 AM Zbigniew Jędrzejewski-Szmek wrote: > Updated diff: > Zbyszek I have a preference for seeing packages follow the current packaging guidelines (that I can find) that say: Create a .sysusers file with the user definition and add it to the specfile as a sourc

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 25, 2025 at 10:16:01AM +, Zbigniew Jędrzejewski-Szmek wrote: > But I see that I didn't add packages that just call > %{sysusers_create_compat} to my list. Updated diff: https://in.waw.pl/~zbyszek/fedora/sysusers_mass_spec_change_v2.diff.html That brings up the total to 343 packages

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 25, 2025 at 09:27:10AM +, Peter Robinson wrote: > On Fri, 24 Jan 2025 at 14:08, Zbigniew Jędrzejewski-Szmek > wrote: > > trousers > > Trousers needs to be the same as the the tpm2-tss as they both deal with > the TPM (the former v1 variants the later TPMv2). This story here is si

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Alexander Bokovoy
On Суб, 25 сту 2025, Richard W.M. Jones wrote: On Sat, Jan 25, 2025 at 11:06:43AM +0200, Alexander Bokovoy wrote: On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: >On Fri, Jan 24, 2025 at 01:25:18PM -0300, Rafael Jeffman wrote: >>Some of these packages might have the same issue as >>softh

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Richard W.M. Jones
On Sat, Jan 25, 2025 at 11:06:43AM +0200, Alexander Bokovoy wrote: > On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: > >On Fri, Jan 24, 2025 at 01:25:18PM -0300, Rafael Jeffman wrote: > >>Some of these packages might have the same issue as > >>softhsm/opendnssec as they use the same user, b

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 25, 2025 at 11:29:58AM +0200, Alexander Bokovoy wrote: > On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: > > On Sat, Jan 25, 2025 at 11:06:43AM +0200, Alexander Bokovoy wrote: > > > On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: > > > > - if the user shall be shared, le

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 25, 2025 at 11:06:43AM +0200, Alexander Bokovoy wrote: > On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: > > - if the user shall be shared, let on of the packages define the user > > and have the other package add Requires:user(…). > OpenDNSSEC and SoftHSM are coupled. SoftHSM

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Alexander Bokovoy
On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: On Sat, Jan 25, 2025 at 11:06:43AM +0200, Alexander Bokovoy wrote: On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: > - if the user shall be shared, let on of the packages define the user > and have the other package add Requires:us

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Peter Robinson
On Fri, 24 Jan 2025 at 14:08, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Jan 24, 2025 at 08:55:12AM +, Peter Robinson wrote: > > On Thu, 23 Jan 2025 at 20:52, Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> > > wrote: > > Is there a list of those packages? > > > > The first batch: > > >

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Alexander Bokovoy
On Суб, 25 сту 2025, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Jan 24, 2025 at 01:25:18PM -0300, Rafael Jeffman wrote: Some of these packages might have the same issue as softhsm/opendnssec as they use the same user, but, currently user GECOS is different on both packages, causing systemd-sysue

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 24, 2025 at 07:44:31PM +0100, Tomasz Torcz wrote: > On Fri, Jan 24, 2025 at 02:07:07PM +, Zbigniew Jędrzejewski-Szmek wrote: > > On Fri, Jan 24, 2025 at 08:55:12AM +, Peter Robinson wrote: > > > On Thu, 23 Jan 2025 at 20:52, Zbigniew Jędrzejewski-Szmek > > > > > > wrote: > > >

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 24, 2025 at 01:25:18PM -0300, Rafael Jeffman wrote: > Some of these packages might have the same issue as > softhsm/opendnssec as they use the same user, but, > currently user GECOS is different on both packages, > causing systemd-sysuers to fail (or warn). This is a preexisting bug in

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-24 Thread Tomasz Torcz
On Fri, Jan 24, 2025 at 02:07:07PM +, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Jan 24, 2025 at 08:55:12AM +, Peter Robinson wrote: > > On Thu, 23 Jan 2025 at 20:52, Zbigniew Jędrzejewski-Szmek > > > > wrote: > > Is there a list of those packages? > > > > The first batch: > > > https:

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-24 Thread Rafael Jeffman
Some of these packages might have the same issue as softhsm/opendnssec as they use the same user, but, currently user GECOS is different on both packages, causing systemd-sysuers to fail (or warn). IMHO, an approach similar to SPDX change should be made. Rafael On Fri, Jan 24, 2025 at 11:08 AM

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-24 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 24, 2025 at 08:55:12AM +, Peter Robinson wrote: > On Thu, 23 Jan 2025 at 20:52, Zbigniew Jędrzejewski-Szmek > wrote: > Is there a list of those packages? > > The first batch: > > https://in.waw.pl/~zbyszek/fedora/sysusers_mass_spec_change_v1.diff.html ^ Those are the ones I have

Re: [rfc] mass package change to introduce sysusers.d configs

2025-01-24 Thread Peter Robinson
On Thu, 23 Jan 2025 at 20:52, Zbigniew Jędrzejewski-Szmek wrote: > Hi! > > In accordance with > https://docs.fedoraproject.org/en-US/fesco/Mass_package_changes/, > I plan to do a "mass package change" to add sysusers.d config files for > all packages > which currently call 'useradd' and 'groupadd