Dhaval Giani wrote:
> On Tue, Dec 01, 2009 at 03:51:51PM +0530, Rishikesh wrote:
>
>> Hi List,
>>
>> While using libcg from latest git as per today i found this bug.
>> Initially i had config file like :
>> [r...@mhs21a ~]# cat /etc/cgconfig.conf.old
>> mount {
>> cpuset = /mnt/cgroups/cpuset;
>> }
>> group usergroup {
>> cpuset {
>> cpuset.cpus = 0;
>> cpuset.mems = 0-100;
>> }
>> }
>> [r...@mhs21a ~]#
>>
>>
>> And i edited my config file as:
>>
>> [r...@mhs21a ~]# cat /etc/cgconfig.conf
>> group daemons/ftp {
>> perm {
>> task {
>> uid = root;
>> gid = root;
>> }
>> admin {
>> uid = root;
>> gid = root;
>> }
>> }
>> cpu {
>> cpu.shares = 1500;
>> notify_on_release = 0;
>> cpu.rt_runtime_us = 100;
>> }
>> }
>>
>> mount {
>> cpu = /mnt/cgroups/cpu;
>> cpuacct = /mnt/cgroups/cpuacct;
>> }
>>
>> [r...@mhs21a ~]#
>>
>> When i changed this config file and restarted the cgconfig services, i am
>> getting following missing file, which cgconfig still looking into it.
>>
>> [r...@mhs21a ~]# service cgconfig restart
>> Stopping cgconfig service: [ OK ]
>> Starting cgconfig service: chmod: cannot access
>>
>
> Which version of the scrpits are you using?
>
> With the latest set scripts on git, I don't have any issues.
>
> (I have looked into the line mentioned in your error message, and it
> does not match on the latest git)
>
Hmm... You are correct, i thought make install will update that, but
what i found is it is not installing cgconfig script to /etc/init.d/ .
I think this is another problem, how i verified is i just removed the
distro rpm, and tried to compile and install libcg git code.
-Rishi
> Thanks,
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel