do not survive a system reboot. This is typically where
the time stamp directory is located. By default, configure
will use the first existing directory in the following list:
- /var/run, /var/db, /var/lib, /var/adm, /usr/adm
+ /run /var/run, /var/db, /var/lib, /var/adm, /usr/adm
This directory should be cleared when the system reboots.
- On systems that lack /var/run, the default rundir and vardir
- may be the same. In this case, only the ts directory inside
- the rundir needs to be cleared at boot time.
+ On systems that lack /run or /var/run, the default rundir and
+ vardir may be the same. In this case, only the ts directory
+ inside the rundir needs to be cleared at boot time.
--with-vardir=DIR
Set the directory to be used for sudo-specific files that
$as_echo_n "checking for sudo run dir location... " >&6; }
rundir="$with_rundir"
if test -z "$rundir"; then
- for d in /var/run /var/db /var/lib /var/adm /usr/adm; do
+ for d in /run /var/run /var/db /var/lib /var/adm /usr/adm; do
if test -d "$d"; then
rundir="$d/sudo"
break
esac
fi
case "$rundir" in
- /var/run*)
+ /run/*|/var/run/*)
clear_rundir=0
;;
*)
dnl Warn user if they may need to clear rundir manually.
dnl
case "$rundir" in
- /var/run*)
+ /run/*|/var/run/*)
clear_rundir=0
;;
*)
ownership of files they create.
While the time stamp directory _\bs_\bh_\bo_\bu_\bl_\bd be cleared at reboot time, not all
- systems contain a _\b/_\bv_\ba_\br_\b/_\br_\bu_\bn directory. To avoid potential problems,
- s\bsu\bud\bdo\boe\ber\brs\bs will ignore time stamp files that date from before the machine
- booted on systems where the boot time is available.
+ systems contain a _\b/_\br_\bu_\bn or _\b/_\bv_\ba_\br_\b/_\br_\bu_\bn directory. To avoid potential
+ problems, s\bsu\bud\bdo\boe\ber\brs\bs will ignore time stamp files that date from before the
+ machine booted on systems where the boot time is available.
Some systems with graphical desktop environments allow unprivileged users
to change the system clock. Since s\bsu\bud\bdo\boe\ber\brs\bs relies on the system clock for
file distributed with s\bsu\bud\bdo\bo or https://www.sudo.ws/license.html for
complete details.
-Sudo 1.8.23 January 30, 2018 Sudo 1.8.23
+Sudo 1.8.23 February 19, 2018 Sudo 1.8.23
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.TH "SUDOERS" "5" "January 30, 2018" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
+.TH "SUDOERS" "5" "February 19, 2018" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
While the time stamp directory
\fIshould\fR
be cleared at reboot time, not all systems contain a
+\fI/run\fR
+or
\fI/var/run\fR
directory.
To avoid potential problems,
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd January 30, 2018
+.Dd February 19, 2018
.Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
While the time stamp directory
.Em should
be cleared at reboot time, not all systems contain a
+.Pa /run
+or
.Pa /var/run
directory.
To avoid potential problems,
AC_DEFUN([SUDO_RUNDIR], [AC_MSG_CHECKING(for sudo run dir location)
rundir="$with_rundir"
if test -z "$rundir"; then
- for d in /var/run /var/db /var/lib /var/adm /usr/adm; do
+ for d in /run /var/run /var/db /var/lib /var/adm /usr/adm; do
if test -d "$d"; then
rundir="$d/sudo"
break