On Saturday 14 Dec 2013 09:17:01 Khumba wrote:
> On Tue, 10 Dec 2013 15:56:13 +0000
> 
> Peter Humphrey <[email protected]> wrote:
> > Hi list,
> > 
> > Recently I've been finding that BOINC has just stopped. It doesn't show up
> > in ps -ax and I can't see anything helpful in its logs. Every time I
> > query its status I get this, which is new:
> > 
> > $ /etc/init.d/boinc 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/freezer/tasks: Permission denied
> > /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/openrc/tasks:
> > Permission denied mkdir: cannot create directory
> > ‘/sys/fs/cgroup/openrc/boinc’: 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/freezer/tasks: Permission denied
> > /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/openrc/tasks:
> > Permission denied mkdir: cannot create directory
> > ‘/sys/fs/cgroup/openrc/boinc’: Permission denied> 
> >  * status: started
> 
> FYI I got these errors simply when I queried the status of a service
> as a normal user, rather than root, but the final status line was
> still correct IIRC (on systemd now though, can't verify).  Was on
> hardened at the time, if that matters.

Ah, so that's what's changed - thanks.

I wonder why querying the status of a service requires the creation of 
directories under /sys/fs/cgroup. Also whether I can configure cgroups in the 
kernel somehow to allow an ordinary user to query a status, as used to be 
possible without throwing errors. This is indeed an openrc system, as you 
imply, there being nothing to push me towards systemd since I don't run gnome.

That just leaves the mysterious stopping of BOINC to watch out for.

-- 
Regards
Peter


Reply via email to