Open Bug 540922 Opened 14 years ago Updated 11 years ago

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

Categories

(Bugzilla :: Administration, task)

3.4.4
x86
Linux
task
Not set
minor

Tracking

()

People

(Reporter: justdave, Unassigned)

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.
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.