Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20 Focal errors on passwd configuration #1655

Open
williamgarrison opened this issue Feb 17, 2022 · 2 comments
Open

Ubuntu 20 Focal errors on passwd configuration #1655

williamgarrison opened this issue Feb 17, 2022 · 2 comments

Comments

@williamgarrison
Copy link

Sorry in advance, this is my first time ever asking for help/bugfix on a project like this...

My host is running debian 11, and the ganeti cluster (installed via apt, version 3) works fine for creating debian 11 and ubuntu 18 VMs, but trying to create a "focal" VM yields the following error: (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

In case it's helpful, here's the contents of my /etc/ganeti/instance-debootstrap/variants/focal.conf: (but I've also tried it with no extra packages, to no avail - same result)

ARCH="amd64"
SUITE="focal"
EXTRA_PKGS="grub2-common,grub-pc,linux-image-virtual"
MIRROR="http://archive.ubuntu.com/ubuntu/"
COMPONENTS="main,universe"
@williamgarrison
Copy link
Author

Because I was curious, the bionic and focal scripts in /usr/share/debootstrap/scripts are identical (I used diff to compare). Not sure if this is a problem/intentional or not.

@williamgarrison
Copy link
Author

Sending an email to submit@bugs.debian.org as well, since I don't know if this is a ganeti or a debootstrap problem (or both).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant