Bug 214325 - [devd] devd logs ZFS messages twice
Summary: [devd] devd logs ZFS messages twice
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 10.3-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 14:30 UTC by Anton Saietskii
Modified: 2016-11-08 14:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Saietskii 2016-11-08 14:30:50 UTC
root@cs0:~# head -1 /etc/devd/zfs.conf
# $FreeBSD: releng/10.2/etc/devd/zfs.conf 272693 2014-10-07 13:30:15Z avg $
root@cs0:~# freebsd-version -ku
10.3-RELEASE-p11
10.3-RELEASE-p12
(I'm constantly upgrading system through svn sources, so you can see releng/10.2 in config because this file wasn't changed in 10.3)

And I see respective log lines twice - one for the message itself and one for "executing ...":
# fgrep ZFS /var/log/messages.13
Aug 10 19:56:59 cs0 devd: Executing 'logger -p kern.notice -t ZFS 'vdev state changed, pool_guid=3861546974548989537 vdev_guid=688554190753491733''
Aug 10 19:56:59 cs0 ZFS: vdev state changed, pool_guid=3861546974548989537 vdev_guid=688554190753491733
Aug 10 19:57:00 cs0 devd: Executing 'logger -p kern.notice -t ZFS 'vdev state changed, pool_guid=3861546974548989537 vdev_guid=688554190753491733''
Aug 10 19:57:00 cs0 ZFS: vdev state changed, pool_guid=3861546974548989537 vdev_guid=688554190753491733