Marc Haber
2005-Sep-13 19:18 UTC
Bug#328090: ssh: Fail to install non-interactively as part of the ltsp install
On Tue, Sep 13, 2005 at 01:33:14PM +0200, Petter Reinholdtsen wrote:> When trying to install an LTSP client chroot based on etch, I get this > error while setting up ssh: > > Setting up ssh (3.8.1p1-8.sarge.4) ... > Creating SSH2 RSA key; this may take some time ... > Creating SSH2 DSA key; this may take some time ... > chage: can''t open shadow password fileadduser: `/usr/bin/chage -M 99999 sshd'' returned error code 1. Aborting. > Cleaning up. > Removing user `sshd''. > dpkg: error processing ssh (--configure): > subprocess post-installation script returned error exit status 1 > > This block the installation of an LTSP client based on etch. > > I suspect this is because of non-interactive installation, but am not > sure. Trying to run ''apt-get install -f'' interactively in the chroot > after the installation failed did not solve the issue. > > The chroot was set up without shadow passwords (no /etc/shadow). > Could this be the problem?*sigh* *curse* which adduser, which passwd? 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
Debian Bug Tracking System
2005-Sep-14 05:33 UTC
[Adduser-devel] Processed: Re: Bug#328090: ssh: Fail to install non-interactively as part of the ltsp install
Processing commands for control@bugs.debian.org:> reassign #328090 shadowBug#328090: ssh: Fail to install non-interactively as part of the ltsp install Bug reassigned from package `adduser'' to `shadow''.> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Marc Haber
2005-Sep-14 05:33 UTC
[Adduser-devel] Bug#328090: ssh: Fail to install non-interactively as part of the ltsp install
reassign #328090 shadow thanks On Tue, Sep 13, 2005 at 07:02:21PM +0100, Colin Watson wrote:> On Tue, Sep 13, 2005 at 01:33:14PM +0200, Petter Reinholdtsen wrote: > > Package: ssh > > Version: 3.8.1p1-8.sarge.4 > > Severity: important > > > > When trying to install an LTSP client chroot based on etch, I get this > > error while setting up ssh: > > > > Setting up ssh (3.8.1p1-8.sarge.4) ... > > Creating SSH2 RSA key; this may take some time ... > > Creating SSH2 DSA key; this may take some time ... > > chage: can''t open shadow password fileadduser: `/usr/bin/chage -M 99999 sshd'' returned error code 1. Aborting. > > This is a combined adduser/shadow bug, not ssh. I believe it''s mostly > fixed in unstable.Bug submitter says that passwd 1:4.0.3-39 is installed, and that passwd version''s chage is supposed to return exit code 3 in the case of no shadow passwords being used. Since it clearly shows to return 1, this is a chage bug. I am also reopening bug #317012. 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