Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 522408

Summary: /etc/init.d/$foo status should not error for the normal user
Product: Gentoo Hosted Projects Reporter: Roy Marples <roy>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 520144    
Attachments: Don't apply cgroup settings when running only status or describe

Description Roy Marples 2014-09-08 21:34:02 UTC
Created attachment 384418 [details, diff]
Don't apply cgroup settings when running only status or describe

cgroup settings are applied indiscriminately, regardless of runscript commands to be run
Comment 1 Roy Marples 2014-09-08 21:34:43 UTC
Also adds a nicer error message if cgroups are enabled but not writeable when a non root user does /etc/init.d/foo bar
Comment 2 William Hubbs gentoo-dev 2014-09-09 07:35:10 UTC
I just now saw this, so I'll take a look at it tomorrow.
Comment 3 William Hubbs gentoo-dev 2014-09-11 19:08:54 UTC
This is applied in commit 5065844 and will be part of OpenRC-0.14.
Thanks for the report.