1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/nixos/modules
aszlig d13ad389b4
nixos/confinement: Explicitly set serviceConfig
My implementation was relying on PrivateDevices, PrivateTmp,
PrivateUsers and others to be false by default if chroot-only mode is
used.

However there is an ongoing effort[1] to change these defaults, which
then will actually increase the attack surface in chroot-only mode,
because it is expected that there is no /dev, /sys or /proc.

If for example PrivateDevices is enabled by default, there suddenly will
be a mounted /dev in the chroot and we wouldn't detect it.

Fortunately, our tests cover that, but I'm preparing for this anyway so
that we have a smoother transition without the need to fix our
implementation again.

Thanks to @Infinisil for the heads-up.

[1]: https://github.com/NixOS/nixpkgs/issues/14645

Signed-off-by: aszlig <aszlig@nix.build>
2019-03-15 04:13:01 +01:00
..
config zram: revert "change default algorithm to zstd" (#56856) 2019-03-07 02:11:20 +02:00
hardware nixos/docker: add enableNvidia option 2019-02-27 09:56:03 +01:00
i18n/input-method
installer ova: remove stateVersion 2019-03-09 14:25:05 -05:00
misc nixos: doc: optionally include all modules in manual generation 2019-03-05 09:41:40 +00:00
profiles profiles/graphical.nix: Enable pulseaudio for virtualbox appliances 2019-02-22 07:23:59 +01:00
programs nixos/sway: Improve the module and adapt it to NixOS 2019-03-13 11:37:11 +01:00
security nixos/confinement: Explicitly set serviceConfig 2019-03-15 04:13:01 +01:00
services plasma5: fix typo from pr #57037 2019-03-14 14:09:13 -04:00
system nixos: Add 'chroot' options to systemd.services 2019-03-14 19:14:01 +01:00
tasks network-scripting: do not run resolvconf if /etc/resolv.conf is managed manually (#56682) 2019-03-09 13:42:14 +02:00
testing types.optionSet: deprecate and remove last usages 2019-01-31 00:41:10 +02:00
virtualisation virtualbox-host module: fix warnings syntax 2019-03-09 11:39:22 +01:00
module-list.nix nixos/systemd-chroot: Rename chroot to confinement 2019-03-14 19:14:03 +01:00
rename.nix tautulli/plexpy: 1.4.25 -> 2.1.26 (renamed) 2019-02-28 19:07:00 +01:00