News for hackers. Stuff that matters.
Re:Vagga is a containerization tool without daemons by jamescun on Friday February 12, 2016 @07:09AM (#11086663)
I don't understand this point:

  - Fully userspace containers, no need for elevated privileges
The most basic Linux container is constructed with chroot and namespaces, both of which require root privileges (or at least CAP_SYS_CHROOT and CAP_SYS_ADMIN respectively). Additionally managing layers with a union filesystem, unless utilising FUSE, will also require elevated privileges.
Re:Vagga is a containerization tool without daemons by jamescun on Friday February 12, 2016 @09:40AM (#11087449)
A more extensive look at the code, it requires the host root user to set `kernel.unprivileged_userns_clone=1` after which Vagga can perform privileged operations as a "root" user inside a user namespace.
Re:Vagga is a containerization tool without daemons by tailhook on Monday February 15, 2016 @05:06AM (#11102513)
Yes. But that's on debian (IIRC) kernel, i.e. the patched one. On stock kernel it requires CONFIG_USER_NS setting enabled, and it just works.
Re:Vagga is a containerization tool without daemons by the8472 on Friday February 12, 2016 @07:53AM (#11086832)
It can have root inside the new user namespace, which - i assume - is sufficient to chroot in its mount namespace.
Re:Vagga is a containerization tool without daemons by cm3 on Friday February 12, 2016 @09:34AM (#11087407)
Excellent avoidance of elevated privileges with CONFIG_USER_NS and it's easy to deploy. Great stuff!
Re:Vagga is a containerization tool without daemons by pathsjs on Friday February 12, 2016 @08:28AM (#11086978)
I just had a brief look at the tutorial, but it looks great! Kudos to the author!
Re:Vagga is a containerization tool without daemons by jabl on Friday February 12, 2016 @09:53AM (#11087546)
..and it's implemented in Rust, w00t!
Re:Vagga is a containerization tool without daemons by cm3 on Friday February 12, 2016 @12:16PM (#11088702)
I wonder where they get their Rust musl static releases from? As you cannot bootstrap 1.7 with 1.6 you always need to use the officially tagged nightly snapshot for the particular release when building rust, which happens to be for glibc. So it's a pita to build and use rust with musl, unless it's part of the official release channels already.
Re:Vagga is a containerization tool without daemons by tailhook on Monday February 15, 2016 @05:04AM (#11102505)
vagga is built by vagga itself, so you can look at how to make musl rust here: https://github.com/tailhook/vagga/blob/master/vagga.yaml#L23...

There is already a musl libc distributed with rust since 1.5: http://static.rust-lang.org/dist/index.html http://static.rust-lang.org/dist/rust-std-1.6.0-x86_64-unkno...

But we had not used it yet.

Re:Vagga is a containerization tool without daemons by shiftoutbox on Saturday February 13, 2016 @01:43PM (#11095113)
Hey look , jails on Linux .