Re: [lxc-devel] [PATCH 1/1] fix lxc.mount.auto clearing

2014-10-10 Thread Dwight Engen
On Thu, 9 Oct 2014 22:50:46 + Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Thu, 9 Oct 2014 16:01:15 + > > Serge Hallyn wrote: > > > > > the way config_mount was structured, sending 'lxc.mount.auto = ' > > > ended up actually clearing all lxc.mount.entrys.

Re: [lxc-devel] [PATCH 1/1] fix lxc.mount.auto clearing

2014-10-09 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Thu, 9 Oct 2014 16:01:15 + > Serge Hallyn wrote: > > > the way config_mount was structured, sending 'lxc.mount.auto = ' > > ended up actually clearing all lxc.mount.entrys. Fix that by > > moving the check for an empty value to after the s

Re: [lxc-devel] [PATCH 1/1] fix lxc.mount.auto clearing

2014-10-09 Thread Dwight Engen
On Thu, 9 Oct 2014 16:01:15 + Serge Hallyn wrote: > the way config_mount was structured, sending 'lxc.mount.auto = ' > ended up actually clearing all lxc.mount.entrys. Fix that by > moving the check for an empty value to after the subkey checks. > Then, actually do the clearing of auto_mount

[lxc-devel] [PATCH 1/1] fix lxc.mount.auto clearing

2014-10-09 Thread Serge Hallyn
the way config_mount was structured, sending 'lxc.mount.auto = ' ended up actually clearing all lxc.mount.entrys. Fix that by moving the check for an empty value to after the subkey checks. Then, actually do the clearing of auto_mounts in config_mount_auto. The 'strlen(subkey)' check being remove