You are not logged in.

#1 2014-04-17 11:31:43

madders
Member
From: Reading, UK
Registered: 2012-04-01
Posts: 13

Umounting bind mounted /run/user

Hi,

I've been trying to get Pulseaudio to work in my 32bit chroot environment. I've followed the instructions on the wiki. Pulseaudio in the chroot needs access to $XDG_RUNTIME_DIR, which in my case is /run/user/501. The instructions on the wiki say to mount bind /run (or /var/run). This doesn't work because /run/user/501 is also a mount (so it's not available in the chroot). Using rbind or explicitly mounting the user/501 directory does work. However I've found that I can't then umount it. My chroot is in /opt/arch32. If I try umount /opt/arch32/run/user/501 it doesn't work because files in /run/user/501 are in use. If I use the lazy option (umount -l) it does work, but it also unmounts /run/user/501!

Has anyone else seen this problem? Or anything similar?

Thanks,
Michael

Offline

Board footer

Powered by FluxBB