Bug #264
problem in package athcool - program seems to run forever in tty1
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | 12/31/1969 | |
Assignee: | jams | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | 6.00.04 |
Description
If I installed athcool the add-service.sh is auto run to add athcool to the /var/service and the /etc/sv/ dirs but for some reason, if I ctrl+alt+F1 I see athcool being executed in an infinite loop! I manually ran:
# remove_service.sh athcool
Then simply added the following to my /etc/runit/1
/usr/sbin/athcool on
After a reboot, when I check in tty1, athcool was only executed once. For some reason /etc/sv/athcool runs in a loop.
History
Updated by tjc over 15 years ago
Sounds like we need to invoke it with a no-auto-detach type option to atcool (which it doesn't seem to have...), or the "once" option to sv.
Updated by jams over 15 years ago
Try the new version of the pkg. Please verify that athcool is running, but sv does not keep trying to restart it.
ps -ef |grep athcool
&
sv status athcool
Updated by graysky over 15 years ago
Did it. If I Ctrl+Alt+F1 it's not continuously running as it did before.
$ ps -ef | grep athcool
root 2651 2643 0 16:38 ? 00:00:00 runsv athcool
squishy 3273 3251 0 16:40 pts/0 00:00:00 grep athcool
And
# sv status athcool
down: athcool: 156s, normally up
Good job and thank you as always. You rock, Jams.
Updated by jams almost 13 years ago
- Target version changed from 7.2 to 6.00.04