Comment 8 for bug 75058

Revision history for this message
Christian Brandt (brandtc) wrote :

Binary package hint: mgetty-fax

faxrunqd hangs on "/etc/init.d/mgetty-fax stop" until the 60 second timeout is reached, most likely the line "--retry -HUP/60/-TERM" is the culprit.

Most likely this is due a change in the handling of SIGHUP (see changes.debian.gz), this signal now does a graceful restart.

By changing the line to "--retry -INT/5/-TERM" faxrunqd shuts down much nicer - obviously faxrunqd already has special handling to SIGINT so this is isn't as brutish as it looks on first sight. Also I lowered the timeout because the fax will get resend after next start of faxrunqd anyway.

I did some guesses about behaviour of faxrunqd because it is a bit late and the fix seems smart enough. Hopefully they are educated guesses, please doublecheck.