[Nix-dev] groupmod failing in nixos

2012-04-02 Thread Lluís Batlle i Rossell
Hello, our activation script runs 'groupmod --gid num x' for the groups not maching the gid expected by nixos. In my system, this command fails. # grep dovecot2 /etc/group dovecot2:x:45: # LANG=C groupmod --gid 46 dovecot2 groupmod: Cannot determine your user name. (LANG=C is to have the

Re: [Nix-dev] groupmod failing in nixos

2012-04-02 Thread Eelco Dolstra
Hi, On 02/04/12 23:36, Lluís Batlle i Rossell wrote: our activation script runs 'groupmod --gid num x' for the groups not maching the gid expected by nixos. In my system, this command fails. # grep dovecot2 /etc/group dovecot2:x:45: The numerical gid of dovecot2 must be 46 since r33346.

Re: [Nix-dev] groupmod failing in nixos

2012-04-02 Thread Lluís Batlle i Rossell
On Mon, Apr 02, 2012 at 11:41:32PM +0200, Eelco Dolstra wrote: Hi, On 02/04/12 23:36, Lluís Batlle i Rossell wrote: our activation script runs 'groupmod --gid num x' for the groups not maching the gid expected by nixos. In my system, this command fails. # grep dovecot2 /etc/group