← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1646886] Re: smartmontools does not use current notifier

 

It looks like the current behaviour is by design: you won't get any
notification by default if you just install smartmontools unless you
also install a working mail system where you will receive emails to
root@ (eg. by following the Suggests metadata). smart-notifier is a
separate package which you can opt-in to using by installing it
directly. It is true that it won't be pulled in by default, but this
seems to be a design decision in smartmontools. If you need smart-
notifier's functionality, it's necessary to install it directly.

If there's a bug in smart-notifier then as Miriam says that's for
separate bugs to represent. For _this_ bug then, I don't think there's
any action to take so I'm marking it Won't Fix against the development
release.

If you disagree, feel free to comment and reopen this bug and we can
discuss further.

** Changed in: smartmontools (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1646886

Title:
  smartmontools does not use current notifier

Status in smartmontools package in Ubuntu:
  Won't Fix
Status in smartmontools source package in Xenial:
  Won't Fix

Bug description:
  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.

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