1 |
On Saturday 14 Dec 2013 09:17:01 Khumba wrote: |
2 |
> On Tue, 10 Dec 2013 15:56:13 +0000 |
3 |
> |
4 |
> Peter Humphrey <peter@××××××××××××.uk> wrote: |
5 |
> > Hi list, |
6 |
> > |
7 |
> > Recently I've been finding that BOINC has just stopped. It doesn't show up |
8 |
> > in ps -ax and I can't see anything helpful in its logs. Every time I |
9 |
> > query its status I get this, which is new: |
10 |
> > |
11 |
> > $ /etc/init.d/boinc status |
12 |
> > /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpu/tasks: Permission |
13 |
> > denied /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpuacct/tasks: |
14 |
> > Permission denied /lib64/rc/sh/rc-cgroup.sh: line 80: |
15 |
> > /sys/fs/cgroup/cpuset/tasks: Permission denied /lib64/rc/sh/rc-cgroup.sh: |
16 |
> > line 80: /sys/fs/cgroup/freezer/tasks: Permission denied |
17 |
> > /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/openrc/tasks: |
18 |
> > Permission denied mkdir: cannot create directory |
19 |
> > ‘/sys/fs/cgroup/openrc/boinc’: Permission denied |
20 |
> > /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpu/tasks: Permission |
21 |
> > denied /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/cpuacct/tasks: |
22 |
> > Permission denied /lib64/rc/sh/rc-cgroup.sh: line 80: |
23 |
> > /sys/fs/cgroup/cpuset/tasks: Permission denied /lib64/rc/sh/rc-cgroup.sh: |
24 |
> > line 80: /sys/fs/cgroup/freezer/tasks: Permission denied |
25 |
> > /lib64/rc/sh/rc-cgroup.sh: line 80: /sys/fs/cgroup/openrc/tasks: |
26 |
> > Permission denied mkdir: cannot create directory |
27 |
> > ‘/sys/fs/cgroup/openrc/boinc’: Permission denied> |
28 |
> > * status: started |
29 |
> |
30 |
> FYI I got these errors simply when I queried the status of a service |
31 |
> as a normal user, rather than root, but the final status line was |
32 |
> still correct IIRC (on systemd now though, can't verify). Was on |
33 |
> hardened at the time, if that matters. |
34 |
|
35 |
Ah, so that's what's changed - thanks. |
36 |
|
37 |
I wonder why querying the status of a service requires the creation of |
38 |
directories under /sys/fs/cgroup. Also whether I can configure cgroups in the |
39 |
kernel somehow to allow an ordinary user to query a status, as used to be |
40 |
possible without throwing errors. This is indeed an openrc system, as you |
41 |
imply, there being nothing to push me towards systemd since I don't run gnome. |
42 |
|
43 |
That just leaves the mysterious stopping of BOINC to watch out for. |
44 |
|
45 |
-- |
46 |
Regards |
47 |
Peter |