<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libcg.git/scripts, branch devel/config3</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>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>
<entry>
<title>This patch fixes a trivial comment typo about the cgred.</title>
<updated>2009-05-14T05:14:36+00:00</updated>
<author>
<name>Masayuki Igawa</name>
<email>igawa@mxs.nes.nec.co.jp</email>
</author>
<published>2009-05-13T02:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=e9c5c4ca18d33a1ae6e4b5c6f3c6076f34491d15'/>
<id>e9c5c4ca18d33a1ae6e4b5c6f3c6076f34491d15</id>
<content type='text'>
Signed-off-by: Masayuki Igawa &lt;igawa@mxs.nes.nec.co.jp&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>
Signed-off-by: Masayuki Igawa &lt;igawa@mxs.nes.nec.co.jp&gt;
Signed-off-by: Balbir Singh &lt;balbir@linux.vnet.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the path of cgrulesengd command.</title>
<updated>2009-05-08T06:40:16+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>oomichi@mxs.nes.nec.co.jp</email>
</author>
<published>2009-05-08T06:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=3f58370c2535e0fe875bf60984098f4bedc42b33'/>
<id>3f58370c2535e0fe875bf60984098f4bedc42b33</id>
<content type='text'>
Change the binary path for cgred to sbindir

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>
Change the binary path for cgred to sbindir

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>
<entry>
<title>Generate paths in initscripts by configure script</title>
<updated>2009-05-08T05:15:25+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-04-14T11:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=47045ddcf5e98fec52174fc075a7e61291aeaa75'/>
<id>47045ddcf5e98fec52174fc075a7e61291aeaa75</id>
<content type='text'>
Change the hardcoded paths in initscripts to dynamically generated ones. The
real executable path $bindir can be constructed using $prefix and $exec_prefix
variables, therefore it's necessary to define also these two.

The patch includes removal of old initscripts from git - they are generated
from .in file now.

I did not run autoreconf, I think the generated junk is being removed from git
soon.

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>
Change the hardcoded paths in initscripts to dynamically generated ones. The
real executable path $bindir can be constructed using $prefix and $exec_prefix
variables, therefore it's necessary to define also these two.

The patch includes removal of old initscripts from git - they are generated
from .in file now.

I did not run autoreconf, I think the generated junk is being removed from git
soon.

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>
</feed>
