jobqueue.pl doesn't release the terminal when it forks

NEW
Unassigned

Status

()

Bugzilla
Administration
--
minor
8 years ago
5 years ago

People

(Reporter: justdave, Unassigned)

Tracking

Details

If I try to restart the jobqueue.pl daemon remotely with this command:

ssh pm-app-bugs01 /sbin/service bugzilla-queue restart

The ssh command never exits because the tty didn't get released when it forked.

Comment 1

8 years ago
Hmm. This seems more like something to talk to the Daemon-Generic author about.
Severity: normal → minor
fwiw, I discovered if I force a tty in ssh like so:

ssh -t pm-app-bugs01 /sbin/service bugzilla-queue restart

Then it properly releases the terminal, so apparently Daemon-Generic must be assuming if there's no tty then there's nothing to detatch from (which isn't necessarily the case, as I've proven here).
You need to log in before you can comment on or make changes to this bug.