[systemd-devel] Fedora 21 and systemd-nspawn

Matthew Karas mkarascybi at gmail.com
Mon Jun 15 08:30:01 PDT 2015


I'm trying to use systemd-nspawn but when I launch it and try to login
as root - it still asks for a password and I can't seem to set one.
The docs for fedora mentioned turning off auditing - which I've done.

My cmd line says audit=0 at the end.

    $ cat /proc/cmdline
    BOOT_IMAGE=/vmlinuz-3.19.7-200.fc21.x86_64
root=/dev/mapper/fedora_localhost-root ro
rd.lvm.lv=fedora_localhost/swap rd.lvm.lv=fedora_localhost/root rhgb
audit=0 quiet


(This is fedora 21) Using these docs
https://fedoraproject.org/wiki/Features/SystemdLightweightContainers

When I try to change the password it tells me I have a auth token
manipulation error.

    $ sudo systemd-nspawn -D /srv/eq1
    Spawning container eq1 on /srv/eq1.
    Press ^] three times within 1s to kill container.
    -bash-4.3# passwd
    Changing password for user root.
    New password:
    Retype new password:
    passwd: Authentication token manipulation error
    -bash-4.3#


More information about the systemd-devel mailing list