wiki:client/init

Version 2 (modified by Jörg Steffens, 15 years ago) ( diff )

bug and workaround in 11.1 boot scripts

Client Init Scripts

openSUSE

up until openSUSE 11.1 SysV-Init is used.

Start script in /etc/init.d/

openSUSE 11.1 NetworkManager

in openSUSE 11.1 NetworkManager is default. Before is had been NetControl with commands like ifup eth0

The ordering in somehow strange:

/etc/init.d/

  1. $localfs: boot.localfs
  2. network (parameter localfs)
  3. $remotefs: $local_fs +nfs +smbfs
  4. network-remotefs -> call network with parameter remotefs)
  5. network (parameter remotefs)

I don't see, how this can work. nfs and smbfs can not be munted, before network connection is established.

We run into problems, with our init script, that expect network connection to be established.

We rely on waitfornm (wait for NetworkManager), but this is broken, because it is started at the same time as network-remotefs. So it worked only half of the times.

Workaround

add

Should-Start: network-remotefs

to waitfornm

Note: See TracWiki for help on using the wiki.