[Bug 868253] New: DHCP leaases are not entered in the dhcpd.leases file
https://bugzilla.novell.com/show_bug.cgi?id=868253 https://bugzilla.novell.com/show_bug.cgi?id=868253#c0 Summary: DHCP leaases are not entered in the dhcpd.leases file Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bernet@physik.uzh.ch QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Hi there, DHCP leases are not entered in the dhcpd.leases file after the first rewrite of the dhcpd.leases file. On my machine the dhcpd.leases file is rewritten every hour. The leases are written to dhcpd.leases until it tries to rewrite the file. dhcpd.leases~ is deleted, but then something fails. dhcpd.leases is not moved to dhcpd.leases~ but also not populated anymore. lsof of the dhcpd process shows the /var/lib/dhcp/db/dhcpd.leases has been deleted ... dhcpd 26423 dhcpd 6u REG 8,6 38254 784945 /var/lib/dhcp/db/dhcpd.leases.xxxxx (deleted) dhcp version 4.2.5.P1-0.6.5.1 Reproducible: Always Steps to Reproduce: 1. wait until the file /var/lib/dhcp/db/dhcpd.leases get rewritten 2. no new leases are added to file /var/lib/dhcp/db/dhcpd.leases and the /var/lib/dhcp/db/dhcpd.leases~ file has been removed Actual Results: no new leases are added to file /var/lib/dhcp/db/dhcpd.leases and the /var/lib/dhcp/db/dhcpd.leases~ file has been removed Expected Results: /var/lib/dhcp/db/dhcpd.leases should be copied to /var/lib/dhcp/db/dhcpd.leases~ and new leases should be added to /var/lib/dhcp/db/dhcpd.leases It's not an apparmor problem. I see the same behaviour with apparmor stopped. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c
zhang jiajun
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c1
--- Comment #1 from Roland Bernet
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c2
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c4
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c5
Roland Bernet
This needed a fix inside of the daemon to chown the leasedb before it changes to the run user.
A fixed package (using a fixed dir) should appear soon at:
http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/ope...
Just a short note to confirm that the new package in the download link above fixes the problem. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c6
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c9
--- Comment #9 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c10
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c11
--- Comment #11 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=868253
https://bugzilla.novell.com/show_bug.cgi?id=868253#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com