[lxc-devel] [ lxc-Bugs-3477687 ] Cannot mount if rootfs is an image
Bugs item #3477687, was opened at 2012-01-23 03:39 Message generated for change (Comment added) made by dennisbirkholz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dennis Birkholz (dennisbirkholz) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot mount if rootfs is an image Initial Comment: I use an image as my lxc rootfs. If i try to mount something via lxc.mount.entry or using a fstab-file with lxc.mount i always get the error 'ignoring mount point XXX'. I dumped rootfs->path in the mount_entry_on_absolute_rootfs-function in conf.c which is set to the name of the image and not to the value of lxc.rootfs.mount so it seems your currently can not use any mount points if your rootfs is an image file. -- >Comment By: Dennis Birkholz (dennisbirkholz) Date: 2012-01-23 03:48 Message: Just for curiosity i used the path of the image instead of the target directory in my mount points and that is working. So the statement in the man page "If the rootfs is an image file or a device block and the fstab is used to mount a point somewhere in this rootfs, the path of the rootfs mount point should be prefixed with the /usr/lib/lxc/root default path or the value of lxc.rootfs.mount if specified." is wrong. -- Comment By: Dennis Birkholz (dennisbirkholz) Date: 2012-01-23 03:42 Message: FYI: i downloaded the 0.7.5 source package and compiled it myself. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3485741 ] autogen.sh fails with automake-1.11.3
Bugs item #3485741, was opened at 2012-02-08 06:13 Message generated for change (Tracker Item Submitted) made by ahippo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3485741&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrey Mazo (ahippo) Assigned to: Nobody/Anonymous (nobody) Summary: autogen.sh fails with automake-1.11.3 Initial Comment: Running autogen.sh gives: ./autogen.sh + test -d autom4te.cache + rm -rf autom4te.cache + aclocal -I config + autoheader + autoconf + automake --add-missing --copy src/lxc/Makefile.am:98: `pkglibdir' is not a legitimate directory for `PROGRAMS' src/lxc/Makefile.am:114: variable `lxc_init_SOURCES' is defined but no program or src/lxc/Makefile.am:114: library has `lxc_init' as canonical name (possible typo) + exit 1 -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3485741&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3485741 ] autogen.sh fails with automake-1.11.3
Bugs item #3485741, was opened at 2012-02-08 06:13 Message generated for change (Comment added) made by ahippo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3485741&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrey Mazo (ahippo) Assigned to: Nobody/Anonymous (nobody) Summary: autogen.sh fails with automake-1.11.3 Initial Comment: Running autogen.sh gives: ./autogen.sh + test -d autom4te.cache + rm -rf autom4te.cache + aclocal -I config + autoheader + autoconf + automake --add-missing --copy src/lxc/Makefile.am:98: `pkglibdir' is not a legitimate directory for `PROGRAMS' src/lxc/Makefile.am:114: variable `lxc_init_SOURCES' is defined but no program or src/lxc/Makefile.am:114: library has `lxc_init' as canonical name (possible typo) + exit 1 -- Comment By: Andrey Mazo (ahippo) Date: 2012-02-10 04:38 Message: Quite strange, the attached patch applies clearly with patch -p1 and with git am. But ArchLinux patch is absolutely the same and can be applied instead. -- Comment By: Jon Nordby (jonnor) Date: 2012-02-10 04:19 Message: The patch attached here seems to be corrupted or something. Here is a working patch, used in the lxc-git package in ArchLinux. http://pastie.org/private/lgaxgq70teyl9kd35xkbhg -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3485741&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3463349 ] lxc-destroy crosses filesystem boundaries
Bugs item #3463349, was opened at 2011-12-21 04:26 Message generated for change (Comment added) made by dlezcano You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3463349&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Andrea Rota (hotzeplotz) Assigned to: Nobody/Anonymous (nobody) Summary: lxc-destroy crosses filesystem boundaries Initial Comment: if any portions of the host's filesystem are bind-mounted within an LXC container, lxc-destroy will wipe the host's contents under the mounted folders. the proposed straightforward patch below should limit lxc-destroy's action to a single filesystem. this could not be the desired effect if people mount other stuff - not bind-mount - in the container, but in my opinion it's safer to remove the least possible, especially when it comes to bind-mounts that people within a container might not even be aware of. stuff mounted from within the container might need to be treated differently, but at least for the latter information would be available in mtab) >From 85bec9f97091d333656655f5806313edb247af72 Mon Sep 17 00:00:00 2001 From: andrea rota Date: Wed, 21 Dec 2011 12:10:47 + Subject: [PATCH] limit rm to rootfs, avoiding nuking of any bind mounts from the host --- src/lxc/lxc-destroy.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lxc/lxc-destroy.in b/src/lxc/lxc-destroy.in index dda48e6..c662c1f 100644 --- a/src/lxc/lxc-destroy.in +++ b/src/lxc/lxc-destroy.in @@ -87,4 +87,4 @@ if [ -b $rootdev -o -h $rootdev ]; then fi fi # recursively remove the container to remove old container configuration -rm -rf --preserve-root $lxc_path/$lxc_name +rm -rf --one-file-system --preserve-root $lxc_path/$lxc_name -- 1.7.5.4 -- >Comment By: Daniel Lezcano (dlezcano) Date: 2012-02-15 14:11 Message: Thanks for the fix. It is in the tree. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3463349&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3477687 ] Cannot mount if rootfs is an image
Bugs item #3477687, was opened at 2012-01-23 03:39 Message generated for change (Comment added) made by dlezcano You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dennis Birkholz (dennisbirkholz) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot mount if rootfs is an image Initial Comment: I use an image as my lxc rootfs. If i try to mount something via lxc.mount.entry or using a fstab-file with lxc.mount i always get the error 'ignoring mount point XXX'. I dumped rootfs->path in the mount_entry_on_absolute_rootfs-function in conf.c which is set to the name of the image and not to the value of lxc.rootfs.mount so it seems your currently can not use any mount points if your rootfs is an image file. -- >Comment By: Daniel Lezcano (dlezcano) Date: 2012-02-15 14:10 Message: Yes, that's right. I think the man page is not up-to-date. -- Comment By: Dennis Birkholz (dennisbirkholz) Date: 2012-01-23 03:48 Message: Just for curiosity i used the path of the image instead of the target directory in my mount points and that is working. So the statement in the man page "If the rootfs is an image file or a device block and the fstab is used to mount a point somewhere in this rootfs, the path of the rootfs mount point should be prefixed with the /usr/lib/lxc/root default path or the value of lxc.rootfs.mount if specified." is wrong. -- Comment By: Dennis Birkholz (dennisbirkholz) Date: 2012-01-23 03:42 Message: FYI: i downloaded the 0.7.5 source package and compiled it myself. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3477687 ] Cannot mount if rootfs is an image
Bugs item #3477687, was opened at 2012-01-23 03:39 Message generated for change (Comment added) made by dennisbirkholz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dennis Birkholz (dennisbirkholz) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot mount if rootfs is an image Initial Comment: I use an image as my lxc rootfs. If i try to mount something via lxc.mount.entry or using a fstab-file with lxc.mount i always get the error 'ignoring mount point XXX'. I dumped rootfs->path in the mount_entry_on_absolute_rootfs-function in conf.c which is set to the name of the image and not to the value of lxc.rootfs.mount so it seems your currently can not use any mount points if your rootfs is an image file. -- >Comment By: Dennis Birkholz (dennisbirkholz) Date: 2012-01-23 03:42 Message: FYI: i downloaded the 0.7.5 source package and compiled it myself. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3477687 ] Cannot mount if rootfs is an image
Bugs item #3477687, was opened at 2012-01-23 03:39 Message generated for change (Tracker Item Submitted) made by dennisbirkholz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dennis Birkholz (dennisbirkholz) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot mount if rootfs is an image Initial Comment: I use an image as my lxc rootfs. If i try to mount something via lxc.mount.entry or using a fstab-file with lxc.mount i always get the error 'ignoring mount point XXX'. I dumped rootfs->path in the mount_entry_on_absolute_rootfs-function in conf.c which is set to the name of the image and not to the value of lxc.rootfs.mount so it seems your currently can not use any mount points if your rootfs is an image file. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3477687&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3483542 ] Physical WIFI NIC gets renamed on container start
Bugs item #3483542, was opened at 2012-02-02 22:24 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483542&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: netns Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://me.yahoo.com/a/wZWnCDI8 () Assigned to: Nobody/Anonymous (nobody) Summary: Physical WIFI NIC gets renamed on container start Initial Comment: Having a config like so lxc.network.type = phys lxc.network.link = wlan0 lxc.network.name = wifi0 will cause the link on the host to be renamed upon container start. When then container is stopped, the link will not be renamed to its original name. Doing so using ip link set wifi0 name wlan0 and then trying to ifup wlan0 again, will no longer work on the host, the interface seems to be disfunct. AFAIK, only a reboot helps to get the card working again. I do not know whether this is also true for non wireless adapters (this one is a an external usb card using a realtek 8191 chipset). -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483542&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3483542 ] Physical WIFI NIC gets renamed on container start
Bugs item #3483542, was opened at 2012-02-02 22:24 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483542&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: netns Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: https://me.yahoo.com/a/wZWnCDI8 () Assigned to: Nobody/Anonymous (nobody) Summary: Physical WIFI NIC gets renamed on container start Initial Comment: Having a config like so lxc.network.type = phys lxc.network.link = wlan0 lxc.network.name = wifi0 will cause the link on the host to be renamed upon container start. When then container is stopped, the link will not be renamed to its original name. Doing so using ip link set wifi0 name wlan0 and then trying to ifup wlan0 again, will no longer work on the host, the interface seems to be disfunct. AFAIK, only a reboot helps to get the card working again. I do not know whether this is also true for non wireless adapters (this one is a an external usb card using a realtek 8191 chipset). -- >Comment By: https://me.yahoo.com/a/wZWnCDI8 () Date: 2012-02-03 12:58 Message: Duplicate of #3198796. Will close as duplicate. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483542&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3485741 ] autogen.sh fails with automake-1.11.3
Bugs item #3485741, was opened at 2012-02-08 06:13 Message generated for change (Comment added) made by jonnor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3485741&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrey Mazo (ahippo) Assigned to: Nobody/Anonymous (nobody) Summary: autogen.sh fails with automake-1.11.3 Initial Comment: Running autogen.sh gives: ./autogen.sh + test -d autom4te.cache + rm -rf autom4te.cache + aclocal -I config + autoheader + autoconf + automake --add-missing --copy src/lxc/Makefile.am:98: `pkglibdir' is not a legitimate directory for `PROGRAMS' src/lxc/Makefile.am:114: variable `lxc_init_SOURCES' is defined but no program or src/lxc/Makefile.am:114: library has `lxc_init' as canonical name (possible typo) + exit 1 -- Comment By: Jon Nordby (jonnor) Date: 2012-02-10 04:19 Message: The patch attached here seems to be corrupted or something. Here is a working patch, used in the lxc-git package in ArchLinux. http://pastie.org/private/lgaxgq70teyl9kd35xkbhg -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3485741&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [ lxc-Bugs-3483548 ] Unable to connect via external USB wireless adapter
Bugs item #3483548, was opened at 2012-02-02 22:38 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483548&group_id=163076 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://me.yahoo.com/a/wZWnCDI8 () Assigned to: Nobody/Anonymous (nobody) Summary: Unable to connect via external USB wireless adapter Initial Comment: Having a config like so lxc.network.type = phys lxc.network.flags = up lxc.network.link = wlan0 lxc.network.name = wlan0 and, on the guest side a properly configured wpa_supplicant.conf and in /etc/network/interfaces a configuration like so auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf And then, upon networking start in the guest, the system will try to contact the DHCP server, but it will never receive any leases. In fact, the wlan0 interface seems to be disfunct. The interface itself was down when starting the guest. The same happens when the interface was already brought up on the host. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483548&group_id=163076 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel