[Bug 1708445] Re: dockerd umask inside lxd container

2017-08-04 Thread Dylan Bridgman
Additional note: This does not affect docker when using the overlayfs storage driver. I am using the vfs storage driver because I am using ZFS which is not supported by overlayfs. If one is using ext4 (or another overlayfs supported filesystem) then this can also be fixed by doing the following:

[Bug 1708445] Re: dockerd umask inside lxd container

2017-08-04 Thread Dylan Bridgman
A workaround may be used to temporarily fix the problem (following on from the replication instructions above): [LXD container] ## Install gdb # apt install gdb -y ## Find docker pid # cat /run/docker.pid 2624 ## Attach gdb and set umask to 022 # gdb --pid 2624 ... (attach process) (gdb) call/o

[Bug 1708445] Re: dockerd umask inside lxd container

2017-08-04 Thread Dylan Bridgman
Please ignore these two lines, just running "docker run" is required: -# docker create ubuntu -56a163f835da8a3b6b37d86b8ee1ab16e3b413efe9a57b22f8f0e6b919d43c30 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1708445] Re: dockerd umask inside lxd container

2017-08-04 Thread Dylan Bridgman
Step-by-step on how to replicate: [Host machine] ## Install latest backports lxd $ sudo apt install lxd/xenial-backports lxd-client/xenial-backports ... ## Initialise lxd default storage pool $ sudo lxd init Do you want to configure a new storage pool (yes/no) [default=yes]? yes Name of the new