@dave

The main problem I encountered while testing with the provided test
script is that it produces false positives both with previous and
-proposed versions.  Sometimes, the test messages sent using "logger"
makes it to /var/log/syslog after the 'grep' has gone through,
identifying rsyslog as being hung while it is not.  So the script is not
reliable.

When using the following modified script :

#!/bin/sh

while [ 1 ]; do
  service rsyslog stop
  sleep 1
  killall -9 rsyslogd > /dev/null 2>&1
  service rsyslog start
  sleep 1
  nonce=$(date '+%s')
  logger $nonce
  sleep 1
  if grep $nonce /var/log/hourly/* > /dev/null; then
    echo found nonce $nonce
  else
    echo FAIL
    exit 1
  fi
done

The script has not reported any failure when running for > 12 hours on
the current released version which does not have the fix.

My conclusion is that triggering the bug using the modified script is
not possible, hence the mention in comment #24.

So both current released version and the version in -proposed have been
running correctly with my modified test script so I am not able to
reproduce the failure.

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

Title:
  rsyslog hangs loading modules

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to