Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20205 Details for
Bug 31840
dhcp-3.0_p2-r2: Can't create new lease file: Permission denied
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Mail to dhcp-hackers@isc.org
dhcp-hackers-mail (text/plain), 1.02 KB, created by
Thomas Preissler
on 2003-11-03 15:35:28 UTC
(
hide
)
Description:
Mail to dhcp-hackers@isc.org
Filename:
MIME Type:
Creator:
Thomas Preissler
Created:
2003-11-03 15:35:28 UTC
Size:
1.02 KB
patch
obsolete
>Hello folks, > >I just figured out a problem with ISC DHCPD V3.0pl2. > >I use "-user dhcp -group dhcp" on my actual Gentoo. >DHCPD starts, but when it wants to write the lease file, I get > > Nov 3 22:29:42 [dhcpd] Can't create new lease file: Permission denied > >/var/lib/dhcp/dhcpd.leases is of course dhcp:dhcp. After DHCPD >starts up, that file shows up as root:root. > >I did > > strace -f /usr/sbin/dhcpd -user dhcp -group dhcp eth0,br0 2>&1 | less > >shows me: > >... >fsync(5) = 0 >unlink("/var/lib/dhcp/dhcpd.leases~") = 0 >link("/var/lib/dhcp/dhcpd.leases", "/var/lib/dhcp/dhcpd.leases~") = 0 >rename("/var/lib/dhcp/dhcpd.leases.1067901142", "/var/lib/dhcp/dhcpd.leases") = 0 >socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 6 >ioctl(6, 0x8912, 0xbfffe998) = 0 >ioctl(6, 0x8912, 0xbfffe998) = 0 >... > >Sorry, but could it be, that the renaming of the file lets the permissions >untouched, i.e. root:root, and not dhcp:dhcp, as passed as >parameters? > >Just ask for any further information... > > >Greets, >Tom
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 31840
: 20205 |
20206
|
20276
|
20916