Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

malik@malik-desktop:~$

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

2 Answers 2

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
    fi
    
  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

 
discard

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.