nixpkgs-suyu/pkgs/tools
Rickard Nilsson 4f8f1c30cb openssh: Use the default privilege separation dir (/var/empty)
(This is a rewritten version of the reverted commit
a927709a35, that disables the creation of
/var/empty during build so that sandboxed builds also works. For more
context, see https://github.com/NixOS/nixpkgs/pull/16966)

If running NixOS inside a container where the host's root-owned files
and directories have been mapped to some other uid (like nobody), the
ssh daemon fails to start, producing this error message:

fatal: /nix/store/...-openssh-7.2p2/empty must be owned by root and not group or world-writable.

The reason for this is that when openssh is built, we explicitly set
`--with-privsep-path=$out/empty`. This commit removes that flag which
causes the default directory /var/empty to be used instead. Since NixOS'
activation script correctly sets up that directory, the ssh daemon now
also works within containers that have a non-root-owned nix store.
2016-07-16 10:15:58 +02:00
..
admin
archivers xarchiver: 0.5.4 -> 0.5.4.6 2016-07-15 18:23:26 +02:00
audio
backup borgbackup: 1.0.4 -> 1.0.5 2016-07-08 20:52:39 +02:00
bluetooth
bootloaders/refind
cd-dvd brasero: depend on hicolor_icon_theme 2016-07-09 13:04:32 +02:00
compression zstd: 0.7.2 -> 0.7.3 2016-07-08 22:09:43 +02:00
filesystems zerofree: 1.0.3 -> 1.0.4 2016-07-14 15:43:09 +02:00
graphics glmark2: 2014.03 -> 2015-06-11 (#16812) 2016-07-09 14:50:24 +02:00
inputmethods fcitx: refactor (#16858) 2016-07-11 17:50:22 +02:00
misc Merge pull request #16946 from phanimahesh/fix-16198 2016-07-15 15:00:01 +02:00
networking openssh: Use the default privilege separation dir (/var/empty) 2016-07-16 10:15:58 +02:00
package-management nix-repl: 2015-09-07 -> 2016-02-28 2016-07-11 14:00:28 +02:00
security Merge pull request #16463 from FRidh/secp 2016-07-15 12:23:20 +02:00
system stress-ng: 0.06.01 -> 0.06.11 2016-07-15 00:06:54 +08:00
text sift: fix hydra build fail (#16820) 2016-07-10 11:17:47 +02:00
typesetting Revert "stdenv: introduce baseHash() to replace stripHash()" 2016-06-25 14:25:58 +01:00
video
virtualization
X11 xpra: 0.17.3 -> 0.17.4 (important fixes) 2016-06-30 14:48:05 +02:00