Your message dated Mon, 4 Nov 2019 20:34:33 +0100
with message-id <[email protected]>
and subject line Re: Bug#941220: /lib/systemd/system/usbguard.service:7: 
PIDFile= references a path below legacy directory /var/run/
has caused the Debian Bug report #941220,
regarding /lib/systemd/system/usbguard.service:7: PIDFile= references a path 
below legacy directory /var/run/
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
941220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941220
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: usbguard
Version: 0.7.4+ds-1+b1
Severity: minor

Once a day I see the following in my system logs:

  Sep 12 06:03:32 hostname systemd[1]: /lib/systemd/system/usbguard.service:7: 
PIDFile= references a path below legacy directory /var/run/, updating 
/var/run/usbguard.pid
→ /run/usbguard.pid; please update the unit file accordingly.

It can be fixed by changing the .service file like this:

--- /tmp/usbguard.service       2019-09-26 09:13:34.877530558 -0700
+++ /tmp/usbguard.service.new   2019-09-26 09:13:57.086090739 -0700
@@ -5,7 +5,7 @@
 
 [Service]
 Type=forking
-PIDFile=/var/run/usbguard.pid
+PIDFile=/run/usbguard.pid
 ExecStart=/usr/sbin/usbguard-daemon -f -s -c /etc/usbguard/usbguard-daemon.conf
 Restart=on-failure
 

Francois

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8), 
LANGUAGE=fr_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages usbguard depends on:
ii  dbus              1.12.16-1
ii  libaudit1         1:2.8.5-2
ii  libc6             2.29-2
ii  libcap-ng0        0.7.9-2+b1
ii  libdbus-1-3       1.12.16-1
ii  libdbus-glib-1-2  0.110-4
ii  libgcc1           1:9.2.1-8
ii  libglib2.0-0      2.60.6-2
ii  libseccomp2       2.4.1-2
ii  libstdc++6        9.2.1-8
ii  libusbguard0      0.7.4+ds-1+b1

usbguard recommends no packages.

usbguard suggests no packages.

-- no debconf information

-- 
https://fmarier.org/

--- End Message ---
--- Begin Message ---
Version: 0.7.5+ds-1

Sorry, I forgot to send this email earlier- this bug was fixed upstream
with 0.7.5 which entered Debian a couple of weeks ago ;)
Thus closing the bug

cheers,
Birger

--- End Message ---

Reply via email to