Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544620

Summary: sys-libs/glibc: paths.h: _PATH_VARRUN: set to "/run/"
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceware.org/ml/libc-alpha/2015-03/msg00828.html
See Also: https://bugs.gentoo.org/show_bug.cgi?id=361349
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 2015-03-27 01:55:33 UTC
Hi,

according to bug 361349 we are moving from "/var/run" to "/run".

I would suggest to patch "_PATH_VARRUN" in "/usr/include/paths.h" to point to "/run/". That way, packages using paths.h like

  #ifdef HAVE_PATHS_H
  # include <paths.h>
  #endif
  
  #ifndef _PATH_VARRUN 
  # define _PATH_VARRUN "/var/run/"
  #endif

will use "/run/" per default.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2015-03-27 20:18:49 UTC
/var/run will always exist and be a symlink to /run, so it's not really important to make this change.  will bounce it off upstream and see what happens.
Comment 2 SpanKY gentoo-dev 2015-04-02 16:36:24 UTC
no plans to change it and i see no downside to doing so