tech log on gentoo, linux, and random stuff

Posts Tagged ‘coLinux

workaround for “stale NFS file handle” possibly from a coLinux messup

leave a comment »

Tried to run coLinux with an existing distro (gentoo) on my tablet, and after reboot acpid stops working. Apparently /var/run/acpid.socket becomes a stale NFS file handle™ and refuses any rm attempt. Same thing with some other files under /tmp.


for d in /var/run /tmp; do
    mv $d $d.stale
    mkdir $d
    chmod --reference=$d.stale $d

Still don’t know how to remove those staled files though.

Written by zsh

May 29, 2009 at 3:01 pm