Date: Fri, 17 Jan 2020 04:13:17 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r356825 - stable/12/sbin/devd Message-ID: <202001170413.00H4DHCI089906@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Fri Jan 17 04:13:16 2020 New Revision: 356825 URL: https://svnweb.freebsd.org/changeset/base/356825 Log: MFC r355884: Add missing "ereport." prefixes of ZFS events. I was unable to find time when those were working. I think they have been Broken for at least 5 years or even longer. Modified: stable/12/sbin/devd/zfs.conf Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/devd/zfs.conf ============================================================================== --- stable/12/sbin/devd/zfs.conf Fri Jan 17 04:12:03 2020 (r356824) +++ stable/12/sbin/devd/zfs.conf Fri Jan 17 04:13:16 2020 (r356825) @@ -4,55 +4,55 @@ notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.checksum"; + match "type" "ereport.fs.zfs.checksum"; action "logger -p local7.warn -t ZFS 'checksum mismatch, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.io"; + match "type" "ereport.fs.zfs.io"; action "logger -p local7.warn -t ZFS 'vdev I/O failure, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size error=$zio_err'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.data"; + match "type" "ereport.fs.zfs.data"; action "logger -p local7.warn -t ZFS 'pool I/O failure, zpool=$pool error=$zio_err'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.zpool"; + match "type" "ereport.fs.zfs.zpool"; action "logger -p local7.err -t ZFS 'failed to load zpool $pool'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.vdev\..*"; + match "type" "ereport.fs.zfs.vdev\..*"; action "logger -p local7.err -t ZFS 'vdev problem, zpool=$pool path=$vdev_path type=$type'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.io_failure"; + match "type" "ereport.fs.zfs.io_failure"; action "logger -p local7.alert -t ZFS 'catastrophic pool I/O failure, zpool=$pool'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.probe_failure"; + match "type" "ereport.fs.zfs.probe_failure"; action "logger -p local7.err -t ZFS 'vdev probe failure, zpool=$pool path=$vdev_path'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.log_replay"; + match "type" "ereport.fs.zfs.log_replay"; action "logger -p local7.err -t ZFS 'pool log replay failure, zpool=$pool'"; }; notify 10 { match "system" "ZFS"; - match "type" "fs.zfs.config_cache_write"; + match "type" "ereport.fs.zfs.config_cache_write"; action "logger -p local7.warn -t ZFS 'failed to write zpool.cache, zpool=$pool'"; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001170413.00H4DHCI089906>