nixpkgs/nixos/modules
Thomas Tuegel 757c7f3773
docker-container: Remove /etc symlink
The system output usually contains a symlink from /etc to the static
configuration for the benefit of the stage-1 script in the initrd. The stage-2
script is usually started in the real root without such a symlink. In a
container, there is no stage-1 and the system output is used directly as a real
root. If the symlink is present, setup-etc.pl will create a symlink cycle and
the system cannot boot. There is no reason for the /etc link to exist in a
container because setup-etc.pl will create the necessary files. The container
module will now remove the /etc symlink and create an empty directory. The empty
/etc is for container managers to populate it with site-specific settings; for
example, to set the hostname. This is required to boot NixOS in an LXC container
on another host.

See also: #9735
2019-11-27 15:51:19 -06:00
..
config nixos: default environment.homeBinInPath to false 2019-11-26 12:44:12 +01:00
hardware nixos/nvidia: assert that gdm.nvidiaWayland needs modesetting 2019-11-19 15:34:39 -05:00
i18n/input-method Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
installer nixos/plasma5: drop enableQt4Support option 2019-11-22 09:01:05 +01:00
misc nixos/ids: Add types to allow overrides on static uids, gids 2019-11-18 09:24:35 +01:00
profiles docker-container: Remove /etc symlink 2019-11-27 15:51:19 -06:00
programs nixos/adb: don't make android tools the system-wide mke2fs, lowPrio 2019-11-20 22:57:00 +01:00
security nixos/acme: Fix allowKeysForGroup not applying immediately (#72056) 2019-11-13 23:51:34 +01:00
services Merge pull request #70295 from worldofpeace/mutter-eglstreams 2019-11-27 05:29:58 +00:00
system Merge pull request #73871 from mayflower/socket-activation-fix 2019-11-26 13:28:48 +01:00
tasks Fix typo in message (vswichtesvswitches) 2019-10-26 13:26:01 +02:00
testing
virtualisation Merge pull request #72996 from elohmeier/containers-fix 2019-11-25 09:35:09 +00:00
module-list.nix osquery: remove 2019-11-24 22:38:07 +01:00
rename.nix osquery: remove 2019-11-24 22:38:07 +01:00