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

Bug#1006454: debootstrap: Ubuntu 20 creation fails on passwd configuration



Package: debootstrap

Version: 1.0.123

 

I’m using ganeti to create an ubuntu 20 “focal” VM on a debian 11 host, but it always fails with the following output (pulled from debootstrap.log on the instance disk):

 

Setting up passwd (1:4.8.1-1ubuntu5) ...

Killed

Killed

chown: cannot access '/etc/shadow': No such file or directory

chmod: cannot access '/etc/shadow': No such file or directory

Please correct the error and rerun `/sbin/shadowconfig on'

dpkg: error processing package passwd (--configure):

 installed passwd package post-installation script subprocess returned error exit status 1

Setting up libpam-runtime (1.3.1-5ubuntu4) ...

Setting up login (1:4.8.1-1ubuntu5) ...

Setting up util-linux (2.34-0.1ubuntu9) ...

update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in auto mode

Setting up mount (2.34-0.1ubuntu9) ...

Setting up sysvinit-utils (2.96-2.1ubuntu1) ...

Processing triggers for libc-bin (2.31-0ubuntu9) ...

Errors were encountered while processing:

 passwd

 

I followed ganeti-instance-debootstrap instructions, in which case the ‘focal’ variant is just a symlink to ‘gutsy’, so I’m not sure what else to try. In case it helps, Debian 11 and Ubuntu 18 (bionic) instances work without error.

Some more version information, if helpful:
Linux 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux

ii  ganeti                               3.0.1-2                         all          cluster virtualization manager

ii  ganeti-3.0                           3.0.1-2                         all          cluster virtualization manager - Python components

ii  ganeti-haskell-3.0                   3.0.1-2                         amd64        cluster virtualization manager - Haskell components

ii  ganeti-htools-3.0                    3.0.1-2                         amd64        cluster virtualization manager - tools for Ganeti 3.0

ii  ganeti-instance-debootstrap          0.16-6.1                        all          debootstrap-based instance OS definition for ganeti

 

William Garrison

 


Reply to: