Mailinglist Archive: opensuse-bugs (6764 mails)

< Previous Next >
[Bug 722304] set NM_ONLINE_TIMEOUT=0 by defaulit

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

https://bugzilla.novell.com/show_bug.cgi?id=722304#c19


Raymond Wooninck <rwooninck@xxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |rwooninck@xxxxxxxxxxxx
Resolution|FIXED |

--- Comment #19 from Raymond Wooninck <rwooninck@xxxxxxxxxxxx> 2011-11-16
05:48:44 UTC ---
Setting the NM_ONLINE_TIMEOUT=0 introduces another issue with systemd.

In the sysvinit script network, it is checked if this timeout is 0. If so, then
the check to see if a connection exists (through calling nm-online) is omitted.

In systemd however this particular validation is not done and nm-online is
called with the set timeout in the systemd service file
/lib/systemd/system/NetworkManager-wait-online.service. This has now as a
result that if NM is not connected the system hangs in it's boot process. On my
system I have noticed that in this case the default service timeout of systemd
is not kicking in and that the system is really hanging forever (I waited 15
minutes before doing a hard reset). I also received the confirmation from a
friend that he had exactly the same issue.

Checking directly the tool nm-online (by calling it with nm-online --timeout=0)
shows that the parameter --timeout=0 is interpreted as "do not use any timeout
and wait until there is a connection). This can be tested by issuing the
command "nm-online --timeout=0" in a konsole while there is no network
connection.

I discussed this initially with Stephan Kulow and we both believe that systemd
should be adjusted to have the same validation for the zero timeout as the
sysvinit script.

Based on a discussion with Frederic, I have reopened this bug.

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