
On Wed, Feb 26, 2025 at 01:27:20PM +0100, Michal Privoznik wrote:
While previously FHS 2.3 defined /var/run as a place to store runtime information [1] it's no longer 2004 and newer specification was released which favors /run [2]. Since it was released 10 years ago, maybe it's time we start honouring it.
On majority of Linux systems (if not all), /var/run is a symlink to /run anyways.
Users can still pass old location via -Drunstatedir.
1: https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#VARRUNRUNTIMEVARIA... 2: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> The previous patch should be redundant with this fix
diff --git a/meson.build b/meson.build index c7e5947d10..8ac2debb91 100644 --- a/meson.build +++ b/meson.build @@ -82,7 +82,7 @@ endif
runstatedir = get_option('runstatedir') if runstatedir == '' - runstatedir = localstatedir / 'run' + runstatedir = '/run' endif
initconfdir = get_option('initconfdir') -- 2.45.3
With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|