Devuan bug report logs - #230
apparmor: systemd-detect-virt: not found

version graph

Package: apparmor; Maintainer for apparmor is (unknown); Source for apparmor is src:apparmor.

Reported by: =?UTF-8?Q?Lars_Nood=c3=a9n?= <lars.nooden@gmail.com>

Date: Sat, 4 Aug 2018 09:33:01 UTC

Severity: normal

Tags: debian

Fixed in version 2.11.0-11

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/871953

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#230: apparmor: systemd-detect-virt: not found
Reply-To: Lars Noodén <lars.nooden@gmail.com>, 230@bugs.devuan.org
Resent-From: Lars Noodén <lars.nooden@gmail.com>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: owner@bugs.devuan.org
Resent-Date: Sat, 04 Aug 2018 09:33:01 UTC
Resent-Message-ID: <handler.230.B.153337440313067@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 230
X-Devuan-PR-Package: apparmor
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.153337440313067
          (code B ref -1); Sat, 04 Aug 2018 09:33:01 UTC
Received: (at submit) by bugs.devuan.org; 4 Aug 2018 09:20:03 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sat, 04 Aug 2018 11:20:03 +0200 (CEST)
Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 9E83BF609A2
	for <submit@bugs.devuan.org>; Sat,  4 Aug 2018 11:22:50 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="n9elXiu+";
	dkim-atps=neutral
Received: by mail-lj1-f179.google.com with SMTP id r13-v6so6784297ljg.10
        for <submit@bugs.devuan.org>; Sat, 04 Aug 2018 02:19:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=to:from:subject:message-id:date:user-agent:mime-version
         :content-language:content-transfer-encoding;
        bh=ofzS8KJAL8cVI+72i7ByhTgx35t4qq0dTtMIBKtbU+o=;
        b=n9elXiu+bOpAVxl2bGvmt6xsbZ8ycn0PsURAWaAo52Rj2fwFqEKoySHALphDvSRr/R
         60ls6D+DjeIcCBMIG/GXHi5qS4dxT7EIl8jJSgSqQuLfpmm9ow9IWLZuxpKLN00HuZhs
         tg5HUVzr37ordmKFB0sviUTn3iMUhjhYJykF+hTQERbDD9sK8qlcKcPDlr6iI4uk05lH
         aAcfVEe/VPXZNEJpwT4iXphrVn04MQCe5A6FwIR6MKDSc+q2u/fDvB3vplkPt2wUJipM
         dvZ2N3UWIVOGe9LCHRBHRA8iOKGbXMo0QeyhwFWianZbTsp6vDaG+53QZrDvb7SppXaJ
         zU5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:to:from:subject:message-id:date:user-agent
         :mime-version:content-language:content-transfer-encoding;
        bh=ofzS8KJAL8cVI+72i7ByhTgx35t4qq0dTtMIBKtbU+o=;
        b=GtWOJ1ck/58NO5lG6bXK/zEzhX8aU3T2ilrc4ROnwZrBd4O4fUqAeRmrX3Wz9JOOsY
         saopByMg+zjcp0XhBuE9pEDNCBewwqH2BGyxegtcjXjo8q3Zo6ttvzxiBXxokRC9F1Up
         ffo7q44Y78YAh9/bXdrLwtdl8k8VNfV79exTGZ/8Nl5QoBSigMX7GnkPfE7tu59gdkyo
         hMrv0C6pTNcEqAwXlQqTOfkVemiMG9Foo30o1K5iSO0EukL7vOz7/m5PEFCA4F+CwR4Q
         8Ehx5PReNc+TqGCh8Fxam1vF5aGNswAMDO29ZU5D6ehDxVkka1sbsQfMk1th0Nmx22bn
         0Fng==
X-Gm-Message-State: AOUpUlF09bAD3z6Zj1OEEF9Q2HfjAQoWv3pPKQkhqfTf2aXOff2f99gv
	D+WYfRN7pApjSY25Eruq9OfhOx7H
X-Google-Smtp-Source: AAOMgpe4A8X3oGu1x68Gm77S4oWXo/VjxOkUHSYa6xW34QFTbR4wL9lXmEW5ZVHrlldn1pYPnSbvkQ==
X-Received: by 2002:a2e:2114:: with SMTP id h20-v6mr8096603ljh.135.1533374397826;
        Sat, 04 Aug 2018 02:19:57 -0700 (PDT)
Received: from [10.11.9.35] (dsl-roibng11-50dc60-101.dhcp.inet.fi. [80.220.96.101])
        by smtp.googlemail.com with ESMTPSA id q72-v6sm1264094lja.6.2018.08.04.02.19.57
        for <submit@bugs.devuan.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 04 Aug 2018 02:19:57 -0700 (PDT)
To: submit@bugs.devuan.org
From: Lars Noodén <lars.nooden@gmail.com>
Message-ID: <0ebc61ba-88c9-ac1c-41cd-23578531a34d@gmail.com>
Date: Sat, 4 Aug 2018 12:20:51 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,
	RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=disabled version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org
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


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 23:35:28 2024;