Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this error when opening any terminal windows:

bash: /dev/cgroup/cpu/user/32215/tasks: File o directory non esistente

bash: /dev/cgroup/cpu/user/32215/notify_on_release: File o directory non esistente


What is this and how to solve? It doesn't seem to affect anything but it' annoying. Googling a bit lead me to sites talking about 200 lines kernel patch. I'm on 10.04 lts.

I went from 10.10 to 11.10 maintaining the /home and then rolled back to 10.04 with same /home. / formatted.

share|improve this question

Googling a bit lead me to sites talking about 200 lines kernel patch.

That was my immediate thought when I saw "cgroup". The patch was available as a bash-hack too so it might be possible that you've just applied that and it's not working now because the other setup (involving creating some boot-time scripts) isn't there on your new install.

You've got two options:

  1. Remove the changes from ~/.bashrc. They look like this:

    if [ "$PS1" ] ; then  
       mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
       echo $$ > /dev/cgroup/cpu/user/$$/tasks
       echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
  2. Repeat the whole setup process so it works again:

share|improve this answer
removed those lines and didn't do anything else, solved thanks – user47548 Feb 27 '12 at 15:04

I would take the simple route

sudo rm ~/.bashrc

this method removes the offending file completely including your alias

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.