https://bugzilla.novell.com/show_bug.cgi?id=739315
https://bugzilla.novell.com/show_bug.cgi?id=739315#c5
--- Comment #5 from Brian Martin 2012-01-17 17:53:13 UTC ---
I uninstalled the 12.1 lxc package, added the
"http://download.opensuse.org/repositories/Virtualization/openSUSE_12.1" with a
higher priority (smaller number), and installed the lxc package again. This
upgraded the package to 0.7.5-59.1.
I then executed "/usr/lib/lxc/templates/lxc-opensuse -p /lxc/mail". This
produced a number of worrying messages (see console output at the end of this
comment), but I was able to start the container successfully using "lxc-start
-f /lxc/mail/config -n cmail".
I made the following observations:
1) The lxc-opensuse script assumes the container path ("/lxc/mail" above)
already exists. If the path does not exist, it fails gracelessly. It would be
better if it checked the path early in the process and either created a missing
directory path or issued an error and exited.
2) The config file created by lxc-opensuse appears to grant write access to the
real time clock and various /dev/random an /dev/urandom devices. Perhaps these
should be read-only.
My console log for the lxc-opensuse follows:
---
# /usr/lib/lxc/templates/lxc-opensuse -p /lxc/mail
Checking cache download in /var/cache/lxc/opensuse/rootfs-i686 ...
Copy /var/cache/lxc/opensuse/rootfs-i686 to /lxc/mail/rootfs ...
Copying rootfs to /lxc/mail/rootfs ...insserv: Note: sysvinit service boot.udev
is shadowed by systemd udev.service,
Forwarding request to '/bin/systemctl disable udev.service'.
insserv: Note: sysvinit service boot.loadmodules is shadowed by systemd
loadmodules.service,
Forwarding request to '/bin/systemctl disable loadmodules.service'.
Operation failed: No such file or directory
insserv: Forward service request to systemctl returned error status : 256
insserv: Note: sysvinit service boot.device-mapper is shadowed by systemd
device-mapper.service,
Forwarding request to '/bin/systemctl disable device-mapper.service'.
Operation failed: No such file or directory
insserv: Forward service request to systemctl returned error status : 256
insserv: Note: sysvinit service boot.clock is shadowed by systemd
clock.service,
Forwarding request to '/bin/systemctl disable clock.service'.
Operation failed: No such file or directory
insserv: Forward service request to systemctl returned error status : 256
insserv: Note: sysvinit service boot.swap is shadowed by systemd swap.service,
Forwarding request to '/bin/systemctl disable swap.service'.
Operation failed: No such file or directory
insserv: Forward service request to systemctl returned error status : 256
insserv: Note: sysvinit service boot.klog is shadowed by systemd klog.service,
Forwarding request to '/bin/systemctl disable klog.service'.
insserv: Forward service request to systemctl returned error status : 256
insserv: Note: sysvinit service kbd is shadowed by systemd kbd.service,
Forwarding request to '/bin/systemctl disable kbd.service'.
Operation failed: No such file or directory
insserv: Forward service request to systemctl returned error status : 256
Please change root-password !
#
---
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.