Public bug reported:

This package is broken. The smartmon tools use commands which are no
longer in 16.04.

Example:

/etc/smartmontools/run.d/10powersave-notify

#! /bin/sh

# Send message if /usr/lib/powersave/powersave-notify exists or exit silently
[ -x /usr/lib/powersave/powersave-notify ] || exit 0

/usr/lib/powersave/powersave-notify "<b>Your hard disk drive is failing!</b>
S.M.A.R.T. message:
$SMARTD_MESSAGE"

/usr/lib/powersave does not exisat nor does powersave-notify exist
anywhere in 16.04 even after powersave-notify is installed. I tried to
edit the script to run /usr/bin/smart-notifier whichj does exist, but
the script fails with


/usr/share/smart-notifier/smart_notifier/gui.py:23: PyGIWarning: Gtk was 
imported without specifying a version first. Use gi.require_version('Gtk', 
'3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk

I think this is a bit scary. The user will get no warnings that his disk
is failing due to this error.

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

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

Title:
  smartmontools does not use current notifier

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to