-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZED_SYSLOG_SUBCLASS_EXCLUDE="history_event" breaks history_event-zfs-list-cacher.sh #11164
Labels
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
Comments
dmtrbm
added
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
labels
Nov 6, 2020
InsanePrawn
added a commit
to InsanePrawn/zfs
that referenced
this issue
Dec 15, 2020
13d6598 excluded history_events from logging by default. This breaks the zfs-list-cacher mechanism as it listens for those events in order to trigger cache updates. Closes openzfs#11164 Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
InsanePrawn
added a commit
to InsanePrawn/zfs
that referenced
this issue
Dec 15, 2020
13d6598 excluded history_events from logging by default. This breaks the zfs-list-cacher mechanism as it listens for those events in order to trigger cache updates. Remove history_event from ZED_SYSLOG_SUBCLASS_EXCLUDE in zed.rc Closes openzfs#11164 Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
13 tasks
InsanePrawn
added a commit
to InsanePrawn/zfs
that referenced
this issue
Dec 16, 2020
The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense on this single-purpose script and silently breaks when history_event are excluded from syslog, which is the default since 7d52b4e. Closes openzfs#11164 Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
InsanePrawn
added a commit
to InsanePrawn/zfs
that referenced
this issue
Dec 17, 2020
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense on this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 7d52b4e. Closes openzfs#11164 Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
InsanePrawn
added a commit
to InsanePrawn/zfs
that referenced
this issue
Dec 17, 2020
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense in this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 13d6598. Closes openzfs#11164 Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
behlendorf
pushed a commit
that referenced
this issue
Dec 18, 2020
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense in this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 13d6598. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: InsanePrawn <insane.prawny@gmail.com> Closes #11164 Closes #11347
InsanePrawn
added a commit
to InsanePrawn/zfs
that referenced
this issue
Dec 18, 2020
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense in this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 13d6598. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: InsanePrawn <insane.prawny@gmail.com> Closes openzfs#11164 Closes openzfs#11347
behlendorf
pushed a commit
that referenced
this issue
Dec 20, 2020
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense in this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 13d6598. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: InsanePrawn <insane.prawny@gmail.com> Closes #11164 Closes #11347
jsai20
pushed a commit
to jsai20/zfs
that referenced
this issue
Mar 30, 2021
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense in this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 13d6598. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: InsanePrawn <insane.prawny@gmail.com> Closes openzfs#11164 Closes openzfs#11347
sempervictus
pushed a commit
to sempervictus/zfs
that referenced
this issue
May 31, 2021
Check for the history_event type instead. The zfs-list-cacher.sh script currently respects the event types excluded from syslog(!) in ZED_SYSLOG_SUBCLASS_EXCLUDE. This makes little sense in this single-purpose script and silently breaks when history_events are excluded from syslog, which is the default since 13d6598. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: InsanePrawn <insane.prawny@gmail.com> Closes openzfs#11164 Closes openzfs#11347
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
System information
Describe the problem you're observing
With this option set by default in
/etc/zfs/zed.d/zed.rc
,/etc/zfs/zfs-list.cache/*
is no longer updated.Describe how to reproduce the problem
zfs create rpool/test
,/etc/zfs/zfs-list.cache/rpool
is unchanged.Include any warning/errors/backtraces from the system logs
Output of history_event-zfs-list-cacher.sh:
Commenting it out fixes cache updates:
The text was updated successfully, but these errors were encountered: