You have been subscribed to a public bug by Marc Deslauriers (mdeslaur):
dhcpd tells it is running als user:dhcpd, group:dhcpd, but it can't open
files for reading owned by group dhcpd:
/etc/named:
-rw-r----- 1 bind bind 77 2011-01-04 10:49 rndc.key
In /etc/groups:
bind:x:108:dhcpd
Thus dhcpd is part of group bind and allowed to read the file.
For sure apparmor doesn't disallow reading --- in
/etc/apparmor.d/usr.sbin/dhcpd3:
/etc/named/rndc.key r,
Now starting dhcpd3:
dhcpd: Can't open /etc/named/rndc.key: Permission denied
As soon as I allow all others to read rndc.key (isn't a good idea) dhcpd can
read the file. Looks a lot like bind not running under group dhcpd at this
point in time. But what is it running under then???
It is at least bad behavior not telling it!
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: dhcp3-server 3.1.3-2ubuntu6
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic-pae 2.6.35.8
Uname: Linux 2.6.35-24-generic-pae i686
Architecture: i386
Date: Wed Jan 5 11:17:24 2011
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release i386
(20101007)
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: dhcp3
** Affects: dhcp3 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 maverick
--
dhcpd tells it is running as user/group dhcpd/dhcpd, but can't open files
https://bugs.launchpad.net/bugs/697588
You received this bug notification because you are a member of Ubuntu Bugs,
which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs