Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f21cab27a43ed58ffd865737bdcc5d907622216c
      
https://github.com/NixOS/nixpkgs/commit/f21cab27a43ed58ffd865737bdcc5d907622216c
  Author: Michael Alan Dorman <[email protected]>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

  Changed paths:
    M nixos/modules/services/databases/couchdb.nix

  Log Message:
  -----------
  Fix initial-install issues with couchdb.nix.

When starting from a clean slate, the couchdb service fails.

First, the pre-start script fails because it tries to chown the uriFile,
which doesn't exist.  It also doesn't ensure that the directory in which
the uriFIle is placed is writeable by couchdb, which could also cause
failure (though I didn't observe this).

Additionally, the log file's default location isn't a directory owned by
couchdb, nor is the file guaranteed to exist, nor is it guaranteed to be
chowned to the appropriate user.  All of which can cause unexpected
failure.

As a bonus I made a small change in the description of the configFile
attribute, in the hopes of making it a little more obvious why it
existed.


  Commit: b6672f232acdcc2628656272ec77697c28cd0d75
      
https://github.com/NixOS/nixpkgs/commit/b6672f232acdcc2628656272ec77697c28cd0d75
  Author: lethalman <[email protected]>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M nixos/modules/services/databases/couchdb.nix

  Log Message:
  -----------
  Merge pull request #6283 from mdorman/master

Fix initial-install issues with couchdb.nix.


Compare: https://github.com/NixOS/nixpkgs/compare/02971cd5d366...b6672f232acd
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to