[lttng-dev] [PATCH lttng-tools] Fix:LTTNG_ERR_NEED_ROOT_SESSIOND error message

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Aug 8 11:32:56 EDT 2013


* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> -----Message d'origine-----
> De : Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com] 
> Envoyé : 8 août 2013 11:22
> 
> * Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> >    Unless there's been a change in the code, that is just not true.  You can trace the kernel just fine without 'tracing' group membership, as long as you have sudo privileges (and can thus call 'sudo -H lttng').  The root daemon is necessary either way: the text should just read "Tracing the kernel requires a root lttng-sessiond daemon".
> 
> The actual right way to word it would be:
> 
> Tracing the kernel requires a root lttng-sessiond daemon, as well as \"tracing\" group membership or root user ID for the lttng client.
> 
> Makes sense ?
> 
> Mathieu
> -----Fin du message d'origine-----
> 
>    Yeah, that's a fairly good way of saying you need a root
>    lttng-sessiond daemon and some means of giving it instructions.
>    Since it is theoretically possible for a third-party application to
>    send instructions directly to the root lttng-sessiond daemon (using
>    the API) without using the lttng client, maybe that could be
>    phrased "... or root user ID for lttng clients."  (Or am I mistaken
>    in that belief?)

That's right. It seems clear to me.

Thanks,

Mathieu

> 
> Daniel U. Thibault
> Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
> Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
> 2459 route de la Bravoure
> Québec QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada | Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list