Dear all,
while setting up a container on x86_64 (archlinux host/guest) I had trouble
with mounting dev/pts and others from container.fstab and a ssh login does not
work (only ssh container bash -i gives you a shell)
The cause is that conf.c does not initialize mntflags.
Best regards Joerg
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -880,7 +880,8 @@ static int parse_mntopts(const char *mntopts, unsigned
long *mntflags,
char *s, *data;
char *p, *saveptr = NULL;
- *mntdata = NULL;
+ *mntdata = NULL;
+ *mntflags = 0UL;
if (!mntopts)
return 0;
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Lxc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel