about summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* Update oh-my-zsh.xmlStefano Probst2018-12-13
| | | Change name of the parameter to match https://github.com/NixOS/nixpkgs/blob/3d4cb55b718cfab054e86e864c90220d040d1935/nixos/modules/programs/zsh/oh-my-zsh.nix
* Merge pull request #51922 from hedning/fix-xmonad-testRenaud2018-12-13
|\ | | | | nixos/tests/xmonad: fix terminal title
| * nixos/tests/xmonad: fix terminal titleTor Hedin Brønner2018-12-12
| | | | | | | | bash now sets a different title.
* | Merge pull request #51938 from johanot/nixos-kubernetes-test-fixSarah Brofeldt2018-12-13
|\ \ | | | | | | nixos/kubernetes: fix import path of default nixpkgs
| * | nixos/kubernetes: fix import path of default nixpkgsJohan Thomsen2018-12-12
| | |
* | | Merge pull request #50316 from arianvp/fix-dynamic-userJörg Thalheim2018-12-12
|\ \ \ | | | | | | | | Disable nscd caching
| * | | nixos/nscd: Add a descriptive comment to the nscd configurationArian van Putten2018-12-12
| | | |
| * | | nixos/nscd: Address doc feedbackArian van Putten2018-12-12
| | | |
| * | | nixos/nscd: also add netgroup to the configArian van Putten2018-12-12
| | | | | | | | | | | | | | | | It was the last database that wasn't listed.
| * | | nixos/nscd: Merge nscd and sssd-nscd configArian van Putten2018-12-12
| | | |
| * | | nixos/nscd: Add release note entry about nscd changesArian van Putten2018-12-12
| | | |
| * | | nixos/nscd: Disable negative caching of hostsArian van Putten2018-12-12
| | | | | | | | | | | | | | | | Hopefully fixes #50290
| * | | nixos/nscd: Disable caching of group and passwdArian van Putten2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Systemd provides an option for allocating DynamicUsers which we want to use in NixOS to harden service configuration. However, we discovered that the user wasn't allocated properly for services. After some digging this turned out to be, of course, a cache inconsistency problem. When a DynamicUser creation is performed, Systemd check beforehand whether the requested user already exists statically. If it does, it bails out. If it doesn't, systemd continues with allocating the user. However, by checking whether the user exists, nscd will store the fact that the user does not exist in it's negative cache. When the service tries to lookup what user is associated to its uid (By calling whoami, for example), it will try to consult libnss_systemd.so However this will read from the cache and tell report that the user doesn't exist, and thus will return that there is no user associated with the uid. It will continue to do so for the cache duration time. If the service doesn't immediately looks up its username, this bug is not triggered, as the cache will be invalidated around this time. However, if the service is quick enough, it might end up in a situation where it's incorrectly reported that the user doesn't exist. Preferably, we would not be using nscd at all. But we need to use it because glibc reads nss modules from /etc/nsswitch.conf by looking relative to the global LD_LIBRARY_PATH. Because LD_LIBRARY_PATH is not set globally (as that would lead to impurities and ABI issues), glibc will fail to find any nss modules. Instead, as a hack, we start up nscd with LD_LIBRARY_PATH set for only that service. Glibc will forward all nss syscalls to nscd, which will then respect the LD_LIBRARY_PATH and only read from locations specified in the NixOS config. we can load nss modules in a pure fashion. However, I think by accident, we just copied over the default settings of nscd, which actually caches user and group lookups. We already disable this when sssd is enabled, as this interferes with the correct working of libnss_sss.so as it already does its own caching of LDAP requests. (See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/usingnscd-sssd) Because nscd caching is now also interferring with libnss_systemd.so and probably also with other nsss modules, lets just pre-emptively disable caching for now for all options related to users and groups, but keep it for caching hosts ans services lookups. Note that we can not just put in /etc/nscd.conf: enable-cache passwd no As this will actually cause glibc to _not_ forward the call to nscd at all, and thus never reach the nss modules. Instead we set the negative and positive cache ttls to 0 seconds as a workaround. This way, Glibc will always forward requests to nscd, but results will never be cached. Fixes #50273
| * | | nixos/systemd: Add a regression test for #50273Arian van Putten2018-12-12
| | | |
* | | | nvidia: Improve assertion documentationSvein Ove Aas2018-12-12
|/ / /
* | | nixos/nvidia: improve the assertion againVladimír Čunát2018-12-12
| | | | | | | | | | | | /cc ac19d5e34 #51836.
* | | logind: make killUserProcesses an option (#51426)Benjamin Staffin2018-12-11
| | | | | | | | | | | | | | | Right now it's not at all obvious that one can override this option using `services.logind.extraConfig`; we might as well add an option for `killUserProcesses` directly so it's clear and documented.
* | | Merge #51836: nixos/nvidia: fix inverted assertionVladimír Čunát2018-12-11
|\ \ \
| * | | nixos/nvidia: fix inverted assertionAndrew Childs2018-12-11
| | | |
* | | | doc: Fix insecure nginx docs (#51840)Jappie Klooster2018-12-11
| |_|/ |/| |
* | | Merge pull request #50862 from markuskowa/fix-slurm-modulemarkuskowa2018-12-11
|\ \ \ | |/ / |/| | nixos/slurm: set slurmd KillMode and add extraConfigPaths
| * | tests/slurm: wait for open DBD portMarkus Kowalewski2018-12-09
| | | | | | | | | | | | | | | | | | This makes tests more reliable. It seems that waitForUnit(slurmdbd.service) is not sufficient on some systems.
| * | nixos/slurm: add recommended mysql settingsMarkus Kowalewski2018-11-22
| | |
| * | nixos/slurm: add extraConfigPaths optionsMarkus Kowalewski2018-11-22
| | |
| * | nixos/slurm: set slurmd KillMode to processMarkus Kowalewski2018-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default of systemd is to kill the the whole cgroup of a service. For slurmd this means that all running jobs get killed as well whenever the configuration is updated (and activated). To avoid this behaviour we set "KillMode=process" to kill only slurmd on reload. This is how slurm configures the systemd service. See: https://bugs.schedmd.com/show_bug.cgi?id=2095#c24 https://github.com/SchedMD/slurm/commit/508f866ea10e4c359d62d443279198082d587107
* | | Merge pull request #44497 from hedning/gnome-upstream-waylandTor Hedin Brønner2018-12-10
|\ \ \ | | | | | | | | Add gnome wayland support
| * | | nixos/tests/gnome3-gdm: port to waylandTor Hedin Brønner2018-12-10
| | | | | | | | | | | | | | | | | | | | The test now runs wayland, which means we can no longer use X11 style testing. Instead we get gnome shell to execute javascript through its dbus interface.
| * | | nixos/tests/gnome3: select X11 gnome shell explicitelyTor Hedin Brønner2018-12-10
| | | | | | | | | | | | | | | | | | | | This isn't strictly necessary yet as LightDM doesn't read the wayland sessions, but there's no harm in being explicit.
| * | | nixos/displayManager: Note that `sessionCommands` aren't run on WaylandTor Hedin Brønner2018-12-10
| | | |
| * | | nixos/gnome3: Implement `sessionPath` through `environment.extraInit`Tor Hedin Brønner2018-12-10
| | | | | | | | | | | | | | | | This will simply make the `sessionPath` more likely to work.
| * | | nixos/sddm: Enable wayland-sessionsTor Hedin Brønner2018-12-10
| | | | | | | | | | | | | | | | | | | | LightDM is unable to separate between `wayland-sessions/gnome.desktop` and `xsessions/gnome.desktop` so I ommitted adding this to LightDM.
| * | | nixos/displayManager: Install wayland sessions from extraSessionFilePackagesTor Hedin Brønner2018-12-09
| | | |
* | | | zsh-autosuggestions: Fix module for 0.5.0Tim Steinbach2018-12-10
| | | | | | | | | | | | | | | | | | | | The update for zsh-autosuggestions in #51752 broke the module. This fix reflects the required changes.
* | | | nixos tests: disable kafka for nowVladimír Čunát2018-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They consistently fail since openjdk bump with some out-of-space errors. That's not a problem by itself, but each test instance ties a build slot for many hours and consequently they also delay channels as those wait for all builds to finish. Feel free to re-enable when fixed, of course.
* | | | Merge pull request #51791 from dotlambda/borgbackup-1.1.8markuskowa2018-12-09
|\ \ \ \ | | | | | | | | | | borgbackup: 1.1.7 -> 1.1.8
| * | | | nixos/tests/borgbackup: test `borg mount`Robert Schütz2018-12-09
| |/ / /
* | | | nixos/tests/gnome3: fix terminal titleTor Hedin Brønner2018-12-09
| | | | | | | | | | | | | | | | | | | | The tests passes, but that's just because a race condition where the window is titled `Terminal` long enough.
* | | | nixos/tests/i3wm: fix terminal titleTor Hedin Brønner2018-12-09
|/ / / | | | | | | | | | Probably due to #51678 which makes bash set the terminal title.
* | | Merge pull request #51678 from NixOS/yegortimoshenko-patch-1Yegor Timoshenko2018-12-08
|\ \ \ | | | | | | | | nixos/bash: set title in PS1
| * | | nixos/bash: set title in PS1Yegor Timoshenko2018-12-07
| | | |
* | | | Merge pull request #51728 from ck3d/fix-lirc-runtime-owner-shipmarkuskowa2018-12-08
|\ \ \ \ | | | | | | | | | | nixos lirc: fix owner-ship of runtime directory
| * | | | nixos lirc: fix owner-ship of runtime directoryChristian Kögler2018-12-08
| | | | |
* | | | | nixos/release-notes: mention removal of quassel-webserverJörg Thalheim2018-12-08
| | | | |
* | | | | Merge pull request #51670 from Mic92/quassel-webserverJörg Thalheim2018-12-08
|\ \ \ \ \ | | | | | | | | | | | | quassel-webserver: remove
| * | | | | quassel-webserver: removeJörg Thalheim2018-12-07
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Package is broken and the original maintainer does not respond. Unless someone wants to pick it up, I propose the removal. fixes #51614
* | | | | Merge staging-next into masterFrederik Rietdijk2018-12-08
|\ \ \ \ \
| * \ \ \ \ Merge master into staging-nextFrederik Rietdijk2018-12-08
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| * | | | | Merge master into staging-nextFrederik Rietdijk2018-12-07
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| * | | | | Merge master into staging-nextFrederik Rietdijk2018-12-03
| |\ \ \ \ \
| * | | | | | gobject-introspection: rename packageJan Tojnar2018-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | camelCase package name was a huge inconsistency in GNOME package set.