Public bug reported:
Package: smartmontools 5.38-3ubuntu3
Affected Ubuntu Versions: 10.04 (still in use there, supported until 4/17 as
it's LTS)
Defect: looks like smartmontools is never running
Without the patch:
$ sudo service smartmontools status
* is not running
Notice the missing daemon name ("smartd"). This is because
/etc/init.d/smartmontools is passing undefined variables ($SMARTDPID,
$SMARTD), to `status_of_proc` in /lsb/lsb/init-functions.
With the patch:
$ sudo service smartmontools status
* smartd is running
Fixing patch attached.
I believe this has been fixed in smartmontools' 5.39 branch[1] and
trunk[2]
[1]
http://svn.code.sf.net/p/smartmontools/code/branches/RELEASE_5_39_BRANCH/smartmontools/smartd.initd.in
[2]
http://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools/smartd.initd.in
** Affects: smartmontools (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "patching wrong file, but really simple to apply to this
package (couldn't find correct location)"
https://bugs.launchpad.net/bugs/1403681/+attachment/4283186/+files/smartmontools.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1403681
Title:
`service smartmontools status` broken on 10.04, smartmontools
5.38-3ubuntu3 (always replies "* is not running")
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/1403681/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs