[Bug 739315] New: LXC are completely broken on 32bit architecture
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c0 Summary: LXC are completely broken on 32bit architecture Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: fcrozat@suse.com ReportedBy: bmaryniuk@suse.com QAContact: qa@suse.de CC: bwiedemann@suse.com Found By: --- Blocker: No LXC zone cannot be created on 32bit architecture. # cat /etc/lxc/opensuse-minimal.conf lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.ipv4 = 192.168.2.12/24 # lxc-create -n ferenz -t opensuse -f /etc/lxc/opensuse-minimal.conf And here is an output: --------------------------------------------- Checking cache download in /var/cache/lxc/opensuse/rootfs-i686 ... Downloading opensuse minimal ... <<long list of packages here>> Continue? [y/n/?] (y): y Automatically agreeing with openSUSE 12.1 product license. initializing /var/cache/lxc/opensuse/partial-i686/.srcfiles.cache ... *** /var/cache/lxc/opensuse/partial-i686-packages/var/cache/zypp/packages/repo-oss/suse/i686 does not exist chroot: failed to run command `/usr/bin/zypper': No such file or directory chroot: failed to run command `/usr/bin/zypper': No such file or directory chroot: failed to run command `rpm': No such file or directory umount: /var/cache/lxc/opensuse/partial-i686/proc: not mounted ln: failed to create symbolic link `/var/cache/lxc/opensuse/partial-i686/etc/mtab': No such file or directory Failed to download the rootfs, aborting. Failed to download 'opensuse base' failed to install opensuse failed to execute template 'opensuse' Please enter one or more logical volume paths Run `lvremove --help' for more information. --------------------------------------------- This is all true: path does not exists indeed, where "arch" returns i686 while Zypper wants i586. After temporarily symlinking i686 to i586 the following error occurs: --------------------------------------------- Automatically agreeing with openSUSE 12.1 product license. initializing /var/cache/lxc/opensuse/partial-i686/.srcfiles.cache ... /usr/lib/build/createrpmdeps /var/cache/lxc/opensuse/partial-i686-packages/var/cache/zypp/packages/repo-oss/suse/i686 /usr/lib/build/createrpmdeps /var/cache/lxc/opensuse/partial-i686-packages/var/cache/zypp/packages/repo-oss/suse/noarch expanding package dependencies... expansion error nothing provides aaa_base nothing provides libc.so.6 needed by bash nothing provides libc.so.6(GLIBC_2.0) needed by bash nothing provides libc.so.6(GLIBC_2.1) needed by bash ... (lots of missing stuff) ... chroot: failed to run command `/usr/bin/zypper': No such file or directory chroot: failed to run command `/usr/bin/zypper': No such file or directory chroot: failed to run command `rpm': No such file or directory umount: /var/cache/lxc/opensuse/partial-i686/proc: not mounted ln: failed to create symbolic link `/var/cache/lxc/opensuse/partial-i686/etc/mtab': No such file or directory Failed to download the rootfs, aborting. Failed to download 'opensuse base' failed to install opensuse failed to execute template 'opensuse' Please enter one or more logical volume paths Run `lvremove --help' for more information. --------------------------------------------- -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c1 --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-01-10 17:00:19 CET --- This is an autogenerated message for OBS integration: This bug (739315) was mentioned in https://build.opensuse.org/request/show/99650 Factory / lxc -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c2 Brian Martin <novell@martinconsulting.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |novell@martinconsulting.com --- Comment #2 from Brian Martin <novell@martinconsulting.com> 2012-01-13 21:04:37 UTC --- Same problem here. I modified the script to hard-code arch as i586. The script progressed a little farther, but failed in /usr/lib/build/init_buildsystem. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c3 --- Comment #3 from Brian Martin <novell@martinconsulting.com> 2012-01-13 22:52:19 UTC --- Clarification: I was using the lxc-opensuse script. Background info: I'm running into this on a system with a dual core Intel N550 processor on OpenSUSE 12.1, with the 3.1.0.1.2-default kernel and all the latest maintenance. Please let me know if you need any further information. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c4 --- Comment #4 from Frederic Crozat <fcrozat@suse.com> 2012-01-16 08:55:22 UTC --- please test lxc package from Virtualization project. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c5 --- Comment #5 from Brian Martin <novell@martinconsulting.com> 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2012-01-18 09:00:57 UTC --- please open separate bug reports for each issue. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c7 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #7 from Frederic Crozat <fcrozat@suse.com> 2012-04-13 12:15:24 UTC --- maintenance team, is it ok to push this fix as maintenance update (+ including lxc-createconfig from bnc#723950). I'll issue maintenance request, using lxc package from Virtualization project. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c8 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|maintenance@opensuse.org | --- Comment #8 from Benjamin Brunner <bbrunner@suse.com> 2012-04-16 14:59:46 CEST --- Frederic, could you do a 'osc maintenancerequest' for openSUSE:12.1 please. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c9 --- Comment #9 from Frederic Crozat <fcrozat@suse.com> 2012-04-16 13:08:23 UTC --- I have found two other issues in the current package I'm currently fixing. I'll take care of osc maintenancerequest when they are fixed. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c10 --- Comment #10 from Frederic Crozat <fcrozat@suse.com> 2012-04-23 12:12:55 UTC --- maintenance request done : 115092 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c11 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Benjamin Brunner <bbrunner@suse.com> 2012-05-02 13:59:02 CEST --- Update released for 12.1. Resolved fixed. Feel free to reopen the bug if something is missing. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=739315 https://bugzilla.novell.com/show_bug.cgi?id=739315#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> 2012-05-02 12:09:55 UTC --- openSUSE-RU-2012:0579-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 720845,723946,723950,739315,750470 CVE References: Sources used: openSUSE 12.1 (src): lxc-0.7.5-4.5.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com