nixpkgs/nixos
aszlig ac603e208c
virtualbox: Fix runtime paths in hardening mode.
Because we have to rely on setuid wrappers on NixOS, we can't easily
hardcode the executable paths and set it 4755. So for all calls, we need
to change the runtime path executable directory to /var/setuid-wrappers/
and for verification we need to retain the executable directory.

Also note, that usually VBoxNetAdpCtl, VBoxNetDHCP, VBoxNetNAT, VBoxSDL
and VBoxVolInfo don't reside in directories that are commonly in PATH,
but in /usr/lib/virtualbox in most mainstream distros. But because the
names of these executables are distinctive enough to not cause
collisions with other setuid programs, I'll leave it like that and not
patch up setuid-wrappers.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-12-18 14:06:13 +01:00
..
doc/manual release notes: reindent, remove renames (redudant) 2014-12-18 12:22:22 +01:00
gui Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
lib nixos: allow adding extra modules through environment 2014-12-16 19:13:15 +01:00
maintainers http://nixos.org -> https://nixos.org 2014-12-14 11:26:45 +01:00
modules virtualbox: Fix runtime paths in hardening mode. 2014-12-18 14:06:13 +01:00
tests nixos/tests/gitlab.nix: set TimeoutStartSec to 10min 2014-12-17 16:40:53 +01:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix add chromium test to the tested job 2014-12-14 13:47:19 +01:00
release-small.nix Add nodejs to the small channel 2014-10-27 10:40:49 +01:00
release.nix nixos/gitlab: enable tests in release 2014-12-14 13:05:35 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.