3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Jörg Thalheim c9c8a2c5b3 nixos/memcached: make unix sockets usuable
before:
  - /var/run/memcached is a bad default for a socket path, since its
    parent directory must be writeable by memcached.
  - Socket directory was not created by the module itself -> this was
    left as a burden to the user?
  - Having a static uid with a dynamic user name is not very useful.

after:
  - Replace services.memcached.socket by a boolean flag. This simplifies
    our code, since we do not have to check if the user specifies a
    path with a parent directory that should be owned by memcached
    (/run/memcached/memcached.sock -> /run/memcached).
  - Remove fixed uid/gid allocation. The only file ever owned by the
    daemon is the socket that will be recreated on every start.
    Therefore user and group ids do not need to be static.
  - only create the memcached user, if the user has not specified a
    different one. The major use case for changing option is to allow
    existing services (such as php-fpm) opening the local unix socket.
    If we would unconditionally create a user that option would be
    useless.
2018-01-03 12:33:36 +01:00
..
config pinentry: override pinentry_ncurses instead of the other way around 2017-12-16 04:39:29 +01:00
hardware intel-ocl: r4.0-59481 -> 5.0-63503 2017-11-01 17:59:49 +00:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer Merge pull request #32031 from NixOS/unstable-aarch64 2017-12-12 17:44:07 -05:00
misc nixos/memcached: make unix sockets usuable 2018-01-03 12:33:36 +01:00
profiles nixos/profiles/all-hardware: remove unavailable modules 2017-12-29 11:37:21 +01:00
programs tmux module: add secureSocket option 2017-12-29 15:05:20 +03:00
security pam: add optional pam_gnome_keyring integration 2018-01-01 21:58:37 +03:00
services nixos/memcached: make unix sockets usuable 2018-01-03 12:33:36 +01:00
system luksRoot: add the missing ECB dependency to fix XTS support, resolves #30940 2017-12-22 07:50:09 +02:00
tasks nixos: zfs: correct the networking.hostId error message 2017-12-20 17:56:03 -05:00
testing tests: logToJournal has been renamed 2017-12-06 17:45:40 +08:00
virtualisation Merge pull request #31157 from sorki/lxcfs_pam_related 2018-01-01 15:42:03 +01:00
module-list.nix nixos/dkimproxy-out: init (#33229) 2018-01-03 01:23:02 +00:00
rename.nix Revert "nixos: doc: implement related packages in the manual" 2017-12-23 07:19:45 -05:00