Description of problem: I want to allow the processes inside the chroot to access some of the devices that are available out of the chroot, right now there's no easy way to allow that aside from mounting the whole /dev and setting it as unmanaged (bad idea) or manually populating it yourself. Having a config option like 'passthrough_devices' where you specify a list of devices would be really helpful. Version-Release number of selected component (if applicable): mock-1.2.12-1.fc22.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: One possibility is to create hard links for the devices, but that requires the chroot dev and the system dev to be in the same device (maybe creating a temp dir inside the system /dev and mounting it in the chroot?)
While it is probably doable with current chroot, we are in transition to handle the chroot isolation to systemd-nspawn (can be used with --new-chroot option now). And with systemd-nspawn the passthrough of devices is not possible. See: http://lists.freedesktop.org/archives/systemd-devel/2014-November/024913.html
Thanks for the update :/ We are intensively and extensively using mock for our projects, that change to systemd-nspawn might break some things, what is the roadmap?