Subject: bug#230: apparmor: systemd-detect-virt: not found

From: Lars Noodén <[email-masked]>
Date: Sat, 4 Aug 2018 12:20:51 +0300

Package: apparmor
Version: 2.11.0-3+deb9u2

apparmor has a systemd dependency which causes it to fail to start.  The
package causing the problem, systemd-detect-virt, claims to be able to
detect execution in a virtualized environment as well as distinguishing
full machine virtualization from container virtualization.

https://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html

# /etc/init.d/apparmor restart
/etc/init.d/apparmor: 182: /etc/init.d/apparmor: systemd-detect-virt:
not found
Reloading AppArmor profiles:AppArmor not available as kernel LSM..
 failed!

# dpkg -S /etc/init.d/apparmor
apparmor: /etc/init.d/apparmor

# apt-cache policy apparmor
apparmor:
  Installed: 2.11.0-3+deb9u2
  Candidate: 2.11.0-3+deb9u2
  Version table:
 *** 2.11.0-3+deb9u2 500
        500 http://fi.deb.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status

---

From: Mark Hindley <[email-masked]>
Date: Fri, 3 Feb 2023 13:33:27 +0000

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/871953

Reported in Debian BTS.

Mark

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Fri, 03 Feb 2023 13:38:03 +0000

This is an automatic notification regarding your bug report
which was filed against the apparmor package:

#230: apparmor: systemd-detect-virt: not found

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
230: https://bugs.devuan.org/cgi/bugreport.cgi?bug=230
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Fixed in Debian #871953
From: Mark Hindley <[email-masked]>
To: [email-masked]
Date: Fri, 3 Feb 2023 13:37:32 +0000

Version: 2.11.0-11

Subject: apparmor: systemd-detect-virt: not found
From: Lars Noodén <[email-masked]>
To: [email-masked]
Date: Sat, 4 Aug 2018 12:20:51 +0300

Package: apparmor
Version: 2.11.0-3+deb9u2