Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

Use bindfs for /dev #11

Merged
merged 1 commit into from
Aug 28, 2018
Merged

Use bindfs for /dev #11

merged 1 commit into from
Aug 28, 2018

Conversation

seanlano
Copy link
Owner

Previously, the installer set up static files inside the chroot for
/dev/random and /dev/urandom - this was because the chroot is unable to
access the real devices on the host. Typically when using a chroot this
would be dealt with using a 'bind' mount - but this cannot be done
inside a Snap package, so a static file was used.
This commit changes the chroot setup to instead use a FUSE bind mount.

Previously, the installer set up static files inside the chroot for
/dev/random and /dev/urandom - this was because the chroot is unable to
access the real devices on the host. Typically when using a chroot this
would be dealt with using a 'bind' mount - but this cannot be done
inside a Snap package, so a static file was used.
This commit changes the chroot setup to instead use a FUSE bind mount.
@seanlano seanlano merged commit a42b608 into master Aug 28, 2018
@seanlano seanlano deleted the use_bindfs branch August 28, 2018 01:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant