Comment 5 for bug 1304505

Revision history for this message
RĂ¼diger Kupper (ruediger.kupper) wrote :

Looks like it was a leftover lock file. Your command returned:

Adding system user `guest-Os5HCE' (UID 197) ...
Adding new group `guest-Os5HCE' (GID 248) ...
Adding new user `guest-Os5HCE' (UID 197) with group `guest-Os5HCE' ...
useradd: existing lock file /etc/subgid.lock without a PID
useradd: cannot lock /etc/subgid; try again later.
adduser: `/usr/sbin/useradd -d / -g guest-Os5HCE -s /bin/bash -u 197 guest-Os5HCE' returned error code 18. Exiting.
umount: /tmp/guest-Os5HCE: not mounted

I have removed /etc/subgid.lock and now all works as expected. How can this lock file be left over? Perhaps leftover locks should be deleted at boot time.

Thanks, Robert, you've solved my problem!