[lttng-dev] What is the point of the lttng --group option?

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Fri May 31 12:39:48 EDT 2013


   In order for a user-level (non-sudoed) lttng command to be handled by the root lttng-sessiond daemon, the stars have to be properly aligned:

* The root daemon has to be running
* There must not be an lttng-sessiond daemon running for that user (other users' lttng-sessiond daemons are ignored)
* The user must belong to the root daemon's group name ('tracing' unless the lttng-sessiond --group option was used to set it to something else)

   Otherwise the user-level lttng command is handled by the user's local lttng-sessiond daemon (which is spawned if not already running).

   Specifying the lttng --group makes no difference.  Whether you belong to it or not, the success of your non-sudoed root daemon command is decided by the three bullets listed above.

   So what is this option supposed to be used for?
 
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/>



More information about the lttng-dev mailing list