aboutsummaryrefslogtreecommitdiff
path: root/nixos/doc/manual/release-notes/rl-1803.xml
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-01-03 12:10:45 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-01-03 12:33:36 +0100
commitc9c8a2c5b3b72668656add5409853db8e15ea99d (patch)
tree0aa282eca08700f8ac99bc5a56a1dcbd3249b774 /nixos/doc/manual/release-notes/rl-1803.xml
parenteb6db32d015397f24bd623a60e7e53e37ffe2258 (diff)
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.
Diffstat (limited to 'nixos/doc/manual/release-notes/rl-1803.xml')
-rw-r--r--nixos/doc/manual/release-notes/rl-1803.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1803.xml b/nixos/doc/manual/release-notes/rl-1803.xml
index 3dc4c353e257..0ab119232eeb 100644
--- a/nixos/doc/manual/release-notes/rl-1803.xml
+++ b/nixos/doc/manual/release-notes/rl-1803.xml
@@ -131,6 +131,14 @@ following incompatible changes:</para>
Other types dependencies should be unaffected.
</para>
</listitem>
+ <listitem>
+ <para>
+ The <literal>memcached</literal> service no longer accept dynamic socket
+ paths via <option>services.memcached.socket</option>. Unix sockets can be
+ still enabled by <option>services.memcached.enableUnixSocket</option> and
+ will be accessible at <literal>/run/memcached/memcached.sock</literal>.
+ </para>
+ </listitem>
</itemizedlist>
</section>