Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136861 - app-mobilephone/smstools-2.2.1 does not create required directories
Summary: app-mobilephone/smstools-2.2.1 does not create required directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 02:03 UTC by Graham Murray
Modified: 2006-06-15 02:55 UTC (History)
1 user (show)

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


Attachments
patch to add creation of missing directories (smstools.patch,346 bytes, patch)
2006-06-15 02:10 UTC, Graham Murray
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2006-06-15 02:03:06 UTC
The newly added app-mobilephone/smstools-2.2.1 ebuild does not create the create directories under /var/spool which the application requires in order to run. The required directories are
/var/spool/sms/incoming
/var/spool/sms/outgoing
/var/spool/sms/checked

Another 'gotcha' is that the application will detect files in the outgoing and checked directories and attempt to send them as SMSs and delete them. So if portage were to use the '.keep' mechanism the .keep files would be deleted as soon as the application starts.
Comment 1 Graham Murray 2006-06-15 02:10:46 UTC
Created attachment 89236 [details, diff]
patch to add creation of missing directories
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2006-06-15 02:53:18 UTC
(In reply to comment #0)
> The newly added app-mobilephone/smstools-2.2.1 ebuild does not create the
> create directories under /var/spool which the application requires in order to
> run. The required directories are
> /var/spool/sms/incoming
> /var/spool/sms/outgoing
> /var/spool/sms/checked

Applied your patch to the ebuild.

> Another 'gotcha' is that the application will detect files in the outgoing and
> checked directories and attempt to send them as SMSs and delete them. So if
> portage were to use the '.keep' mechanism the .keep files would be deleted as
> soon as the application starts.

Not if you educate the application and tell it that .keep files should be skipped :)
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2006-06-15 02:55:44 UTC
Committed to CVS. This will appear in the portage tree as smstools-2.2.1-r1 within two hours. Thank you for your bug report :)