Quoting Chad William Seys (2014-04-23 04:29:14)
>> It was deliberately avoided, to speed up shutdown.
>
> My particular use case is that netatalk is using files on a ceph RBD 
> device.  netatalk should shutdown and close file access before the RBD 
> device is unmounted.
>
> The RBD devices are formatted with XFS, and the rbd init script tries 
> to unmount them.  But if netatalk has files open the script takes a 
> very long time or hangs.
>
> Stopping netatalk first fixes the problem.

Thanks for the explanation.  Sounds like a quite valid need for proper 
stop action.


> How much time is normally saved by not stopping netatalk?  It seems to 
> stop very quickly anyway.

Not much, I guess (but it all adds up: I am told that all daemons 
without stop action gits killed in parallel at the end of SysV 
shutdown), but that's irrelevant: _any_ valid need for the stop action 
counts - I just couldn't imagine any.

I will correct it.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to