[lttng-dev] A problem

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Mar 6 10:39:45 EST 2012


* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> -----Message d'origine-----
> Message: 5
> Date: Fri, 2 Mar 2012 18:18:07 -0500
> From: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> Subject: Re: [lttng-dev] A problem
> 
>     Fix: meaningful error message
>     
>     Show a meaningful error message to users attempting to do kernel tracing
>     without root sessiond/tracing group creds.
>     
> e.g.:
> 
> compudj at thinkos:~$ lttng enable-event -k -a
> Error: A root sessiond needs to be running, and user part of the "tracing" group, to activate kernel tracing
> ------------------------------
> 
>    The English of the message could be improved.  How about this?
> 
> Error: Tracing the kernel requires a root sessiond daemon and user membership in the "tracing" group

I took something derived from your proposal, pushed with commit:

commit 30905cf43c5d22fff11b8025bf09dc9b82659c18
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Tue Mar 6 10:40:06 2012 -0500

    Fix: improve need root for kernel tracing error message
    
    Reported-by: "Thibault, Daniel" <Daniel.Thibault at drdc-rddc.gc.ca>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Thanks,

Mathieu


> 
> Daniel U. Thibault
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
> Système de systèmes (SdS) / System of Systems (SoS)
> Solutions informatiques et expérimentations (SIE) / Computing Solutions and Experimentations (CSE)
> 2459 Boul. Pie XI Nord
> Québec, QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC: 918V QSDJ
> Gouvernement du Canada / Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list