nixpkgs/nixos
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
..
doc/manual nixos/memcached: make unix sockets usuable 2018-01-03 12:33:36 +01:00
lib make-disk-image.nix: Really fix write permissions in the store 2017-12-20 17:28:46 +02:00
maintainers create-amis.sh: Ass eu-west-3 2017-12-20 16:35:22 +01:00
modules nixos/memcached: make unix sockets usuable 2018-01-03 12:33:36 +01:00
tests beegfs: init at 6.17 2017-12-31 07:07:02 +00:00
COPYING
default.nix Remove nixFallback 2017-03-06 15:54:50 +01:00
README
release-combined.nix Merge pull request #31805 from gleber/make-switch-to-configuration-pure 2017-11-19 19:03:52 +00:00
release-small.nix php: pcre test blocks -small channels as well 2017-11-12 11:03:54 +01:00
release.nix beegfs: init at 6.17 2017-12-31 07:07:02 +00:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.