<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libcg.git/scripts, branch fix-initscripts</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/'/>
<entry>
<title>Start the config earlier</title>
<updated>2009-03-09T10:44:41+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-03-09T10:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=8114e393c9823380986cfbe57e64875e1506a6ed'/>
<id>8114e393c9823380986cfbe57e64875e1506a6ed</id>
<content type='text'>
We could start cgconfig service earlier, even before network and syslog.
$local_fs is not needed, because /bin, /sbin and /etc are guaranteed by
rc.sysinit (see Fedora bug #309001,
https://bugzilla.redhat.com/show_bug.cgi?id=309001).

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We could start cgconfig service earlier, even before network and syslog.
$local_fs is not needed, because /bin, /sbin and /etc are guaranteed by
rc.sysinit (see Fedora bug #309001,
https://bugzilla.redhat.com/show_bug.cgi?id=309001).

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcgroup: Dont check for success of moved tasks</title>
<updated>2009-03-04T09:52:49+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2009-03-03T14:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=19da8166649f449e2762aacdeedcbfefe4ef5c5c'/>
<id>19da8166649f449e2762aacdeedcbfefe4ef5c5c</id>
<content type='text'>
Sometime the movement of tasks in the default cgroup can fail for
various reasons. Therefore, do not check for the success of the
movement of tasks.

Justification: These are generally for cgroups which need some special
setup, for example the RT group scheduler. This is not handled by the
library whihc is generic. If a user is intersted in these working, they
will setup a default cgroup in the config files whihc handle everything
they need.

Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
Tested-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometime the movement of tasks in the default cgroup can fail for
various reasons. Therefore, do not check for the success of the
movement of tasks.

Justification: These are generally for cgroups which need some special
setup, for example the RT group scheduler. This is not handled by the
library whihc is generic. If a user is intersted in these working, they
will setup a default cgroup in the config files whihc handle everything
they need.

Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
Tested-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcgroup: Rename 'flash' to 'reload'</title>
<updated>2009-02-26T11:53:08+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2009-02-26T11:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=8da65f1397acc2acb73d3e2da46808516bd9cd08'/>
<id>8da65f1397acc2acb73d3e2da46808516bd9cd08</id>
<content type='text'>
LSB specifies that 'reload' is the right initscript parameter to stimulate
daemon to reread its configuration file. I let the 'flash' still working, in
case somebody is used to it, but do not advertise it anywhere.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@352 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LSB specifies that 'reload' is the right initscript parameter to stimulate
daemon to reread its configuration file. I let the 'flash' still working, in
case somebody is used to it, but do not advertise it anywhere.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@352 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>libcgroup: Start cgred service after cgconfig</title>
<updated>2009-02-26T11:50:23+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2009-02-26T11:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=472d63587b6d9b602e870592c779a51bc8e3fd64'/>
<id>472d63587b6d9b602e870592c779a51bc8e3fd64</id>
<content type='text'>
From: Jan Safranek &lt;jsafrane@redhat.com&gt;

cgred should start after cgconfig service

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@351 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Jan Safranek &lt;jsafrane@redhat.com&gt;

cgred should start after cgconfig service

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@351 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>From: Ivana Varekova &lt;varekova@redhat.com&gt;</title>
<updated>2009-02-23T14:41:10+00:00</updated>
<author>
<name>Balbir Singh</name>
<email>balbir@linux.vnet.ibm.com</email>
</author>
<published>2009-02-23T14:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=680b9e7311f8ccd0fa5190ec31a5274fbcd8a4be'/>
<id>680b9e7311f8ccd0fa5190ec31a5274fbcd8a4be</id>
<content type='text'>
This patch fixes spec file handling of daemon parts of libcg 
(add chkconfig to post and including dependency, fix preun script).
And fix the levels in which is this daemon start by default (should not be any).

Signed-off-by: Ivana Varekova &lt;varekova@redhat.com&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@338 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes spec file handling of daemon parts of libcg 
(add chkconfig to post and including dependency, fix preun script).
And fix the levels in which is this daemon start by default (should not be any).

Signed-off-by: Ivana Varekova &lt;varekova@redhat.com&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@338 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>From: Ivana Varekova &lt;varekova@redhat.com&gt;</title>
<updated>2009-02-23T14:10:58+00:00</updated>
<author>
<name>Balbir Singh</name>
<email>balbir@linux.vnet.ibm.com</email>
</author>
<published>2009-02-23T14:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=570bace5f2ba75f4fcc10a75c72726e8706cf14c'/>
<id>570bace5f2ba75f4fcc10a75c72726e8706cf14c</id>
<content type='text'>
This patch changes cgconfig.conf - comment all rows and rename
example values - to have example which should be installed to /etc/.
Move cgred to /etc/sysconfig and patch spec to install all 
/etc/* configuration files (at least they shows examples and 
help to user to do their own configuration).).

Signed-off-by: Ivana Varekova &lt;varekova@redhat.com&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

NOTE: The spec file is still broken due to lack of packaging of pam_cgroup.so.




git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@337 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes cgconfig.conf - comment all rows and rename
example values - to have example which should be installed to /etc/.
Move cgred to /etc/sysconfig and patch spec to install all 
/etc/* configuration files (at least they shows examples and 
help to user to do their own configuration).).

Signed-off-by: Ivana Varekova &lt;varekova@redhat.com&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

NOTE: The spec file is still broken due to lack of packaging of pam_cgroup.so.




git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@337 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>libcgroup: Add new command line options to sample config file</title>
<updated>2009-02-12T16:05:00+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2009-02-12T16:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=769ad7af2b82f8c030cc3d6cabaf480606a72d3e'/>
<id>769ad7af2b82f8c030cc3d6cabaf480606a72d3e</id>
<content type='text'>
From: Jan Safranek &lt;jsafrane@redhat.com&gt;

Add new command line options to sample config file

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@322 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Jan Safranek &lt;jsafrane@redhat.com&gt;

Add new command line options to sample config file

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@322 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>libcgroup: Add default group to cgconfig</title>
<updated>2008-12-16T17:29:38+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2008-12-16T17:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=db31da44a34b96e4c242a737a7cb1bdea2c3ce1c'/>
<id>db31da44a34b96e4c242a737a7cb1bdea2c3ce1c</id>
<content type='text'>
From: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

As discussed in the previous thread
http://article.gmane.org/gmane.comp.lib.libcg.devel/139, we don't have
the concept of default groups and tasks should be able to return back
to their default group when done.

Here is a fix to the cgconfig script to fix the issue. Please review,
comment on it.

Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@238 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

As discussed in the previous thread
http://article.gmane.org/gmane.comp.lib.libcg.devel/139, we don't have
the concept of default groups and tasks should be able to return back
to their default group when done.

Here is a fix to the cgconfig script to fix the issue. Please review,
comment on it.

Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@238 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>libcgroup: Fix broken cgred</title>
<updated>2008-12-16T17:20:11+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2008-12-16T17:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=802c4cab60c6d067d49b1422694a2a6858e98940'/>
<id>802c4cab60c6d067d49b1422694a2a6858e98940</id>
<content type='text'>
From: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

cgred is broken, in that there are some checks that fail and we use
--config to start the daemon and that is not supported. We also use
-12 as the signal to killproc.

This patch fixes all of those issues

Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@237 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

cgred is broken, in that there are some checks that fail and we use
--config to start the daemon and that is not supported. We also use
-12 as the signal to killproc.

This patch fixes all of those issues

Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@237 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
<entry>
<title>libcgroup: Add default group to cgconfig</title>
<updated>2008-12-16T17:14:33+00:00</updated>
<author>
<name>Dhaval Giani</name>
<email>dhaval@linux.vnet.ibm.com</email>
</author>
<published>2008-12-16T17:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=dcb708a93e68ef4395fe9af88275bafc91aa3fa1'/>
<id>dcb708a93e68ef4395fe9af88275bafc91aa3fa1</id>
<content type='text'>
From: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

As discussed in the previous thread
http://article.gmane.org/gmane.comp.lib.libcg.devel/139, we don't have
the concept of default groups and tasks should be able to return back
to their default group when done.

Here is a fix to the cgconfig script to fix the issue. Please review,
comment on it.

Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@236 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;

As discussed in the previous thread
http://article.gmane.org/gmane.comp.lib.libcg.devel/139, we don't have
the concept of default groups and tasks should be able to return back
to their default group when done.

Here is a fix to the cgconfig script to fix the issue. Please review,
comment on it.

Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;



git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@236 4f4bb910-9a46-0410-90c8-c897d4f1cd53
</pre>
</div>
</content>
</entry>
</feed>
