diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-09-29 15:56:11 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-29 08:14:17 -0700 |
commit | d46416895805ead97ca6cc9db7640d9bad9cd030 (patch) | |
tree | aff57ec1724e5bb983658a546fa6191181a5e165 | |
parent | bac3fe527a2dca3b2fe5612535589a31ce514d5d (diff) | |
download | meta-openembedded-contrib-d46416895805ead97ca6cc9db7640d9bad9cd030.tar.gz |
freeradius: fix daemon startup warnings
Fixes:
chown[1483]: /bin/chown: warning: '.' should be ':': 'radiusd.radiusd'
/etc/tmpfiles.d/radiusd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/radiusd -> /run/radiusd
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf | 2 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/radiusd.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf b/meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf index fa62962975..f3619dddb6 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf +++ b/meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf @@ -1,2 +1,2 @@ d /var/log/radius 0755 radiusd radiusd - -d /var/run/radiusd 0755 radiusd radiusd - +d /run/radiusd 0755 radiusd radiusd - diff --git a/meta-networking/recipes-connectivity/freeradius/files/radiusd.service b/meta-networking/recipes-connectivity/freeradius/files/radiusd.service index 2d766488e6..37a2eb3d7d 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/radiusd.service +++ b/meta-networking/recipes-connectivity/freeradius/files/radiusd.service @@ -5,7 +5,7 @@ After=syslog.target network.target [Service] Type=forking PIDFile=/run/radiusd/radiusd.pid -ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd /run/radiusd +ExecStartPre=-@BASE_BINDIR@/chown -R radiusd:radiusd /run/radiusd ExecStartPre=@SBINDIR@/radiusd -C ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb ExecReload=@SBINDIR@/radiusd -C |