Public bug reported:

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/gsm-utils 
first."
<         exit 0
< fi
37a34,38
> 
> if [ "$RUNGSMSMS" != "yes" ];then
>         echo "GSM SMS deamon not yet configured. Edit /etc/default/gsm-utils 
> first."
>         exit 0
> fi

The cause of the problem is that

   "$RUNGSMSMS" != "yes"

is checked before the actual /etc/default/gsm-utils file is sourced
using

   test -r /etc/default/gsm-utils && . /etc/default/gsm-utils  # for
overwriting some parameters

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-031503-generic x86_64
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)

** Affects: gsmlib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 precise

** Tags removed: apport-bug trusty
** Tags added: precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1354335

Title:
  gsm-utils daemon cannot start due to init.d bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gsmlib/+bug/1354335/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to