https://bugzilla.novell.com/show_bug.cgi?id=732910
https://bugzilla.novell.com/show_bug.cgi?id=732910#c21
--- Comment #21 from Neil Rickert 2011-12-20 00:30:17 UTC ---
Here's an interesting data point.
I have had a dhcp lease renewal after setting
DHCLIENT_DEBUG="yes"
and that went fine. The dhclient-script file was not corrupted.
The first conclusion - turning on DHCLIENT_DEBUG is a workaround for this
problem.
Second observation - the first line logged in the debug log
/var/log/dhclient-script.eth0.log
is the line "redirecting to systemctl"
The way the debugging works, is that it redirects stderr to the log file.
This tells me that stderr is redirected to "/sbin/dhclient-script" before
"dhclient-script" is called. I checked the script, and I could not find any
redirection occuring in that script itself before the debug action. So turning
on debug protects the script by redirecting stderr to somewhere that won't
cause the file to be corrupted.
I still have not found what invokes "dhclient-script". Perhaps "dhclient"
itself does that, in which case somebody needs to check the source code for
dhclient.
--
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.