<div dir="ltr">Hi,<div><br></div><div>when I start a session as user with gid=tracing it is created fine, but when I start a 2nd session as root the first session is gone!</div><div><br></div><div><br></div><div><div>+ ssh <a href="mailto:root@128.224.95.181">root@128.224.95.181</a> 'killall -9 lttng-sessiond'</div><div><br></div><div>+ ssh <a href="mailto:root@128.224.95.181">root@128.224.95.181</a> 'ps -ef | grep lttng'</div><div>root 5119 5115 0 14:21 ? 00:00:00 sh -c ps -ef | grep lttng</div><div>root 5121 5119 0 14:21 ? 00:00:00 /bin/busybox.nosuid /bin/grep lttng</div><div><br></div><div>+ ssh <a href="mailto:root@128.224.95.181">root@128.224.95.181</a> 'lttng --version'</div><div>lttng (LTTng Trace Control) 2.7.0 - Herbe à Détourne - v2.7.0</div><div><br></div><div>+ ssh <a href="mailto:trace1@128.224.95.181">trace1@128.224.95.181</a> 'lttng create s_trace1'</div><div>Spawning a session daemon</div><div>Session s_trace1 created.</div><div><br></div><div>+ ssh <a href="mailto:trace1@128.224.95.181">trace1@128.224.95.181</a> 'lttng list'</div><div>Available tracing sessions:</div><div> 1) s_trace1 (/home/trace1/lttng-traces/s_trace1-20151013-142106) [inactive]</div><div> Trace path: /home/trace1/lttng-traces/s_trace1-20151013-142106</div><div><br></div><div><br></div><div>Use lttng list <session_name> for more details</div><div><br></div><div>+ ssh <a href="mailto:root@128.224.95.181">root@128.224.95.181</a> 'lttng create s_root'</div><div>Spawning a session daemon</div><div>Session s_root created.</div><div>Traces will be written in /root/lttng-traces/s_root-20151013-142108</div><div><br></div><div>+ ssh <a href="mailto:root@128.224.95.181">root@128.224.95.181</a> 'lttng list'</div><div>Available tracing sessions:</div><div> 1) s_root (/root/lttng-traces/s_root-20151013-142108) [inactive]</div><div> Trace path: /root/lttng-traces/s_root-20151013-142108</div><div><br></div><div><br></div><div>Use lttng list <session_name> for more details</div><div><br></div><div><<<<< AND HERE IS THE ISSUE WHERE THE s_trace1 SESSION IS LOST>>>></div><div>+ ssh <a href="mailto:trace1@128.224.95.181">trace1@128.224.95.181</a> 'lttng list'</div><div>Currently no available tracing session</div><div><br></div><div><br></div><div>+ ssh <a href="mailto:root@128.224.95.181">root@128.224.95.181</a> 'ps -ef | grep lttng'</div><div>trace1 5134 1 0 14:21 ? 00:00:00 lttng-sessiond --daemonize</div><div>trace1 5135 5134 0 14:21 ? 00:00:00 lttng-runas --daemonize</div><div>root 5157 1 14 14:21 ? 00:00:00 lttng-sessiond --daemonize</div><div>root 5158 5157 0 14:21 ? 00:00:00 lttng-runas --daemonize</div><div>root 5189 5185 0 14:21 ? 00:00:00 sh -c ps -ef | grep lttng</div><div>root 5191 5189 0 14:21 ? 00:00:00 /bin/busybox.nosuid /bin/grep lttng</div></div><div><br></div><div><br></div><div>I've tried it on 2.5 as well with the same result.</div><div><br clear="all"><div><div class="gmail_signature">Anders Wallin</div></div>
</div></div>