Control: tags + confirmed pending On Sat, Mar 21, 2020 at 03:16:07PM +0000, Michael Berg wrote: > Package: radvd > Version: 1:2.17-2+b1 > > As part of the migration away from /var/run/ to /run/, systemd produces > log events containing the following. These log events are generated > every 5 minutes (cluttering the logs and consuming log space). > > "/lib/systemd/system/radvd.service:13: PIDFile= references a path below > legacy directory /var/run/, updating /var/run/radvd.pid → /run/radvd.pid; > please update the unit file accordingly." > > Attached is a patch for /lib/systemd/system/radvd.service that moves the > PIDFile from /var/run/radvd.pid to /run/radvd.pid > > > --- radvd.service.old 2020-03-21 14:46:14.507449211 +0000 > +++ radvd.service.new 2020-03-21 14:47:30.668715976 +0000 > @@ -13,7 +13,7 @@ > ExecStart=/usr/sbin/radvd --logmethod stderr_clean > ExecReload=/usr/sbin/radvd --logmethod stderr_clean --configtest > ExecReload=/bin/kill -HUP $MAINPID > -PIDFile=/var/run/radvd.pid > +PIDFile=/run/radvd.pid > > # Set the CPU scheduling policy to idle which is for running very low > priority background jobs > CPUSchedulingPolicy=idle
--- a/configure.ac +++ b/configure.ac @@ -117,9 +117,9 @@ AC_MSG_RESULT($PATH_RADVD_LOG) dnl Check where to put the pidfile AC_MSG_CHECKING(where to put pidfile) AC_ARG_WITH(pidfile, -[ --with-pidfile Path to the radvd pidfile [/var/run/radvd.pid]], +[ --with-pidfile Path to the radvd pidfile [/run/radvd.pid]], PATH_RADVD_PID=$withval, - PATH_RADVD_PID=/var/run/radvd.pid) + PATH_RADVD_PID=/run/radvd.pid) AC_MSG_RESULT($PATH_RADVD_PID) dnl Check where to put the configfile Regards Geert Stappers -- Silence is hard to parse