Rootstock should work without requiring root privileges
Bug #553963 reported by
Nicolas Dechesne
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RootStock |
Fix Released
|
Medium
|
Ricardo Salveti |
Bug Description
In its current form, rootstock requires sudo privileges. There are restrictions inside our company that prevent us from getting such privileges.
Related branches
Changed in project-rootstock: | |
assignee: | nobody → Ricardo Salveti (rsalveti) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in project-rootstock: | |
status: | In Progress → Fix Released |
milestone: | none → 0.1.99.4 |
To post a comment you must log in.
I just pushed the first draft at my personal non-root branch: lp:~rsalveti/project-rootstock/no-root
The implementation is not that stable yet, and I'm also facing an annoying qemu segmentation fault problem (bug 604872) when running the second stage, but when everything goes well I can successfully use the generated rootfs at my beagleboard :-)
How to test the no-root feature (will remove the bashism later, bug 575854):
bash ./rootstock --fqdn beagleboard --login ubuntu --password temppwd --imagesize 512M --seed ubuntu-minimal --dist lucid --serial ttyS2 --components "main universe multiverse" --no-root
Also note that you need to install fuseext2, genext2fs and fakeroot before testing it :-)