Closed bitranox closed 4 years ago
This isn't a LXD bug as you're not actually interacting with anything LXD controlled here.
This is a kernel bug, quite possibly in shiftfs
or in cifs
or some interaction of the two.
@brauner should be able to investigate this and sort it out.
@stgraber stefan, did You pass it to @brauner, or where should i post it ?
I pinged @brauner, I expect him to respond here. Because we close an issue doesn't mean we don't keep looking at it or track it somewhere else.
I suspect @brauner will want you to file an Ubuntu kernel bug for this at https://launchpad.net/ubuntu/+source/linux/+filebug as that's where development of the shiftfs patchset happens currently.
@stgraber thanks Stefane, so I wait for @brauner 's requests .... thanks a lot ! Robert, Vienna
I'm looking at this.
The output of "lxc info" :
Kernel version: 5.3.0-24
LXC version: client and server 3.18
LXD version: 3.18
Storage backend in use: SSD, ext4
Issue description
copy fails to chown files on cifs mounted volumes, bind mounted into the container, on the normal container filesystem, no problem. The file gets actually created, but errors on chown'ing them !
without shiftfs, unprivileged : works, but seldom problems as mentioned below without shiftfs, privileged : works, now testing, cannot say if there are problems, they occur very seldom with shiftfs, privileged : works, but seldom problems as mentioned below with shiftfs, unprivileged : errors as decribed below
Steps to reproduce
on the host :
Information to attach
[ ] Any relevant kernel output (
dmesg
) no errors on container and host[ ] Container log (
lxc info NAME --show-log
)[ ] Container configuration (
lxc config show NAME --expanded
)[ ] Main daemon log no errors
[ ] Output of the client with --debug no errors
[ ] Output of the daemon with --debug (alternatively output of
lxc monitor
while reproducing the issue) no errors