https://bugzilla.novell.com/show_bug.cgi?id=832337
https://bugzilla.novell.com/show_bug.cgi?id=832337#c6
--- Comment #6 from Yarny Yarny 2013-08-15 13:19:16 UTC ---
Created an attachment (id=552744)
--> (http://bugzilla.novell.com/attachment.cgi?id=552744)
Modifed patch for lxc-start
Here is a slightly modified version of your patch. I had to change two lines
in your patch: There was a "!" missing which inverted the decision lxc/chroot,
and it appears that lxc expects a path relative to the container root. For the
record: I tested with the minimal example from Comment #0 on current openSUSE
12.3.
With these changes, it works independently of the existence of lxc either on
the host or in the image.
I skimmed http://lxc.sourceforge.net/man/lxc.html and I'm not sure if
lxc-start or lxc-execute is the appropriate tool to call executables. Quote:
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.