Mailinglist Archive: opensuse-bugs (4203 mails)

< Previous Next >
[Bug 739338] Network.service entered failed state because of syntax error

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

https://bugzilla.novell.com/show_bug.cgi?id=739338#c4


Marcus Husar <marcus.husar@xxxxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |marcus.husar@xxxxxxxxxxxxxx

--- Comment #4 from Marcus Husar <marcus.husar@xxxxxxxxxxxxxx> 2012-01-04
14:20:30 UTC ---
I found the source of the problem.

/etc/init.d/network and /etc/init.d/network-remote are started by systemd which
uses /bin/sh (not /bin/bash!). But the scripts sourced by those LSB scripts
have some bash only syntax.

Possible solutions:
* Rewrite the scripts in /etc/sysconfig/network/scripts/ to /bin/sh
* Allow systemd to use bash

Just source some scripts in this directory, e.g. functions, ifstatus-route,
ifup-route,… out of /bin/sh. There are exactly the same syntax errors as in
systemd. So systemd just runs /bin/sh.

I bet these syntax errors are causing this bug #739345, too.

Thanks for your help.

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