Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522408 - /etc/init.d/$foo status should not error for the normal user
Summary: /etc/init.d/$foo status should not error for the normal user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openrc-0.14
  Show dependency tree
 
Reported: 2014-09-08 21:34 UTC by Roy Marples
Modified: 2014-09-11 19:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Don't apply cgroup settings when running only status or describe (runscript-status.diff,1.25 KB, patch)
2014-09-08 21:34 UTC, Roy Marples
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.