Bug#316089: exim4-config - fails to install if system uses no shadow

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 316089@bugs.debian.org
Tue, 28 Jun 2005 15:17:29 +0200


reassign #316089 adduser
# too bad this doesn't make this bug SEP.
thanks

On Tue, Jun 28, 2005 at 01:31:39PM +0200, Bastian Blank wrote:
> exim4-config fails to install if the system have no /etc/shadow file.
> 
> | Setting up exim4-config (4.51-1) ...
> | hostname: Unknown host
> | hostname: Unknown host
> | Adding system-user for exim (v4)
> | chage: can't open shadow password file
> | groupdel: group Debian-exim does not exist
> | dpkg: error processing exim4-config (--configure):
> |  subprocess post-installation script returned error exit status 1

This is an error message which clearly happens during the adduser call
in exim4-config.postinst.

shadow maintainers, would you be willing to make the case of "no
shadow passwords in use, chage will fail" easily detectable from
inside adduser? Or am I better off by jumping through hoops in adduser
to find out whether shadow passwords are in use?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835