Public bug reported:

ZED should be sending email when scrub finishes but I do not get any email. I 
did update modify
the zed.rc file to end the email by setting the following

ZED_EMAIL_ADDR="root"
ZED_EMAIL_PROG="mail"
ZED_NOTIFY_VERBOSE=1


I tested to verify mail work. I did the following:
echo testing | mail -s testit root

I did get the mail so the mail system work.

I also check syslog to see verify that zed saw the event.

Aug 15 22:45:56 mike-think systemd[1]: Started ZFS Event Daemon (zed).
Aug 15 22:45:56 mike-think zed[5576]: ZFS Event Daemon 0.6.5.6-0ubuntu23 (PID 
5576)
Aug 15 22:45:56 mike-think zed[5576]: Processing events since eid=7
Aug 15 22:48:38 mike-think zed: eid=8 class=history_event pool=lxc
Aug 15 22:48:38 mike-think zed: eid=9 class=scrub_finish pool=lxc

mike@mike-think:/var/log$ lsb_release -rd
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
mike@mike-think:/var/log$ 

mike@mike-think:/var/log$ apt-cache policy zfs-zed
zfs-zed:
  Installed: 0.6.5.6-0ubuntu23
  Candidate: 0.6.5.6-0ubuntu23
  Version table:
 *** 0.6.5.6-0ubuntu23 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     0.6.5.6-0ubuntu8 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
mike@mike-think:/var/log$

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: zfs-zed 0.6.5.6-0ubuntu23
ProcVersionSignature: Ubuntu 4.15.0-32.35~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Wed Aug 15 22:50:27 2018
InstallationDate: Installed on 2016-07-24 (752 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160720)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.zfs.zed.d.zed.rc: 2018-08-15T22:44:06.422894

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1787309

Title:
  zed not sending mail on scrub finish

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  ZED should be sending email when scrub finishes but I do not get any email. I 
did update modify
  the zed.rc file to end the email by setting the following

  ZED_EMAIL_ADDR="root"
  ZED_EMAIL_PROG="mail"
  ZED_NOTIFY_VERBOSE=1

  
  I tested to verify mail work. I did the following:
  echo testing | mail -s testit root

  I did get the mail so the mail system work.

  I also check syslog to see verify that zed saw the event.

  Aug 15 22:45:56 mike-think systemd[1]: Started ZFS Event Daemon (zed).
  Aug 15 22:45:56 mike-think zed[5576]: ZFS Event Daemon 0.6.5.6-0ubuntu23 (PID 
5576)
  Aug 15 22:45:56 mike-think zed[5576]: Processing events since eid=7
  Aug 15 22:48:38 mike-think zed: eid=8 class=history_event pool=lxc
  Aug 15 22:48:38 mike-think zed: eid=9 class=scrub_finish pool=lxc

  mike@mike-think:/var/log$ lsb_release -rd
  Description:  Ubuntu 16.04.5 LTS
  Release:      16.04
  mike@mike-think:/var/log$ 

  mike@mike-think:/var/log$ apt-cache policy zfs-zed
  zfs-zed:
    Installed: 0.6.5.6-0ubuntu23
    Candidate: 0.6.5.6-0ubuntu23
    Version table:
   *** 0.6.5.6-0ubuntu23 500
          500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       0.6.5.6-0ubuntu8 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
  mike@mike-think:/var/log$

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: zfs-zed 0.6.5.6-0ubuntu23
  ProcVersionSignature: Ubuntu 4.15.0-32.35~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-32-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: amd64
  Date: Wed Aug 15 22:50:27 2018
  InstallationDate: Installed on 2016-07-24 (752 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160720)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: zfs-linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.zfs.zed.d.zed.rc: 2018-08-15T22:44:06.422894

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1787309/+subscriptions

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

Reply via email to