Package: smstools Version: 3.0.2-4 Severity: important Error description:
NOTE: Please forward to upstream as this is very important, if "smsd" is run fom a ordinary user and NOT RUNING FORM /etc/init.d/. Since I must run smsd from another tool and as ordinary user, I have encontered that "smsd" ignores the "pidfile" setting. Exactly, I run it as 'smsd -c ~/.tdsmsdaemon/smsd.conf' where I have "pidfile=/home/michelle.konzack/.tdsmsdaemon/smsd.pid" which is written correctly but now I can run smsd -c ~/.tdsmsdaemon/smsd.conf & smsd -c ~/.tdsmsdaemon/smsd.conf & smsd -c ~/.tdsmsdaemon/smsd.conf & smsd -c ~/.tdsmsdaemon/smsd.conf & and I get as much smd-processe I have configured in multipe times... Also smsd does not report any errors in the logfile because several "smsd" trying to access /dev/ttyS0 to /dev/ttSy3 Also if one modem is hanging, and you try to kill the "smsd" processes with killall -SIGTERM smsd 2007-06-24 22:15:10,6, Siemens_S40_1: Trying to get stored message 15 2007-06-24 22:15:15,6, Siemens_S40_1: Trying to get stored message 16 2007-06-24 22:15:16,2, smsd: Smsd main program received termination signal. 2007-06-24 22:15:16,2, smsd: Smsd main program is awaiting the termination of al 2007-06-24 22:15:16,2, Siemens_S40_1: Modem handler 0 has received termination s 2007-06-24 22:15:16,2, Siemens_S40_2: Modem handler 1 has received termination s 2007-06-24 22:15:16,3, Siemens_S40_2: Could not send character A, cause: Input/o 2007-06-24 22:15:16,2, Siemens_S40_3: Modem handler 2 has received termination s 2007-06-24 22:15:16,2, Siemens_S40_4: Modem handler 3 has received termination s 2007-06-24 22:15:21,6, Siemens_S40_1: No SMS received 2007-06-24 22:15:21,2, Siemens_S40_1: Modem handler 0 terminated. 2007-06-24 22:15:21,2, Siemens_S40_3: Modem handler 2 terminated. 2007-06-24 22:15:21,2, Siemens_S40_4: Modem handler 3 terminated. 2007-06-24 22:15:21,2, smsd: Smsd main program terminated. As you can see, the main programm and the two modem handle get the SIGTERM signal and should go away, but only modem handler 0,2,3 and the main program terminate but modem handler 1 is missing. The modem handler for the faulty modem refuse to go to hell. You need for this pig killall -SIGKILL smsd Note: I had over 800 modem handler as "zombies" running while I was developing my "tdsmsdaemon" which is an Add-On for "smstools". Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature