[Bug 832337] New: kiwi: config.sh not executed if lxc in packages list
https://bugzilla.novell.com/show_bug.cgi?id=832337 https://bugzilla.novell.com/show_bug.cgi?id=832337#c0 Summary: kiwi: config.sh not executed if lxc in packages list Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Yarny@public-files.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=550270) --> (http://bugzilla.novell.com/attachment.cgi?id=550270) archive with kiwi logfile and description to reproduce User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 If a kiwi image root contains the package lxc, the script config.sh is not executed. Reproducible: Always Steps to Reproduce: Mount a yast repository with all needed packages (pattern:base, lxc) in /mnt/suse/suse, then extract the attached tar archive and call $ kiwi -p kiwilxcbug --root /tmp/kiwilxcbug.root The file config.sh is supposed to create the file config.sh.tag in the image root. Actual Results: There is no file config.sh.tag in the image root. Expected Results: If you remove lxc from config.xml and call kiwi again, it will create config.sh.tag as expected. The attached tar file also contains a logfile from kiwi. This bug didn't always exist in openSUSE 12.3. I still have a kiwi image around which has been built on June 23th where lxc is installed and config.sh obviously got executed. The machine which produced this image hadn't been updated for 1 or 2 months at that time, so the bug probably got introduced somewhen after March. -- 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=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c1
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c2
Yarny Yarny
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c3
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c4
--- Comment #4 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c5
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c6
--- Comment #6 from Yarny Yarny
To summarize, lxc-execute is for running an application and lxc-start is for running a system. I modified your patch to use lxc-execute instead of lxc-start, and will attach it in the next comment. It also works with and without lxc.
-- P.S. I just received the bugzilla mail about your latest comment. I'll post this one anyway. -- 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=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c7
--- Comment #7 from Yarny Yarny
participants (1)
-
bugzilla_noreply@novell.com