Am 2011-08-23 11:04, schrieb Joost Roeleveld:
>> The code tries to write to its own dir:
>> 
>> mkdir -p -m 0700 $cdir/user/$$ > /dev/null 2>&1 /bin/echo $$ >
>> $cdir/user/$$/tasks /bin/echo '1' >
>> $cdir/user/$$/notify_on_release
>> 
>> But somehow the mkdir seems to fail as I get warnings from the two 
>> echo-statements, that their "target-files" do not exist, which lead
>> me to the fact that $cdir/user/$$ does not exist.
> 
> You could try adding ls-statements to see if it can set that op? Or
> try to run those commands.
> 
> Where is $cdir pointing to?

/sys/fs/cgroup which exists.

I removed the "> /dev/null..." part and now I see that I have a
permission problem, my user isn't allowed to mkdir there.

Will solve that ...

otoh it might be overkill to create my own cgroups as systemd does it
anyway, correct?

S

Reply via email to