[libvirt] [PATCH v3]LXC: Helper function for checking permission of dir when userns enabled

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Wed Oct 16 00:53:53 UTC 2013



> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange at redhat.com]
> Sent: Tuesday, October 15, 2013 7:07 PM
> To: Chen Hanxiao
> Cc: libvir-list at redhat.com
> Subject: Re: [libvirt] [PATCH v3]LXC: Helper function for checking permission of
> dir when userns enabled
> 
> On Tue, Oct 15, 2013 at 06:41:28PM +0800, Chen Hanxiao wrote:
> > ping...
> >
> > > -----Original Message-----
> > > From: libvir-list-bounces at redhat.com
> > [mailto:libvir-list-bounces at redhat.com]
> > > On Behalf Of Chen Hanxiao
> > > Sent: Wednesday, October 09, 2013 6:03 PM
> > > >                                   _("Kernel doesn't support user
> > > > namespace"));
> > > > --
> > > > 1.8.2.1
> 
> This patch is basically about improving the error message from
> LXC when permissions are inadequate. Over the past week  I've
> pushed a large number of patches to fix LXC error reporting
> during startup. As such, I'm not sure that we still need to
> have this patch - can you try latest GIT master and show what
> error message you get with existing code.
> 
> I'd really rather avoid checking permissions ourselves, if we
> have got error reporting at time of use working properly
> 

I'll get the latest upstream code and see whether we still need
this patch according to the error reporting.

Thanks!

> Daniel
> --







More information about the libvir-list mailing list