Why was rsyslog.log created by valgrind automatically deleted?

Solution Unverified - Updated -

Issue

  • Following valgrind command was executed on the system to log the output at /tmp/rsyslog.log:
# service rsyslog stop
# /usr/bin/valgrind --trace-children=yes --show-reachable=yes --track-origins=yes --read-var-info=yes --tool=memcheck --leak-check=full --num-callers=50 -v --log-file=/tmp/rsyslog.log /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
  • But /tmp/rsyslog.log no longer exists.
  • Does valgrind delete the log file it is stopped or terminated?

Environment

  • Red Hat Enterprise Linux 6
  • valgrind-3.6.0-5.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.