Closed ghost closed 4 years ago
We have compat code for sysevent interfaces such as log_sysevent() and _ddi_log_sysevent() from FreeBSD, but it is never invoked by ZoL. As a result, we do not get ZFS events through devd.
log_sysevent()
_ddi_log_sysevent()
To observe:
cat /var/run/devd.seqpacket.pipe & truncate -s 1G disk0 zpool create testpool `pwd`/disk0 zfs create testpool/testfs zpool history testpool zpool destroy testpool kill $!
We can see the history is logged but devd is not generating events.
@freqlabs Is this still true?
Yes.
@pkgdemon I assume this will break some api tests for 12 until fixed.
We have compat code for sysevent interfaces such as
log_sysevent()
and_ddi_log_sysevent()
from FreeBSD, but it is never invoked by ZoL. As a result, we do not get ZFS events through devd.To observe:
We can see the history is logged but devd is not generating events.