Bug 822

Summary: Consider `/run/sudo` as sudo time stamp directory
Product: Sudo Reporter: Paul Menzel <pmenzel+bugzilla.sudo.ws>
Component: ConfigureAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.8.22   
Hardware: PC   
OS: Linux   

Description Paul Menzel 2018-02-19 00:47:56 MST
FHS 3.0 contains the sections below regarding `/var/run` [1].

> 5.13. /var/run : Run-time variable data
> ---------------------------------------
>
> ### 5.13.1. Purpose ###
>
> This directory was once intended for system information data
> describing the system since it was booted. These functions have been
> moved to /run; this directory exists to ensure compatibility with
> systems and software using an older version of this specification.

And, for `/run` [2]:

> 3.15. /run : Run-time variable data
> -----------------------------------
>
> ### 3.15.1. Purpose ###
>
> The purposes of this directory were once served by /var/run. In
> general, programs may continue to use /var/run to fulfill the
> requirements set out for /run for the purposes of backwards
> compatibility. Programs which have migrated to use /run should cease
> their usage of /var/run, except as noted in the section on /var/run.

So, it’d be great if the configure script, would use `/run` as the parent directory, if it’s present.
[1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varrunRuntimeVariableData
[2] https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#runRuntimeVariableData
Comment 1 Todd C. Miller 2018-02-19 11:04:24 MST
Fixed in https://www.sudo.ws/repos/sudo/rev/ec2febe6f8a3
Comment 2 Todd C. Miller 2018-05-01 07:06:09 MDT
Fixed in sudo 1.8.23