On 02 December 2021 18:17 Patrick Goetz wrote:> This looks like a btrfs issue -- what makes you think it's a samba issue?Because smbd is reporting the log, so it's probably in the vfs_btrfs module, which is part of the samba suite.> On 12/2/21 04:44, spindles seven via samba wrote: > > On 01 April 2021 16:17 Roy Eastwood wrote:> Sent: > >> On 01 April 2021 16:07 Ralph Boehme wrote: > >>> Am 4/1/21 um 4:59 PM schrieb Roy Eastwood: > >>>> cap_sys_ptrace is enabled on the container. > >>> > >>> hm. Which kernel? > >>> > >>> -slow > >> > >> It's Debian Buster: uname -a produces: > >> Linux lxd-m1 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux > > > > I am still getting these syslog messages now I've updated to Debian Bullseye and Samba 4.15.2: > > Dec 2 10:25:17 lxd-m1 smbd[400484]: [2021/12/02 10:25:17.147456, 0] > ../../source3/modules/vfs_btrfs.c:493(btrfs_fget_compression) > > Dec 2 10:25:17 lxd-m1 smbd[400484]: btrfs_fget_compression: /proc open of /proc/self/fd/15 failed: Permission denied > > > > root at lxd-m1:~# uname -a > > Linux lxd-m1 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux > > root at lxd-m1:~# samba -V > > Version 4.15.2-Debian > > > > Any advice please? > > > > Thanks, > > Roy > > > > > > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On Thu, 2021-12-02 at 22:01 +0000, spindles seven via samba wrote:> On 02 December 2021 18:17 Patrick Goetz wrote: > > This looks like a btrfs issue -- what makes you think it's a samba > > issue? > > Because smbd is reporting the log, so it's probably in the vfs_btrfs > module, which is part of the samba suite.It might be smbd that is reporting the error, but it is coming from this block of code: fd = open(p, O_RDONLY); if (fd == -1) { DBG_ERR("/proc open of %s failed: %s\n", p, strerror(errno)); return map_nt_error_from_unix(errno); } It looks to myself that Samba is trying to open a file, but the permissions on that file do not allow it. Rowland