5e974362be
The default for logFile is /var/log/couchdb.log, and the tmpfile rules chown ${dirOf cfg.logFile}, which is just /var/log, to couchdb:couchdb. This was found by Edes' report on IRC, which looked like Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal While this bug has been present since the initial couchdb module in 62438c09f7cc811f994510550614c9265b3b1d18 by @garbas, this wasn't a problem, because the initial module only created and chowned /var/log if it didn't exist yet, which can't occur because this gets created in the initial phases of NixOS startup. However with the recent move from manual preStart chown scripts to systemd.tmpfiles.rules in 062efe018d571b1daa9c37b8c99eb39ad47d7342 (#59389), this chown is suddenly running unconditionally at every system activation, therefore triggering the above error. |
||
---|---|---|
.. | ||
4store-endpoint.nix | ||
4store.nix | ||
aerospike.nix | ||
cassandra.nix | ||
clickhouse.nix | ||
cockroachdb.nix | ||
couchdb.nix | ||
firebird.nix | ||
foundationdb.nix | ||
foundationdb.xml | ||
hbase.nix | ||
influxdb.nix | ||
memcached.nix | ||
monetdb.nix | ||
mongodb.nix | ||
mysql.nix | ||
neo4j.nix | ||
openldap.nix | ||
opentsdb.nix | ||
pgmanage.nix | ||
postgresql.nix | ||
postgresql.xml | ||
redis.nix | ||
rethinkdb.nix | ||
riak-cs.nix | ||
riak.nix | ||
stanchion.nix | ||
virtuoso.nix |