News for hackers. Stuff that matters.
Re:Sailor, a native and portable container system for NetBSD... by iMil on Saturday January 16, 2016 @12:11PM (#10915850)
sailor's goal is definitely not to bring security, we all perfectly know chroot is not the way of isolating a host filesystem from attackers. Instead, sailor provides a convenient way of testing environments without compromising your workstation / dev station filesystem.
Re:Sailor, a native and portable container system for NetBSD... by geofft on Saturday January 16, 2016 @12:24PM (#10915909)
Which was, as it happens, the reason chroot was invented (to test the installer of newer versions of UNIX without having a brand-new physical system). Better tooling around chroot is absolutely useful.

I guess it's a misnomer to use the word "container", since that usually means things like Linux containers with security isolation almost as good as OS virtualization.

Re:Sailor, a native and portable container system for NetBSD... by iMil on Saturday January 16, 2016 @01:11PM (#10916127)
Right, the "container" word is now vastly associated to docker, yet I picked a word I know IT people will get and which is generic enough. I'll think on an alternative buzzword ;) Thanks for your support!
Re:Sailor, a native and portable container system for NetBSD... by ChristianBundy on Saturday January 16, 2016 @01:52PM (#10916288)
The word you're looking for is "chroot".
Re:Sailor, a native and portable container system for NetBSD... by q3k on Saturday January 16, 2016 @12:23PM (#10915902)
There is a difference between not bringing in additional security and bringing anti-security. In my eyes, you are doing the latter.

Your default examples elevate privilege, not warning the user about this fact anywhere.

Re:Sailor, a native and portable container system for NetBSD... by iMil on Saturday January 16, 2016 @12:40PM (#10915987)
Duly noted, I just added a word about it on the GitHub page, and you're right, I should run the examples services with a dedicated user as I already do for the nginx process. Thanks for your feedback!
Re:Sailor, a native and portable container system for NetBSD... by iMil on Sunday January 17, 2016 @05:25AM (#10919041)
And so it is, I just commited changes so both PM2 and gunicorn are started with a specific user.