gsm-utils daemon cannot start due to init.d bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gsmlib (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The gsm-utils daemon in Ubuntu 12.04 (precise) can't be started du to a problem in the order of commands in the init.d script.
This patch will fix it:
23,26d22
< if [ "$RUNGSMSMS" != "yes" ];then
< echo "GSM SMS deamon not yet configured. Edit /etc/default/
< exit 0
< fi
37a34,38
>
> if [ "$RUNGSMSMS" != "yes" ];then
> echo "GSM SMS deamon not yet configured. Edit /etc/default/
> exit 0
> fi
The cause of the problem is that
"$RUNGSMSMS" != "yes"
is checked before the actual /etc/default/
test -r /etc/default/
This is easy to fix but basically renders the daemon process unusuable.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gsm-utils (not installed)
Uname: Linux 3.15.3-
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Aug 8 10:35:44 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-01 (37 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
SourcePackage: gsmlib
UpgradeStatus: No upgrade log present (probably fresh install)
Ignore the ProcEnviron.txt please. I created the bug report from my laptop but it affects an Ubuntu 12.04 LTS server.