Project

General

Profile

Bug #960

autofs stop method can leave automountd hanging

Added by Albert Lee over 8 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
cmd - userland programs
Start date:
2011-04-25
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

If autofs is disabled temporarily (apparently by NWAM changing state), it can leave automountd processes behind without a contract and subsequently cannot restart until they are killed manually.

Example:

[ Apr 22 16:00:20 Executing start method ("/lib/svc/method/svc-autofs start"). ]
[ Apr 22 16:00:20 Method "start" exited with status 0. ]
[ Apr 24 14:14:31 Stopping because dependency activity requires stop. ]
[ Apr 24 14:14:31 Executing stop method ("/lib/svc/method/svc-autofs stop 797"). ]
[ Apr 24 14:15:32 Method or service exit timed out.  Killing contract 813. ]
[ Apr 24 14:15:32 Method "stop" failed due to signal KILL. ]
[ Apr 24 14:15:33 Executing stop method ("/lib/svc/method/svc-autofs stop 797"). ]
[ Apr 24 14:16:33 Method or service exit timed out.  Killing contract 818. ]
[ Apr 24 14:16:33 Method "stop" failed due to signal KILL. ]
[ Apr 24 14:16:34 Executing stop method ("/lib/svc/method/svc-autofs stop 797"). ]
[ Apr 24 14:17:34 Method or service exit timed out.  Killing contract 819. ]
[ Apr 24 14:17:34 Method "stop" failed due to signal KILL. ]
[ Apr 24 14:34:25 Leaving maintenance because clear requested. ]
[ Apr 24 14:34:25 Enabled. ]
[ Apr 24 14:34:25 Executing start method ("/lib/svc/method/svc-autofs start"). ]
[ Apr 24 14:34:25 Method "start" exited with status 0. ]
[ Apr 24 14:34:25 Stopping because all processes in service exited. ]
[ Apr 24 14:34:25 Executing stop method ("/lib/svc/method/svc-autofs stop 844"). ]
...

Also available in: Atom PDF