Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119566 - app-mobilephone/smsclient-2.0.8y: missing/wrong directories
Summary: app-mobilephone/smsclient-2.0.8y: missing/wrong directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 09:08 UTC by Sascha Silbe
Modified: 2006-03-07 07:52 UTC (History)
0 users

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 Sascha Silbe 2006-01-19 09:08:56 UTC
Running smsclient fails because it cannot write to the non-existant 
directory /var/adm:

ERROR: Opening logfile: /var/adm/smslog

I could not find any config option to specify the log file, so this probably 
has to be fixed at compile-time (logs should go into /var/log).


Also, the default config file specifies /etc/smslock as the lock file 
(probably used to prevent multiple instances of smsclient to run 
simultaneously).
According to FHS-2.3 this file should go into /var/lock. As /var/lock is 
usually readonly for smsclient users, I suggest you create /var/lock/smsclient
owned by group dialout and put the lock file there.
Comment 1 Sascha Silbe 2006-01-19 09:13:32 UTC
Slight correction: /var/adm exists, but the user running smsclient obviously 
has no write access to it, so the log file cannot be created.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-02-25 02:55:35 UTC
fixed in 2.0.9a.

changes are:
 - services are installed now in /usr/share/smsclient
 - use /var/lock/sms/client.lock as lock file (/var/lock/sms is writable for group dialout)
 - create|change permissions|change group of /var/log/smsclient.log on postinst
 - all /var/spool mumbo-jumbo is removed (that directory structure isn't used by those 2 installed programs)
 - add documentation and metadata description
 
Comment 3 Sascha Silbe 2006-03-07 07:52:13 UTC
Works like a charm now, thanks!