smstools stop working after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smstools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: smstools
Running Ubuntu 8.04 (Hardy).
If upgrading smstools from smstools-3.0.10-1 to smstools-
This makes the smsd daemon stop with the following in the eventlog.
2008-04-29 16:11:34,2, smsd: Eventhandler @EVENTHANDLER@ cannot be read: No such file or directory
2008-04-29 16:11:34,2, smsd: There was 1 major problem found.
2008-04-29 16:11:34,2, smsd: Smsd main program terminated.
I would guess this bug is in debian/postinst but I'm not sure
This error doesn't show if you do a clean install and don't upgrade.
Steps to reproduce:
1. Install smstools-3.0.10-1
2. Upgrade smstools-3.0-10-1 to smstools-
Expected result:
As we did't change anything in the config file they should be the same and the daemon should start without errors.
Actual result:
In the /etc/smsd.conf.bak states "# eventhandler = @EVENTHANDLER@"
but in the working /etc/smsd.conf the comment has been removed so it says " eventhandler = @EVENTHANDLER@"
When the daemon starts it doesn't find any file with that name so it terminates.
Workaround:
Restore /etc/smsd.conf.bak to /etc/smsd.conf or just edit /etc/smsd.conf and comment out the eventhandler line.
description: | updated |
Changed in smstools: | |
milestone: | ubuntu-8.04.1 → none |
Changed in smstools: | |
assignee: | crippledcanary → nobody |
Changed in smstools: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Invalid |
I'm working on it....
Something with debconf