[Bug 490977] [NEW] smstools init script uses incorrect group setting

Keijo Kasvi smstools3 at kekekasvi.com
Tue Dec 1 19:09:55 UTC 2009


Public bug reported:

Binary package hint: smstools

smstools 3.1.3-2 on Ubuntu 9.04.

When smstools is first time started, init script creates an override for
/var/run/smstools:

dpkg-statoverride --update --add smsd smsd 2755 $rundir

Later when this entry exists, GROUP is taken from dpkg-statoverride and
smsd is used as a group. When smsd gets a group setting, this setting
overrides /etc/group. Therefore, while serial port is owned by
root:dialout, it's not accessible for smsd. ( This behaviour may be
changed in some next version of smstools, but currently group setting
defines one and only group to use. If no group is defined, /etc/group is
used as usual. )

I think that init script could use the following form to create an
override:

dpkg-statoverride --update --add $USER $GROUP 2755 $rundir

However, incorrect entry should be removed first from dpkg-
statoverride's database.

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

-- 
smstools init script uses incorrect group setting
https://bugs.launchpad.net/bugs/490977
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list