* [gentoo-user] [OT] What's happened to BOINC recently?
@ 2013-12-10 15:56 Peter Humphrey
2013-12-14 17:17 ` Khumba
0 siblings, 1 reply; 3+ messages in thread
From: Peter Humphrey @ 2013-12-10 15:56 UTC (permalink / raw
To: gentoo-user
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
I installed BOINC from the ebuild, not by getting it from berkeley.edu. The
only changes I've made are to install its data directory under my home
directory (/home/prh/boinc), added myself to the boinc group and chown'd
everything to prh:prh.
I had tried keeping the default user, group and directory but I found it
easier to do it this way.
Can anyone shed any light on this?
--
Regards
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] [OT] What's happened to BOINC recently?
2013-12-10 15:56 [gentoo-user] [OT] What's happened to BOINC recently? Peter Humphrey
@ 2013-12-14 17:17 ` Khumba
2013-12-15 10:12 ` Peter Humphrey
0 siblings, 1 reply; 3+ messages in thread
From: Khumba @ 2013-12-14 17:17 UTC (permalink / raw
To: gentoo-user
On Tue, 10 Dec 2013 15:56:13 +0000
Peter Humphrey <peter@prh.myzen.co.uk> 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.
- Khumba
> I installed BOINC from the ebuild, not by getting it from berkeley.edu. The
> only changes I've made are to install its data directory under my home
> directory (/home/prh/boinc), added myself to the boinc group and chown'd
> everything to prh:prh.
>
> I had tried keeping the default user, group and directory but I found it
> easier to do it this way.
>
> Can anyone shed any light on this?
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] [OT] What's happened to BOINC recently?
2013-12-14 17:17 ` Khumba
@ 2013-12-15 10:12 ` Peter Humphrey
0 siblings, 0 replies; 3+ messages in thread
From: Peter Humphrey @ 2013-12-15 10:12 UTC (permalink / raw
To: gentoo-user
On Saturday 14 Dec 2013 09:17:01 Khumba wrote:
> On Tue, 10 Dec 2013 15:56:13 +0000
>
> Peter Humphrey <peter@prh.myzen.co.uk> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-15 10:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10 15:56 [gentoo-user] [OT] What's happened to BOINC recently? Peter Humphrey
2013-12-14 17:17 ` Khumba
2013-12-15 10:12 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox