https://bugzilla.novell.com/show_bug.cgi?id=751621 https://bugzilla.novell.com/show_bug.cgi?id=751621#c17 Vojta Dziewięcki <vdziewiecki@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #17 from Vojta Dziewięcki <vdziewiecki@suse.com> 2012-06-12 07:37:30 UTC --- Restarting autofs when the network goes up if rc_active autofs is true is probably intentional, I don't think it's a bug... Anyway, I would like to change those "service" calls in 06autofs to pm-utils functions "stopservice" and "restartservice", and redefine those functions so they test systemd presence, like this: stopservice() { if test `cat /proc/1/comm` = "systemd" then if systemctl status "$1".service then touch "${STORAGEDIR}/service:$1" systemctl stop "$1".service fi else if service "$1" status 2>/dev/null | grep -q -e running -e started then touch "${STORAGEDIR}/service:$1" service "$1" stop fi fi } restartservice() { if [ -O "${STORAGEDIR}/service:$1" ] then if test `cat /proc/1/comm` = "systemd" then systemctl start "$1".service else service "$1" start fi fi } This works perfectly for me, and I hope it will for everyone. I will release this along with a fix for bnc#753589. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.