zed failed because of packaging of zed-functions.sh

Bug #1713375 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I had a failed disk and didn't know it. zed didn't warn me.

$ sudo zed
Failed to stat "/etc/zfs/zed.d/zed-functions.sh": No such file or directory

$ ls -la /etc/zfs/zed.d
total 50
drwxr-xr-x 2 root root 14 Aug 12 00:39 .
drwxr-xr-x 3 root root 5 Aug 12 00:39 ..
lrwxrwxrwx 1 root root 49 May 22 09:13 all-syslog.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/all-syslog.sh
lrwxrwxrwx 1 root root 54 May 22 09:13 checksum-notify.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/checksum-notify.sh
lrwxrwxrwx 1 root root 53 May 22 09:13 checksum-spare.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/checksum-spare.sh
lrwxrwxrwx 1 root root 50 May 22 09:13 data-notify.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/data-notify.sh
lrwxrwxrwx 1 root root 48 May 22 09:13 io-notify.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/io-notify.sh
lrwxrwxrwx 1 root root 47 May 22 09:13 io-spare.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/io-spare.sh
lrwxrwxrwx 1 root root 61 May 22 09:13 resilver.finish-notify.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/resilver.finish-notify.sh
lrwxrwxrwx 1 root root 58 May 22 09:13 scrub.finish-notify.sh -> /usr/lib/x86_64-linux-gnu/zfs/zed.d/scrub.finish-notify.sh
lrwxrwxrwx 1 root root 45 Oct 29 2016 zed-functions.sh -> /usr/lib/zfs-linux/zfs/zed.d/zed-functions.sh
-rw-r--r-- 1 root root 11003 May 22 09:13 zed-functions.sh.dpkg-new
-rw-r--r-- 1 root root 2556 Feb 23 2016 zed.rc
-rw-r--r-- 1 root root 2557 Feb 1 2016 zed.rc.dpkg-old

$ ls -l /usr/lib/zfs-linux/zfs/zed.d/zed-functions.sh
ls: cannot access '/usr/lib/zfs-linux/zfs/zed.d/zed-functions.sh': No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: zfs-zed 0.6.5.9-5ubuntu4.1
ProcVersionSignature: Ubuntu 4.10.0-32.36-generic 4.10.17
Uname: Linux 4.10.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Aug 27 16:28:49 2017
InstallationDate: Installed on 2014-05-07 (1208 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.zfs.zed.d.zed-functions.sh: [deleted]

Revision history for this message
Chad Miller (cmiller) wrote :
Changed in zfs-linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Colin Ian King (colin-king) wrote :

Issue fixed in bug 1757939

Changed in zfs-linux (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.