Mailinglist Archive: opensuse-bugs (4238 mails)

< Previous Next >
[Bug 732910] dhclient does not work with "ifup"

https://bugzilla.novell.com/show_bug.cgi?id=732910

https://bugzilla.novell.com/show_bug.cgi?id=732910#c30


--- Comment #30 from Phil Bertin <philippe.bertin@xxxxxxxxxx> 2011-12-22
12:46:08 UTC ---
I think I found the error. And it's not in dhclient itself, but in
dhclient-script. This can explain why using NetworkManager (i.e. using some
other script) doesn't show this behaviour, and using the "traditional" method
using dhclient-script does. It also explains why the DEBUG workaround works...

If one looks into line 37 of dhclient-script, there's the check

if [ "$DEBUG" = yes ]; then

In that check, right before the fi, I inserted

else
exec 2>>/tmp/test

Guess what : the file showed the "redirecting to systemctl" message. And
moreover, the dhclient-script file remained untouched. So one could just as
well set there
exec 2>>/dev/null
If now someone can confirm the fix works for him, I think the fix is found :)

Ph B

--
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.

< Previous Next >