Re: unaccessible directory in lxcContainerResolveSymlinks

2021-06-23 Thread Priyanka Gupta
Hi, If I try to add only /flash (without dir subdirerctory) into the XML, it works fine for me. Does it matter what sort of permissions(user/grp) /flash/dir has? Thanks Priyanka On Wed, Jun 23, 2021 at 2:46 PM Michal Prívozník wrote: > On 6/23/21 11:08 AM, Priyanka Gupta wrote: > > Hi Michal,

Re: unaccessible directory in lxcContainerResolveSymlinks

2021-06-23 Thread Michal Prívozník
On 6/23/21 11:28 AM, Priyanka Gupta wrote: > Hi, > > If I try to add only /flash (without dir subdirerctory) into the XML, it > works fine for me. > Does it matter what sort of permissions(user/grp) /flash/dir has? A-ha! It can happen that root can't access some directories even though a regular

Re: unaccessible directory in lxcContainerResolveSymlinks

2021-06-23 Thread Michal Prívozník
On 6/23/21 11:08 AM, Priyanka Gupta wrote: > Hi Michal, > > This is how snippets from my XML looks like. Full XML at the end of the > mail..  >     /usr/sbin/libvirt_lxc >     >       >       >     >     >       >       >     > > The issue I am facing is, my container doesnt start. Fails

Re: unaccessible directory in lxcContainerResolveSymlinks

2021-06-23 Thread Priyanka Gupta
Hi Michal, This is how snippets from my XML looks like. Full XML at the end of the mail.. /usr/sbin/libvirt_lxc The issue I am facing is, my container doesnt start. Fails at mounting this /flash/dir with below message. 2021-06-09 06:52:55.548+

Re: unaccessible directory in lxcContainerResolveSymlinks

2021-06-23 Thread Michal Prívozník
On 6/22/21 6:17 PM, Priyanka Gupta wrote: > Hi, > > Could someone pls let me know when this condition could possibly arise? > lxcContainerResolveSymlinks:621 : Skipped unaccessible '/flash/dir' > > The code seems to call access('/flash/dir', F_OK) which shall only check > for existence of this di