From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: bug#19795: Allow for stateless users and groups in GuixSD Date: Fri, 06 Feb 2015 18:24:23 +0100 Message-ID: <874mqzar3y.fsf@yamato.home> References: Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJnLy-0000yB-Qi for bug-guix@gnu.org; Fri, 06 Feb 2015 13:10:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJnLw-0007rN-18 for bug-guix@gnu.org; Fri, 06 Feb 2015 13:10:06 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:44624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJnLv-0007rA-Uy for bug-guix@gnu.org; Fri, 06 Feb 2015 13:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YJnLv-0006Ec-HK for bug-guix@gnu.org; Fri, 06 Feb 2015 13:10:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: "Thompson, David" Cc: 19795@debbugs.gnu.org Hello, My 2c: In short +1! Thompson, David writes: > Currently, removing a user account from the users list in an OS config > does not remove the user account from a system when 'guix system > reconfigure' is run. I think that user accounts not specified in the > user accounts list should be invalidated and that /etc/passwd and > other files be fully rebuilt each time. In other words, I want a > stateless /etc/passwd, not a stateful one. I would love this functionality: it feels intuitive for a functional package manager. > As Mark brought up on IRC, this proposed change in behavior may very > well surprise and frustrate another subset of users, so perhaps the > existing behavior should be preserved, with a bit that can be flipped > for stateless user accounts. I agree that perhaps statefulness should be the default for now, as that seems the "common way to do things". Alex