[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945888: marked as done (The nscd daemon use a wrong path to open cache files)



Your message dated Fri, 9 Sep 2022 23:27:03 +0200
with message-id <Yxuvp2KsmMC4I2+q@aurel32.net>
and subject line Re: Bug#945888: The nscd daemon use a wrong path to open cache files
has caused the Debian Bug report #945888,
regarding The nscd daemon use a wrong path to open cache files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
945888: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945888
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nscd
Version: 2.28-10

When using AppArmor and ldap for users database, and nscd on Debian, a
lot of errors are visible in the AppArmor logs, when any program
queries nscd.

The nscd daemon tries to open files in "var/cache/nscd/..." instead of
"/var/cache/nscd/...". Note the missing slash character at the
beginning. AppArmor complains about the file access denied, but the
error is really a missing '/' character in the path of the cache files.

This happens both on Stretch and Buster.

I cannot use reportbug script anymore, I have removed the package.

Thanks.

--- End Message ---
--- Begin Message ---
Hi,

On 2021-09-04 21:57, Aurelien Jarno wrote:
> On 2020-02-08 17:57, Aurelien Jarno wrote:
> > On 2019-11-30 16:00, André Rodier wrote:
> > > Package: nscd
> > > Version: 2.28-10
> > > 
> > > When using AppArmor and ldap for users database, and nscd on Debian, a
> > > lot of errors are visible in the AppArmor logs, when any program
> > > queries nscd.
> > > 
> > > The nscd daemon tries to open files in "var/cache/nscd/..." instead of
> > > "/var/cache/nscd/...". Note the missing slash character at the
> > > beginning. AppArmor complains about the file access denied, but the
> > > error is really a missing '/' character in the path of the cache files.
> > 
> > What makes you believe that? I have just tried with strace, and I see
> > the correct path with the leading '/':
> > 
> > openat(AT_FDCWD, "/var/cache/nscd/passwd", O_RDWR|O_CLOEXEC) = 4
> > openat(AT_FDCWD, "/var/cache/nscd/passwd", O_RDONLY|O_CLOEXEC) = 5
> > openat(AT_FDCWD, "/var/cache/nscd/group", O_RDWR|O_CLOEXEC) = 6
> > openat(AT_FDCWD, "/var/cache/nscd/group", O_RDONLY|O_CLOEXEC) = 7
> > openat(AT_FDCWD, "/var/cache/nscd/hosts", O_RDWR|O_CLOEXEC) = 8
> > openat(AT_FDCWD, "/var/cache/nscd/hosts", O_RDONLY|O_CLOEXEC) = 9
> > openat(AT_FDCWD, "/var/cache/nscd/services", O_RDWR|O_CLOEXEC) = 10
> > openat(AT_FDCWD, "/var/cache/nscd/services", O_RDONLY|O_CLOEXEC) = 11
> > openat(AT_FDCWD, "/var/cache/nscd/netgroup", O_RDWR|O_CLOEXEC) = 12
> > openat(AT_FDCWD, "/var/cache/nscd/netgroup", O_RDONLY|O_CLOEXEC) = 13
> 
> Any news about that?
> 

No answer from the submitter, closing the bug. Please fill free to
reopen it if it is reproducible.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: