On 11/09/2010 11:39 AM, Ivana Hutarova Varekova wrote: > This patch fixes init script to use -f and -d options for cgcreate when it > creates > sysdefault control groups > > CHANGELOG: > * fix the permission tags (used the permission numbers which jan suggested) > > Signed-off-by: Ivana Hutarova Varekova<[email protected]>
Acked-By: Jan Safranek <[email protected]> > --- > > 0 files changed, 0 insertions(+), 0 deletions(-) > > diff --git a/scripts/init.d/cgconfig.in b/scripts/init.d/cgconfig.in > index 773df8a..0b3afd2 100644 > --- a/scripts/init.d/cgconfig.in > +++ b/scripts/init.d/cgconfig.in > @@ -84,7 +84,7 @@ create_default_groups() { > # Create the default group, ignore errors when the default group > # already exists. > # > - cgcreate -g $controllers:$defaultcgroup 2>/dev/null > + cgcreate -f 664 -d 775 -g $controllers:$defaultcgroup 2>/dev/null > > # > # special rule for cpusets > > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
