This affects smartmontools and not cron

** Package changed: cron (Ubuntu) => smartmontools (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/2107309

Title:
  smartmontools.service: Referenced but unset environment variable
  evaluates to an empty string: smartd_opts

Status in smartmontools package in Ubuntu:
  New

Bug description:
  Output of lsb_release -rd
  No LSB modules are available.
  Description:  Ubuntu 24.04.2 LTS
  Release:      24.04

  apt-cache policy smartmontools
  smartmontools:
    Installed: 7.4-2build1
    Candidate: 7.4-2build1
    Version table:
   *** 7.4-2build1 500
          500 https://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
          100 /var/lib/dpkg/status


  This warning (not error) appears in journalctl log:

  smartmontools.service: Referenced but unset environment variable
  evaluates to an empty string: smartd_opts

  Fix:
  Add one line to /etc/default/smartmontools setting smartd_opts to an empty 
string

  Existing file /etc/default/smartmontools:

  # Defaults for smartmontools initscript (/etc/init.d/smartmontools)
  # This is a POSIX shell fragment

  # List of devices you want to explicitly enable S.M.A.R.T. for
  # Not needed (and not recommended) if the device is monitored by smartd
  #enable_smart="/dev/hda /dev/hdb"

  # uncomment to pass additional options to smartd on startup
  #smartd_opts="--interval=1800"


  File with fix (additional line) added:
  # Defaults for smartmontools initscript (/etc/init.d/smartmontools)
  # This is a POSIX shell fragment

  # List of devices you want to explicitly enable S.M.A.R.T. for
  # Not needed (and not recommended) if the device is monitored by smartd
  #enable_smart="/dev/hda /dev/hdb"

  # uncomment to pass additional options to smartd on startup
  #smartd_opts="--interval=1800"
  smartd_opts=""

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to