Is there a reason pflask doesn't use devtmpfs for /dev? To have a minimal set of devices available?
I tried to use pflask to build a project in an isolated chroot environment recently and ran into two issues:
os.popen in Python 2.7 fails. I get "[Errno 38] Function not implemented".
- Using
popen() in a test C program worked fine.
os.popen is deprecated. When I changed the script in my working copy to use subprocess.Popen, it worked.
mount -o loop fails
Both of these were fixed using this brute-force change:
torpesco@a40dfb0
Is there an alternate solution that would be preferred?
Is there a reason pflask doesn't use devtmpfs for /dev? To have a minimal set of devices available?
I tried to use pflask to build a project in an isolated chroot environment recently and ran into two issues:
os.popenin Python 2.7 fails. I get "[Errno 38] Function not implemented".popen()in a test C program worked fine.os.popenis deprecated. When I changed the script in my working copy to usesubprocess.Popen, it worked.mount -o loopfailsBoth of these were fixed using this brute-force change:
torpesco@a40dfb0
Is there an alternate solution that would be preferred?