emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45570: closed (operating-system definitions allow duplicate passwd a


From: GNU bug Tracking System
Subject: bug#45570: closed (operating-system definitions allow duplicate passwd and group entries)
Date: Mon, 11 Jan 2021 15:07:02 +0000

Your message dated Mon, 11 Jan 2021 16:06:45 +0100
with message-id 
<1ef9ad81776e110cb538968f2a124df74bec06ac.camel@student.tugraz.at>
and subject line Re: [PATCH v3] system: Assert, that user and group names are 
unique.
has caused the debbugs.gnu.org bug report #45570,
regarding operating-system definitions allow duplicate passwd and group entries
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45570: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45570
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: operating-system definitions allow duplicate passwd and group entries Date: Thu, 31 Dec 2020 13:14:19 -0500
When an operating-system contains multiple users or groups with the same name, instantiating it with `guix system` does not cause a validation failure, nor are the duplicate entries filtered from the resulting /etc files.

This duplication can happen in a few different ways:

- both entries are manually included in the "users" or "groups" fields of the operating-system
- a manually-specified entry collides with an entry defined by a service (via an account-service-type extension)
- multiple services define entries that collide with each other

Steps to reproduce: call "guix system container" with the attached operating-system definition.

Attachment: duplicate-users-and-groups.scm
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: [PATCH v3] system: Assert, that user and group names are unique. Date: Mon, 11 Jan 2021 16:06:45 +0100 User-agent: Evolution 3.34.2
Am Montag, den 11.01.2021, 14:09 +0100 schrieb Ludovic Courtès:
> Hi,
> 
> Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> 
> > *gnu/system/shadow.scm (find-duplicates): New variable.
> > (assert-unique-account-names, assert-unique-group-names): New
> > variables.
> > (account-activation): Use them here.
> 
> LGTM, thanks! :-)
> 
> Ludo’.
Aaaand it's pushed.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]