Re: [lxc-devel] [PATCH] setup_mount_entries: ignore mount failure if 'optional'

2013-01-28 Thread Stéphane Graber
On 01/28/2013 05:57 PM, Serge Hallyn wrote: > > If 'optional' is in the mount options, then avoid failure in > mount(). > > Experiments suggest we could just do this checking data at > mount_entry(), but that feels less proper than using > hasmntopt() against the mntent. Now, that's the kind of

[lxc-devel] [PATCH] setup_mount_entries: ignore mount failure if 'optional'

2013-01-28 Thread Serge Hallyn
If 'optional' is in the mount options, then avoid failure in mount(). Experiments suggest we could just do this checking data at mount_entry(), but that feels less proper than using hasmntopt() against the mntent. Signed-off-by: Serge Hallyn --- src/lxc/conf.c | 9 + 1 file changed, 9