Summary: | /etc/periodic/daily/404.status.zfs wrong | ||
---|---|---|---|
Product: | Base System | Reporter: | peter håkanson <peter> |
Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Only Me | CC: | Alexander88207, asomers, wout |
Priority: | Normal | ||
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
peter håkanson
2012-11-13 21:00:00 UTC
11-RELEASE version of 404.status-zfs returns `2` when a problem with ZFS is detected. I think this should return `3` like 406.status-gmirror and 401.status-graid do. This will make sure the output is sent when using: daily_show_success="NO" daily_show_info="NO" Are you sure? It looks to me like it will return rc=1 for a damaged pool. My comment above has a mistake: 404.status-zfs in 11-RELEASE does indeed return rc=1 (instead of rc=2) when a damaged (or no) pool is detected. However, people who now set daily_show_success=NO and daily_show_info=NO will not get any notification for broken pools. Other status periodic scripts, as 406.status-gmirror and 401.status-graid return rc=3 in this case, so the information is not masked in the periodic output. For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open" Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi> |