wiki:client/init

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

SmartClint Init-Script

The first SmartClient Init script that requires network connectivity is sc_mkwsconfig

All other SmartClient Init scripts should include the line:

Should-Start: sc_mkwsconfig

By using this mechanismus, we only have to adapt sc_mkwsconfig in following versions.

Last modified 14 years ago Last modified on Nov 18, 2009, 11:33:19 AM
Note: See TracWiki for help on using the wiki.