[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



On Di 14 Aug 2012 12:06:51 CEST Mike Gabriel wrote:

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

that fix is wrong, one must use invoke-rc.d

For the record: the fix should be like this...

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

invoke-rc.d --quiet autofs restart
"""

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: pgpTf2JUUgNvJ.pgp
Description: Digitale PGP-Unterschrift


Reply to: