[buildd-tools-devel] Bug#675788: Solution found

Martín Ferrari tincho at debian.org
Wed Feb 4 19:12:57 UTC 2015


Although this is not the right solution (as the XDG vars might point to
some other location), the problem with the systemd-related mounts is
solved if instead of using bind-mounts one uses rbind-mounts (recursive
bind).

I changed my desktop/fstab file and now I get sound with no errors:

/dev           /dev            none    rw,rbind         0       0
/run           /run            none    rw,rbind         0       0
#/run/lock      /run/lock       none    rw,bind         0       0
#/dev/shm       /dev/shm        none    rw,bind         0       0
#/run/shm       /run/shm        none    rw,bind         0       0

Found this by chance. I was reading instructions to set up a schroot for
ubuntu[0], and noticed they used rbinds, which I had never heard of
before! After reading the manpage, I thought this could work, and it did.

[0]: https://wiki.ubuntu.com/DebootstrapChroot

-- 
Martín Ferrari (Tincho)



More information about the Buildd-tools-devel mailing list