all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure
@ 2021-01-12 23:03 Jonathan Brielmaier
       [not found] ` <handler.45830.B.16104926238382.ack@debbugs.gnu.org>
  2021-01-12 23:23 ` Leo Prikler
  0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Brielmaier @ 2021-01-12 23:03 UTC (permalink / raw)
  To: 45830; +Cc: leo.prikler

Hi Leo,

your commit a3002104:
system: Assert, that user and group names are unique.

breaks `guix system reconfigure` for me and other people (at least two
in IRC).

$ guix system reconfigure config.scm
guix system: error: the following groups appear more than once: lp

$ sudo grep lp /etc/group
lp:x:989:

lpadmin:x:975:

$ sudo grep lp /etc/passwd
lp:!:18467::::::

The same happend on my server with the `nginx` group.

I reverted it for the mean time, as I find it pretty grave...

~Jonathan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure
       [not found] ` <handler.45830.B.16104926238382.ack@debbugs.gnu.org>
@ 2021-01-12 23:18   ` Jonathan Brielmaier
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Brielmaier @ 2021-01-12 23:18 UTC (permalink / raw)
  To: 45830

The original bug with the patch leading to this issue is:
https://issues.guix.gnu.org/45570




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure
  2021-01-12 23:03 bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure Jonathan Brielmaier
       [not found] ` <handler.45830.B.16104926238382.ack@debbugs.gnu.org>
@ 2021-01-12 23:23 ` Leo Prikler
  2021-01-12 23:53   ` Leo Prikler
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Prikler @ 2021-01-12 23:23 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 45830

Hi Jonathan,

Am Mittwoch, den 13.01.2021, 00:03 +0100 schrieb Jonathan Brielmaier:
> Hi Leo,
> 
> your commit a3002104:
> system: Assert, that user and group names are unique.
> 
> breaks `guix system reconfigure` for me and other people (at least
> two
> in IRC).
> 
> $ guix system reconfigure config.scm
> guix system: error: the following groups appear more than once: lp
> 
> $ sudo grep lp /etc/group
> lp:x:989:
> 
> lpadmin:x:975:
> 
> $ sudo grep lp /etc/passwd
> lp:!:18467::::::
It would seem you have two or more services adding an lp group then. 
Or one service and a manually defined one.

> The same happend on my server with the `nginx` group.
Same problem here; you're probably adding an nginx group twice in some
way.  This is especially concerning, given that it's groups twice – for
some reason nothing is adding additional users or else that check would
have been triggered first.

> I reverted it for the mean time, as I find it pretty grave...
I would have preferred, if you could instead have demoted it to a
warning.  I understand, that stuff suddenly breaking can be
frustrating, but I doubt the configurations you're using are fine.

> ~Jonathan
Regards,
Leo






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure
  2021-01-12 23:23 ` Leo Prikler
@ 2021-01-12 23:53   ` Leo Prikler
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Prikler @ 2021-01-12 23:53 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 45830-done

Hello again,
Am Mittwoch, den 13.01.2021, 00:23 +0100 schrieb Leo Prikler:
> Hi Jonathan,
> 
> Am Mittwoch, den 13.01.2021, 00:03 +0100 schrieb Jonathan Brielmaier:
> > Hi Leo,
> > 
> > your commit a3002104:
> > system: Assert, that user and group names are unique.
> > 
> > breaks `guix system reconfigure` for me and other people (at least
> > two
> > in IRC).
> > 
> > $ guix system reconfigure config.scm
> > guix system: error: the following groups appear more than once: lp
> > 
> > $ sudo grep lp /etc/group
> > lp:x:989:
> > 
> > lpadmin:x:975:
> > 
> > $ sudo grep lp /etc/passwd
> > lp:!:18467::::::
> It would seem you have two or more services adding an lp group then. 
> Or one service and a manually defined one.
> 
> > The same happend on my server with the `nginx` group.
> Same problem here; you're probably adding an nginx group twice in
> some
> way.  This is especially concerning, given that it's groups twice –
> for
> some reason nothing is adding additional users or else that check
> would
> have been triggered first.
> 
> > I reverted it for the mean time, as I find it pretty grave...
> I would have preferred, if you could instead have demoted it to a
> warning.  I understand, that stuff suddenly breaking can be
> frustrating, but I doubt the configurations you're using are fine.
> 
> > ~Jonathan
> Regards,
> Leo
I've re-applied the patch with errors demoted to warnings.  I hope you
and the other people, who've reported this in IRC will be able to
figure out where the duplicate groups come from.

Regards,
Leo






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-12 23:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 23:03 bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure Jonathan Brielmaier
     [not found] ` <handler.45830.B.16104926238382.ack@debbugs.gnu.org>
2021-01-12 23:18   ` Jonathan Brielmaier
2021-01-12 23:23 ` Leo Prikler
2021-01-12 23:53   ` Leo Prikler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.