Summary: | /etc/init.d/$foo status should not error for the normal user | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Roy Marples <roy> |
Component: | OpenRC | Assignee: | 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 |
Also adds a nicer error message if cgroups are enabled but not writeable when a non root user does /etc/init.d/foo bar I just now saw this, so I'll take a look at it tomorrow. This is applied in commit 5065844 and will be part of OpenRC-0.14. Thanks for the report. |
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