[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems



Package: debian-edu-config
Version: 1.454~svn77318
Severity: normal

Hi all,

on some occasions (30-60% of the system reboots) the startup of autofs fails. This is due to a race condition between network-manager bringing up eth0 (in most cases) and the need of autofs to access LDAP for listing up the automountable shares.

This script fixes the issue, it can be placed on any Debian Edu machine:

$ cat /etc/network/if-up.d/autofs
#!/bin/sh

if [ -x /etc/init.d/autofs ]; then
	/etc/init.d/autofs restart
fi


Greets,
Mike



--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpPAwhTPKt8a.pgp
Description: Digitale PGP-Unterschrift


Reply to: