Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Weng Meiling
On 2013/9/27 11:57, Dhaval Giani wrote: > > Clearly this rule is invalid. So yes, I would expect cgrules to fail. > (What to do with all processes for all users). I think the behavior is > just fine. > > Dhaval > > yeah, but what do you think the different behav

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Qiang Huang
On 2013/9/27 11:58, Weng Meiling wrote: > On 2013/9/27 11:50, Steve Olivieri wrote: >> >> >>> On 2013/9/27 10:13, Dhaval Giani wrote: On Thu, Sep 26, 2013 at 9:43 PM, Weng Meiling wrote: > On 2013/9/27 9:20, Dhaval Giani wrote: >> On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling >>>

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Weng Meiling
On 2013/9/27 11:50, Steve Olivieri wrote: > > >> On 2013/9/27 10:13, Dhaval Giani wrote: >>> On Thu, Sep 26, 2013 at 9:43 PM, Weng Meiling >>> wrote: On 2013/9/27 9:20, Dhaval Giani wrote: > On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling > wrote: >> Hi Ivana, >> >>

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Dhaval Giani
Clearly this rule is invalid. So yes, I would expect cgrules to fail. (What to do with all processes for all users). I think the behavior is just fine. Dhaval >>> yeah, but what do you think the different behaviour between >>> the two similar rules? the '*#'

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Steve Olivieri
> On 2013/9/27 10:13, Dhaval Giani wrote: >> On Thu, Sep 26, 2013 at 9:43 PM, Weng Meiling >> wrote: >>> On 2013/9/27 9:20, Dhaval Giani wrote: On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling wrote: > Hi Ivana, > >what do you think about this question ? > > T

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Weng Meiling
On 2013/9/27 10:13, Dhaval Giani wrote: > On Thu, Sep 26, 2013 at 9:43 PM, Weng Meiling > wrote: >> On 2013/9/27 9:20, Dhaval Giani wrote: >>> On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling >>> wrote: Hi Ivana, what do you think about this question ? Thanks! We

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Dhaval Giani
On Thu, Sep 26, 2013 at 9:43 PM, Weng Meiling wrote: > On 2013/9/27 9:20, Dhaval Giani wrote: >> On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling >> wrote: >>> Hi Ivana, >>> >>>what do you think about this question ? >>> >>> Thanks! >>> Weng Meiling >>> >>> On 2013/9/3 9:25, Weng Meiling wro

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Weng Meiling
On 2013/9/27 9:20, Dhaval Giani wrote: > On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling > wrote: >> Hi Ivana, >> >>what do you think about this question ? >> >> Thanks! >> Weng Meiling >> >> On 2013/9/3 9:25, Weng Meiling wrote: >>> Hi Ivana, >>> >>> what do you think about this que

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Dhaval Giani
On Thu, Sep 26, 2013 at 9:05 PM, Weng Meiling wrote: > Hi Ivana, > >what do you think about this question ? > > Thanks! > Weng Meiling > > On 2013/9/3 9:25, Weng Meiling wrote: >> Hi Ivana, >> >> what do you think about this question ? >> >> Thanks! >> Weng Meiling >> >> On 2013/8/

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-26 Thread Weng Meiling
Hi Ivana, what do you think about this question ? Thanks! Weng Meiling On 2013/9/3 9:25, Weng Meiling wrote: > Hi Ivana, > > what do you think about this question ? > > Thanks! > Weng Meiling > > On 2013/8/9 9:54, Weng Meiling wrote: >> >> From: Weng Meiling >> >> Any line sta

Re: [Libcg-devel] [RFC] cgred: parse the character '#' in cgrules.conf correctlly

2013-09-02 Thread Weng Meiling
Hi Ivana, what do you think about this question ? Thanks! Weng Meiling On 2013/8/9 9:54, Weng Meiling wrote: > > From: Weng Meiling > > Any line starting with '#' in cgconfig.conf is considered a comment > and is ignored. But in cgrules.conf, no matter where the character > '#' is, it