[Samba] Strange logs from smbd
slow at samba.org
Thu Apr 1 14:01:22 UTC 2021
Am 4/1/21 um 3:58 PM schrieb Ralph Boehme:
> 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).
fwiw, it seems the SYS_PTRACE cap is needed.
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