** Description changed: + [Impact] + Logwatch fails to print info for ZFS due to invalid paths to binaries. + + [Test Case] + With ZFS installed, run logwatch and note the missing ZFS information. + + [Regression Potential] + Since logwatch filters logs for errors pertinent to administrators, + standard things to watch out for are undesired changes in this filtering + behavior, such as flagging or failing to flag issues differently than + before, other than the specific messages being filtered with this + change. + + [Discussion] In /usr/share/logwatch/scripts/services/zz-zfs line 54 and 55 are the following. my $pathto_zpool = $ENV{'pathto_zpool'} || '/usr/sbin/zpool'; my $pathto_zfs = $ENV{'pathto_zfs'} || '/usr/sbin/zfs'; In Ubuntu, the zfs utilities are in /sbin, not /usr/sbin. This causes logwatch to not print info for ZFS even if you're using it. The fix is just to point to /sbin instead. This is what fixed it for me. my $pathto_zpool = $ENV{'pathto_zpool'} || '/sbin/zpool'; my $pathto_zfs = $ENV{'pathto_zfs'} || '/sbin/zfs';
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880211 Title: Logwatch package points to wrong location for zfs utils To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1880211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs