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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content