Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196370 - app-mobilephone/smstools-2.2.13: no locking!
Summary: app-mobilephone/smstools-2.2.13: no locking!
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 08:03 UTC by tucksonjack@gmail.com
Modified: 2007-10-19 08:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tucksonjack@gmail.com 2007-10-19 08:03:26 UTC
If sendsms is called from a shell script that send an sms to multiple users, smsd will not be able to send the sms' fast enough, and will go to sleep for 3600 seconds.

e.g.
 for i in $SOMELIST; do sendsms $i test; done

Adding a "sleep" for 10 seconds between sending sms' is a workaround for this, but a better solution is to add locking to sendsms. This solution isn't really good enough either, since smsd shoudl really be the one doing the locking, and shouldn't try to use the serial port lots of times at once.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 08:06:43 UTC
Sorry, but this is not something Gentoo should do, ask for this upstream.
Comment 2 tucksonjack@gmail.com 2007-10-19 08:22:04 UTC
Reported upstream:
 http://www.meinemullemaus.de/smstools/support/viewtopic.php?f=3&t=472
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 08:24:41 UTC
Thanks.