From: GNU Libc Maintainers Date: Tue, 4 Aug 2020 15:02:38 +0000 (+0100) Subject: local-fhs-linux-paths X-Git-Tag: archive/raspbian/2.31-3+rpi1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d8f87548ffbfba50e6b45adb760a8e84edde35a4;p=glibc.git local-fhs-linux-paths # DP: Description: Correct linux paths for FHS # DP: Author: Unknown # DP: Upstream status: Debian-Specific # DP: Status Details: GNU doesn't follow the FHS. # DP: Date: Unknown # DP: Description: Correct linux paths for FHS # DP: Author: Unknown # DP: Upstream status: Debian-Specific # DP: Status Details: GNU doesn't follow the FHS. # DP: Date: Unknown Gbp-Pq: Topic any Gbp-Pq: Name local-fhs-linux-paths.diff --- diff --git a/sysdeps/generic/paths.h b/sysdeps/generic/paths.h index 6b8f44042..4e641c97a 100644 --- a/sysdeps/generic/paths.h +++ b/sysdeps/generic/paths.h @@ -68,7 +68,7 @@ /* Provide trailing slash, since mostly used for building pathnames. */ #define _PATH_DEV "/dev/" #define _PATH_TMP "/tmp/" -#define _PATH_VARDB "/var/db/" +#define _PATH_VARDB "/var/lib/misc/" #define _PATH_VARRUN "/var/run/" #define _PATH_VARTMP "/var/tmp/" diff --git a/sysdeps/unix/sysv/linux/paths.h b/sysdeps/unix/sysv/linux/paths.h index 1342ab3a9..c764e208b 100644 --- a/sysdeps/unix/sysv/linux/paths.h +++ b/sysdeps/unix/sysv/linux/paths.h @@ -68,7 +68,7 @@ /* Provide trailing slash, since mostly used for building pathnames. */ #define _PATH_DEV "/dev/" #define _PATH_TMP "/tmp/" -#define _PATH_VARDB "/var/db/" +#define _PATH_VARDB "/var/lib/misc/" #define _PATH_VARRUN "/var/run/" #define _PATH_VARTMP "/var/tmp/"