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

Bug#377974: user-setup: swadow passwords enabled too late? (was: Re: Bug#377974: Fwd: Re: exim4-config fails with ...)



clone 377974 -1
reassign -1 user-setup 1.3
retitle -1 Should shadow passwords be enabled earlier?
severity -1 minor
thanks

Because user-setup-apply is only run during finish-install, shadow 
passwords are not enabled during pkgsel. This leads to the following 
errors (that are in themselves not harmfull as they are ignored, just 
ugly) in the syslog:

in-target: Adding system-user for exim (v4)
in-target: chage: the shadow password file is not present
in-target: chage failed with return code 15, shadow not enabled, password 
aging cannot be set. Continuing.
[...]
in-target: Adding new user `statd' (101) with group `nogroup'.
in-target: chage: the shadow password file is not present
in-target: chage failed with return code 15, shadow not enabled, password 
aging cannot be set. Continuing.
[...]
in-target: Setting up pidentd (3.0.19.ds1-1) ...
in-target: chage: the shadow password file is not present
in-target: chage failed with return code 15, shadow not enabled, password 
aging cannot be set. Continuing.

This could probably be avoided by enabling shadow passwords during 
post-base-installer instead.
Note: I'm not suggesting to move the whole finish-install script there, 
just the parts that make sense to run earlier.

Attachment: pgpEEo_Hg9yoG.pgp
Description: PGP signature


Reply to: