tech log on gentoo, linux, and random stuff

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: