Enhancement #2655
faxgetty startup should depend on iaxmodem
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-hylafax | |||
Target version: | ~FUTURE | |||
Resolution: | WONTFIX | NEEDINFO: | No |
Description
Booting a system using iax modems I see:
Feb 10 20:10:06 nethservice init: faxgetty-ttyIAX351 main process (1046) terminated with status 255 Feb 10 20:10:06 nethservice init: faxgetty-ttyIAX351 main process ended, respawning Feb 10 20:10:06 nethservice init: faxgetty-ttyIAX350 main process (1048) terminated with status 255 Feb 10 20:10:06 nethservice init: faxgetty-ttyIAX350 main process ended, respawning Feb 10 20:10:06 nethservice FaxGetty[2158]: OPEN /dev/ttyIAX351 HylaFAX (tm) Version 5.2.5 Feb 10 20:10:06 nethservice FaxGetty[2159]: OPEN /dev/ttyIAX350 HylaFAX (tm) Version 5.2.5 Feb 10 20:10:06 nethservice FaxGetty[2158]: /dev/ttyIAX351: Can not open modem (No such file or directory) Feb 10 20:10:06 nethservice FaxGetty[2159]: /dev/ttyIAX350: Can not open modem (No such file or directory)
A few seconds later, faxgetty starts regularly.
I suppose that faxgetty get spawned before iaxmodem service starts.
[root@nethservice ~]# stat /dev/ttyIAX350 File: `/dev/ttyIAX350' -> `/dev/pts/2' Size: 10 Blocks: 0 IO Block: 4096 symbolic link Device: 5h/5d Inode: 17904 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-02-10 20:10:36.548528945 +0100 Modify: 2014-02-10 20:10:06.748179009 +0100 Change: 2014-02-10 20:10:06.748179009 +0100
History
#1 Updated by Davide Principi over 7 years ago
- Target version set to ~FUTURE
#2 Updated by Stefano Fancello over 6 years ago
I've tried to write this in upstart script:
start on started iaxmodem
but problem is exactly the same, even if in both cases there aren't practical consequences because faxgetty start working anyway
#3 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from NEW to CLOSED
- % Done changed from 0 to 100
- Resolution set to WONTFIX
The bug is cosmetic, since faxgetty will retry to access the device when iaxmodem is started.