[pkg-lxc-devel] Bug#770684: lxc-start creates /dev with wrong permissions if invoked with restrictive umask

Ivan Vilata i Balaguer ivan at selidor.net
Sun Apr 10 16:22:13 UTC 2016


Evgeni Golov (2016-03-26 11:21:00 +0100) wrote:

> control: tags -1 + moreinfo
> 
> On Wed, Jul 22, 2015 at 01:33:22PM +0200, Ivan Vilata i Balaguer wrote:
> > I can confirm that this still happens with version ``1:1.0.7-3``, only with
> > containers with ``lxc.autodev=1`` where ``/dev`` is a temporary file system
> > for ``udev``.  Otherwise the permission of the physical directory is kept.
> 
> Can you retry with 1:1.1.5-1 as in Stretch and Sid please?
> I cannot reproduce the issue there anymore.

Neither can I, with 1:1.1.5-1 and the configuration I indicated above,
``/dev`` gets mode 0755 and things work ok now when creating the
container with umask 0027.

Thanks,

-- 
Ivan Vilata i Balaguer -- https://elvil.net/



More information about the Pkg-lxc-devel mailing list