summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-01-06 15:51:31 +0100
committerLudovic Courtès <ludo@gnu.org>2016-01-06 15:51:31 +0100
commit7b78f359d1586ce4e5b00b3008ad8362a8173720 (patch)
tree2dab7190a8097a27a7db4e6297d819fb9f33ae73
parent3c4c8c3e06cb50724942780fd6f240a7c1891261 (diff)
downloadguix-7b78f359d1586ce4e5b00b3008ad8362a8173720.tar.gz
gnu: sudo: Use /var/run/sudo instead of /run/sudo.
* gnu/packages/admin.scm (sudo)[arguments]: Pass
--with-rundir=/var/run/sudo since /var/run is cleaned up at boot time on
GuixSD whereas /run is not.
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 4f335a27d4..fbdc26d9ee 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
@@ -705,7 +705,7 @@ system administrator.")
     (arguments
      `(#:configure-flags
        (list "--with-logpath=/var/log/sudo.log"
-             "--with-rundir=/run/sudo"
+             "--with-rundir=/var/run/sudo"    ;must be cleaned up at boot time
              "--with-vardir=/var/db/sudo"
              "--with-iologdir=/var/log/sudo-io"