Re: Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Hi,
I would fix it disabling network-manager on the eth0 if
we are talking about fix client stations.
cheers
Giorgio
On Tue, Aug 14, 2012 at 10:00:29AM +0200, Mike Gabriel wrote:
> 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
Reply to: