Dear systemd-users,

e.g. when a container name includes a minus sign like:

ls -l /var/lib/machines
insgesamt 4
drwxr-xr-x 22 root root 4096 12. Jan 21:14 host.cis.uni-muenchen.de

Enabling the systemd-nspawn service with:

systemctl enable [email protected]
Created symlink from
/etc/systemd/system/machines.target.wants/[email protected]
to /usr/lib/systemd/system/[email protected].

works fine, but when starting the service with:

systemctl start [email protected]
Job for [email protected] failed because
the control process exited with error code. See "systemctl status
[email protected]" and "journalctl -xe"
for details.

an error occurs - the status -l command:

Jan 12 21:15:22 arch-64-platon systemd[1]: Starting Container
host.cis.uni/muenchen.de...
Jan 12 21:15:22 arch-64-platon systemd-nspawn[1086]: Invalid machine
name: host.cis.uni/muenchen.de
Jan 12 21:15:22 arch-64-platon systemd[1]:
[email protected]: Main process exited,
code=exited, status=1/FAILURE
Jan 12 21:15:22 arch-64-platon systemd[1]: Failed to start Container
host.cis.uni/muenchen.de.

Why is the machine name invalid and the minus sign replaced with a slash?

/usr/bin/systemd-nspawn --quiet --boot --link-journal=try-guest
--network-veth --settings=override --machine=host.cis.uni-muenchen.de

starts my machine without any problems.

Thanks many in advance + regards,

Stefan

Btw: I'm using version 228 from the Arch Linux repository, my locale is
set to de_DE.UTF-8.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to