Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 119566
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Mobile Phone Developers <mobile-phone@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sascha Silbe <sascha-gentoo-bugzilla@silbe.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119566 depends on: Show dependency tree
Bug 119566 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-19 09:08 0000
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 From Sascha Silbe 2006-01-19 09:13:32 0000 -------
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 From Alin Năstac 2006-02-25 02:55:35 0000 -------
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 From Sascha Silbe 2006-03-07 07:52:13 0000 -------
Works like a charm now, thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug