Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Cc: Joost Roeleveld <joost@××××××××.org>
Subject: Re: [gentoo-user] systemd
Date: Tue, 23 Aug 2011 09:19:06
Message-Id: 4E537043.6030908@xunil.at
In Reply to: Re: [gentoo-user] systemd by Joost Roeleveld
1 Am 2011-08-23 11:04, schrieb Joost Roeleveld:
2 >> The code tries to write to its own dir:
3 >>
4 >> mkdir -p -m 0700 $cdir/user/$$ > /dev/null 2>&1 /bin/echo $$ >
5 >> $cdir/user/$$/tasks /bin/echo '1' >
6 >> $cdir/user/$$/notify_on_release
7 >>
8 >> But somehow the mkdir seems to fail as I get warnings from the two
9 >> echo-statements, that their "target-files" do not exist, which lead
10 >> me to the fact that $cdir/user/$$ does not exist.
11 >
12 > You could try adding ls-statements to see if it can set that op? Or
13 > try to run those commands.
14 >
15 > Where is $cdir pointing to?
16
17 /sys/fs/cgroup which exists.
18
19 I removed the "> /dev/null..." part and now I see that I have a
20 permission problem, my user isn't allowed to mkdir there.
21
22 Will solve that ...
23
24 otoh it might be overkill to create my own cgroups as systemd does it
25 anyway, correct?
26
27 S

Replies

Subject Author
Re: [gentoo-user] systemd "Stefan G. Weichinger" <lists@×××××.at>