From: Patrick Wicki <[email protected]>

systemd-tmpfiles warns about the legacy path:

  /etc/tmpfiles.d/squid.conf:1: Line references path below legacy
  directory /var/run/, updating /var/run/squid → /run/squid; please
  update the tmpfiles.d/ drop-in file accordingly.

Signed-off-by: Patrick Wicki <[email protected]>
---
 meta-networking/recipes-daemons/squid/squid_7.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/squid/squid_7.7.bb 
b/meta-networking/recipes-daemons/squid/squid_7.7.bb
index bda8f124cb..7649342596 100644
--- a/meta-networking/recipes-daemons/squid/squid_7.7.bb
+++ b/meta-networking/recipes-daemons/squid/squid_7.7.bb
@@ -122,7 +122,7 @@ do_install:append() {
 
         # Configure tmpfiles.d
         install -d ${D}${sysconfdir}/tmpfiles.d
-        echo "d ${localstatedir}/run/${BPN} 0755 squid squid -" >> 
${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
+        echo "d ${runtimedir}/${BPN} 0755 squid squid -" >> 
${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
         echo "d ${localstatedir}/log/${BPN} 0750 squid squid -" >> 
${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
     fi
 
-- 
2.56.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248688): 
https://lists.openembedded.org/g/openembedded-core/message/248688
Mute This Topic: https://lists.openembedded.org/mt/121946513/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to