<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libcg.git/scripts, branch master</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>git: hide all generated files from git</title>
<updated>2010-03-24T16:06:20+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>mzyvopt@0pointer.de</email>
</author>
<published>2010-03-24T14:53:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=bdc36c15b77dd7db3720540efbd164899bee53c0'/>
<id>bdc36c15b77dd7db3720540efbd164899bee53c0</id>
<content type='text'>
Signed-off-by: Lennart Poettering &lt;lennart@poettering.net&gt;
Reviewed-By: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval.giani@gmail.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval.giani@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lennart Poettering &lt;lennart@poettering.net&gt;
Reviewed-By: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval.giani@gmail.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval.giani@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>init script can miss default group</title>
<updated>2010-03-11T12:05:30+00:00</updated>
<author>
<name>Chris</name>
<email>libcg@deksai.com</email>
</author>
<published>2010-03-09T16:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=dcad7dc8d5e57b23948556dac22ec932d04e5e8c'/>
<id>dcad7dc8d5e57b23948556dac22ec932d04e5e8c</id>
<content type='text'>
If there is a directive like *:httpd before * in the cgconfig file, all
processes end up being moved into the wrong group on cgconfig startup, and
the default group is never made. This fixes it for me:

Signed-off-by: Chris Tasma &lt;chris@deksai.com&gt;
Acked-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval.giani@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is a directive like *:httpd before * in the cgconfig file, all
processes end up being moved into the wrong group on cgconfig startup, and
the default group is never made. This fixes it for me:

Signed-off-by: Chris Tasma &lt;chris@deksai.com&gt;
Acked-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval.giani@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix initstripts directory.</title>
<updated>2010-01-19T11:31:24+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2010-01-18T12:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=8f67369d06c5af423fa5ff1f352724fdb067cc98'/>
<id>8f67369d06c5af423fa5ff1f352724fdb067cc98</id>
<content type='text'>
Put initscipts to /etc/rc.d/init.d, rpm's %{_initrddir} points there.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Put initscipts to /etc/rc.d/init.d, rpm's %{_initrddir} points there.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up the init script</title>
<updated>2009-12-22T08:24:52+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=ff056dae8a4218a9b6843046364c73528294ccc1'/>
<id>ff056dae8a4218a9b6843046364c73528294ccc1</id>
<content type='text'>
Some parts of the init script are not needed with the recent changes.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some parts of the init script are not needed with the recent changes.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use tools instead of shell scripts</title>
<updated>2009-12-22T08:24:25+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:24:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=22cffbd5d463ce21205f7539d2c099b5a81295de'/>
<id>22cffbd5d463ce21205f7539d2c099b5a81295de</id>
<content type='text'>
libcgroup now provides some tools, which can be used in the init script
instead of bash code.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libcgroup now provides some tools, which can be used in the init script
instead of bash code.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use cgclear on shutdown</title>
<updated>2009-12-22T08:23:53+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=a75d6e2f87022d4ad6e0d1a50a06cfdee435e813'/>
<id>a75d6e2f87022d4ad6e0d1a50a06cfdee435e813</id>
<content type='text'>
Use cgclear on service cgconfig stop, it's much faster than manual group
removal.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use cgclear on service cgconfig stop, it's much faster than manual group
removal.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Acked-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't create sysdefault group whent it's not needed</title>
<updated>2009-12-22T08:23:42+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=ff35955379053d1134cf020590c2e0cbdb76a946'/>
<id>ff35955379053d1134cf020590c2e0cbdb76a946</id>
<content type='text'>
IMHO most of users don't need sysdefault group being created during boot -
it's quite slow and at least in Fedora there is no application using it.

So, let users to configure it and allow them to turn the sysdefault off.

Whether the option should be enabled/disabled is distro-specific, we as
libcgroup turn it on.

Changelog:
 - create the sysdefault group by default

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IMHO most of users don't need sysdefault group being created during boot -
it's quite slow and at least in Fedora there is no application using it.

So, let users to configure it and allow them to turn the sysdefault off.

Whether the option should be enabled/disabled is distro-specific, we as
libcgroup turn it on.

Changelog:
 - create the sysdefault group by default

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move sysdefault handling to separate function</title>
<updated>2009-12-22T08:23:42+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=bbd42c7888fe7500bae0b01c03bff5bb8e314bf4'/>
<id>bbd42c7888fe7500bae0b01c03bff5bb8e314bf4</id>
<content type='text'>
Move sysdefault handling to separate function - it simplifies following
patch.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move sysdefault handling to separate function - it simplifies following
patch.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Install init scripts during 'make install'</title>
<updated>2009-12-16T08:33:20+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-14T08:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=d7bc0967e22e21f1d74d50aa1e3b7c95ab2a2f15'/>
<id>d7bc0967e22e21f1d74d50aa1e3b7c95ab2a2f15</id>
<content type='text'>
Install init scripts during 'make install'.

I am not sure this is right thing to do, all the other projects I
participate in do not install their init scripts, but Dhaval thinks it's
nice to have it.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Install init scripts during 'make install'.

I am not sure this is right thing to do, all the other projects I
participate in do not install their init scripts, but Dhaval thinks it's
nice to have it.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Specify the full path of cgrulesengd command in cgred.</title>
<updated>2009-05-18T08:14:39+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>oomichi@mxs.nes.nec.co.jp</email>
</author>
<published>2009-05-15T00:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=20f24274f8e4a842621189af680044e0a4948bdd'/>
<id>20f24274f8e4a842621189af680044e0a4948bdd</id>
<content type='text'>
Hi,

I installed libcgroup by `make install`, and the service "cgred"
didn't work like the following:

 # service cgred start
 Starting CGroup Rules Engine Daemon...
 /bin/bash: cgrulesengd: command not found
                                                           [FAILED]
 #

The cause is why the function "daemon" cannot find cgrulesengd
command. This patch fixes the problem by specifying the full path
of cgrulesengd command.

Thanks
Ken'ichi Ohmichi

Signed-off-by: Ken'ichi Ohmichi &lt;oomichi@mxs.nes.nec.co.jp&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hi,

I installed libcgroup by `make install`, and the service "cgred"
didn't work like the following:

 # service cgred start
 Starting CGroup Rules Engine Daemon...
 /bin/bash: cgrulesengd: command not found
                                                           [FAILED]
 #

The cause is why the function "daemon" cannot find cgrulesengd
command. This patch fixes the problem by specifying the full path
of cgrulesengd command.

Thanks
Ken'ichi Ohmichi

Signed-off-by: Ken'ichi Ohmichi &lt;oomichi@mxs.nes.nec.co.jp&gt;
Signed-off-by: Dhaval Giani &lt;dhaval@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
