Open timthelion opened 9 years ago
Here is my current plan, in part to break up subuser to make it less monolithic, and in part to move away from Docker which is also too monolithic.
There should be a triad of utilities:
subuser-run
subuser-run
should take a permissions.json
file and a path to a mounted root file system and do subuser's running magic. The difficult part in breaking out subuser-run
into it's own utility is as follows
subuser-run
finds out where to mount the subuser's home directory by looking at the user wide subuser config.subuser-run
to be a suid binary (the only one involved). This would allow subuser to be run by normal users. This means that subuser-run
will have to do the actual COW mounting of the root file systems itself.This provides support for atomic updates, update loging, rollbacks, locking and image management. This is the main part of the subuser source code now.
These provide support for:
subuser-run
.I have been discussing with Eric Myhre of the repeatr project on working on the storage backends in joint. This utility will likely be maintained outside of the subuser project by him.
Subuser currently has a dependency resolver and build system. This is currently integrated with the subuser standard. The system is good, but the integration with subuser is not sufficiently unix for my taste.
Tear it out!