[Samba] Strange logs from smbd
slow at samba.org
Thu Apr 1 13:58:38 UTC 2021
Am 4/1/21 um 1:11 PM schrieb Roy Eastwood via samba:
> I have a member server running in a LXD privileged container using a
> btrfs storage pool for the container. I have been getting logs in
> the form:
> Apr 1 10:09:35 lxd-m1 smbd: btrfs_fget_compression: /proc
> open of /proc/self/fd/50 failed: Permission denied
> Is this an artefact of running samba in a container and can these be
> ignored or is it a problem I should be worried about? Any advice
> will be appreciated.
this is definitely something to worry about. I assume this is happening
with Samba 4.14? That uses a new internal infrastructure code that makes
use of re-opening fds via /proc/self/fd.
I've just checked and I don't see a problem inside a privileged podmain
container on kernel 5.10.22-200.fc33.x86_64 (latest Fedora).
We have a function that checks if /proc/self/fd is usable. That does a
stat() as basic usability check, looks like we also have to check that
readlink (or just open) works.
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 840 bytes
Desc: OpenPGP digital signature
More information about the samba