Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500364 - Executing status under non root account should not produce errors
Summary: Executing status under non root account should not produce errors
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:
: 510636 (view as bug list)
Depends on:
Blocks: 481182
  Show dependency tree
 
Reported: 2014-02-05 12:52 UTC by Alon Bar-Lev (RETIRED)
Modified: 2014-08-07 21:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-05 12:52:40 UTC
Please see the following example.

Thanks!

$ /etc/init.d/dnsmasq status
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpu/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpuacct/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpuset/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/devices/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/freezer/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/memory/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/openrc/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 87: /sys/fs/cgroup/openrc/dnsmasq/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpu/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpuacct/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpuset/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/devices/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/freezer/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/memory/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/openrc/tasks: Permission denied
/lib64/rc/sh/rc-cgroup.sh: line 87: /sys/fs/cgroup/openrc/dnsmasq/tasks: Permission denied
 * status: started
Comment 1 Alexander Vershilov (RETIRED) gentoo-dev 2014-02-16 00:38:29 UTC
Relevant pull request:

  https://github.com/OpenRC/openrc/pull/16

There will be a round of discussion about: 

1). do we need to suppress warnings in rc-cgroups.sh

2). when we need to add set cgroup limits and add process to the service cgroup

After that discussion will be finished patches will be applied.
Comment 2 William Hubbs gentoo-dev 2014-07-10 17:28:37 UTC
This has been added in commit 1a44be0 and will be part of OpenRC-0.13.
Comment 3 William Hubbs gentoo-dev 2014-08-07 21:36:06 UTC
*** Bug 510636 has been marked as a duplicate of this bug. ***