Bug #820
closed
Use of /var/run weird for saving sessions ?
Added by Mathieu Desnoyers over 10 years ago.
Updated over 10 years ago.
Description
By definition, /var/run stores files describing system since boot:
http://www.pathname.com/fhs/2.2/fhs-5.13.html
So I don't see how storing the system session files there help us achieving boot time auto load ?
Storing those files under /root/.lttng might be more expected than /var/run (at least it is not cleared at each boot). Having the configuration files under /etc/lttng would be expected, but I cannot find any reference to this path in the manpage.
- Status changed from New to Invalid
For a root session daemon, the session are saved by default in /root/.lttng/sessions.
The documentation is wrong in the man page. Will fix it.
- Status changed from Invalid to In Progress
Your statement "For a root session daemon, the session are saved by default in /root/.lttng/sessions." don't appear to be right.
If I start a lttng-sessiond as root, and use it from my compudj user part of the tracing group, the session is saved under:
/home/compudj/.lttng/sessions
- Status changed from In Progress to Confirmed
Right, the session is saved under the session UID home directory.
I should have said: "For a root user, the session is saved in /root..."
- Status changed from Confirmed to Resolved
Also available in: Atom
PDF