<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libcg.git, 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>Make cgclear quiert when there is nothing to clear.</title>
<updated>2009-12-22T08:24:04+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=054e8bb87a19d9a69d6c4ea509a8d2d4cb70aa01'/>
<id>054e8bb87a19d9a69d6c4ea509a8d2d4cb70aa01</id>
<content type='text'>
Cgclear clears and unmounts all controllers. Therefore I think it's not an
error when there is nothing to clear and unmount.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cgclear clears and unmounts all controllers. Therefore I think it's not an
error when there is nothing to clear and unmount.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.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>Add sample /etc/sysconfig/cgconfig</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=1a488af91a583fc7160f94be0da10671150b626a'/>
<id>1a488af91a583fc7160f94be0da10671150b626a</id>
<content type='text'>
Feel free to rephrase it's content, I could not find any better words to
describe sysdefault group usability.

Changelog:
 - set the default to 'yes'

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Feel free to rephrase it's content, I could not find any better words to
describe sysdefault group usability.

Changelog:
 - set the default to 'yes'

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.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>Remove trailing space from lssubsys output</title>
<updated>2009-12-22T08:23:39+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=bb84d7259cc21e0f354e210d3dd1266668ed9642'/>
<id>bb84d7259cc21e0f354e210d3dd1266668ed9642</id>
<content type='text'>
Remove trailing space from lssubsys output, it can confuse scripts.

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>
Remove trailing space from lssubsys output, it can confuse scripts.

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>Fix reading of empty parameter values</title>
<updated>2009-12-22T08:16:48+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=902795e9a894bd6d5836c0e473bdafe5669a7dc1'/>
<id>902795e9a894bd6d5836c0e473bdafe5669a7dc1</id>
<content type='text'>
When a group parameter has empty value (like uninitialized cpuset.cpus),
libcgroup does not return this parameter value - it returns
ECGROUPVALUENOTEXIST instead.

I think reading whole parameter file instead of just '%s' is the right thing
to do - it helps also with multiline values, like cpuacct.stat.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a group parameter has empty value (like uninitialized cpuset.cpus),
libcgroup does not return this parameter value - it returns
ECGROUPVALUENOTEXIST instead.

I think reading whole parameter file instead of just '%s' is the right thing
to do - it helps also with multiline values, like cpuacct.stat.

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error text on failed reading of parameter.</title>
<updated>2009-12-22T08:16:45+00:00</updated>
<author>
<name>Jan Safranek</name>
<email>jsafrane@redhat.com</email>
</author>
<published>2009-12-22T08:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jsafrane/public_git/libcg.git/commit/?id=a875ed35ec110a68c02b95762547f1989e2c6fb6'/>
<id>a875ed35ec110a68c02b95762547f1989e2c6fb6</id>
<content type='text'>
ECGROUPVALUENOTEXIST is translated by cgroup_strerr to "Cgroup trying to set
value for control that does not exist". This is wrong, because the error
code is being returned also when *reading* non-existing value,

I propose "Cgroup, requested group parameter does not exist".

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ECGROUPVALUENOTEXIST is translated by cgroup_strerr to "Cgroup trying to set
value for control that does not exist". This is wrong, because the error
code is being returned also when *reading* non-existing value,

I propose "Cgroup, requested group parameter does not exist".

Signed-off-by: Jan Safranek &lt;jsafrane@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
