Ok, I've written a short Checkbox style test -- that much I could figure
out. I'm hoping someone with permission to submit new checkbox tests can
wrap this up as a checkbox job. It would be interesting to run it after
each install/upgrade cycle as I suspect that's when this bug happens.

#!/bin/bash
#
# Test that the owner of auth.log is syslog
# This test is meaningless if auth.log does not exist, so the
# dependencies should run this after it has been created.

if [[ -e /var/log/auth.log && `stat -c %U /var/log/auth.log` != "syslog" ]]
then
  echo "auth.log is not owned by syslog" >&2
  exit 1
else
  exit 0
fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1059854

Title:
  auth.log is empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1059854/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to