From nobody Mon May 6 03:54:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1580393631654604.3822023802147; Thu, 30 Jan 2020 06:13:51 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-370-lEfSd5qeN8ywN54mzWrDew-1; Thu, 30 Jan 2020 09:13:48 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2E1088017CC; Thu, 30 Jan 2020 14:13:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB9367793C; Thu, 30 Jan 2020 14:13:42 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 637A318089C8; Thu, 30 Jan 2020 14:13:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00UECfBc024765 for ; Thu, 30 Jan 2020 09:12:41 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3061184D8A; Thu, 30 Jan 2020 14:12:41 +0000 (UTC) Received: from moe.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8941784BCE; Thu, 30 Jan 2020 14:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580393630; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=MfUm2DdQfXrrgN85bDKhf4HSjkd5ZeEUblgUpD6diUo=; b=BRdAyTbOOagDkKDr4+cC9km0ylp0Gi58KGXiD/Bimaxi7VX/9ugKRdiwAyToNqw6q2wBIn fP2Vw92xZKguUEgNQerKjjGsHRSlnlB3TrwlrLNxuTxzYI7f2ArXhlE3b0hg9vEKS/lpaX gqtFD1oYJmT08icxH/ij1wVPJAlCF4g= From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH v3 1/3] apparmor: Reflect paths from configure in profiles Date: Thu, 30 Jan 2020 15:12:30 +0100 Message-Id: <4b4b18efa8c3d10bec7aa3ace7379ea81c365839.1580393443.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: christian.ehrhardt@canonical.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: lEfSd5qeN8ywN54mzWrDew-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The configure script allows users to specify different paths for /etc/, /usr/sbin/, /var/run/ and /usr/libexec/. Instead of assuming user will pass expected value, generate the apparmor profiles using the actual values. Signed-off-by: Michal Privoznik Reviewed-by: Daniel P. Berrang=C3=A9 --- src/security/Makefile.inc.am | 29 +++++++++++++++---- ...lper =3D> usr.lib.libvirt.virt-aa-helper.in} | 10 +++---- ...usr.sbin.libvirtd =3D> usr.sbin.libvirtd.in} | 12 ++++---- 3 files changed, 35 insertions(+), 16 deletions(-) rename src/security/apparmor/{usr.lib.libvirt.virt-aa-helper =3D> usr.lib.= libvirt.virt-aa-helper.in} (85%) rename src/security/apparmor/{usr.sbin.libvirtd =3D> usr.sbin.libvirtd.in}= (94%) diff --git a/src/security/Makefile.inc.am b/src/security/Makefile.inc.am index 6fe9d50f29..3d669275d4 100644 --- a/src/security/Makefile.inc.am +++ b/src/security/Makefile.inc.am @@ -30,16 +30,36 @@ SECURITY_DRIVER_APPARMOR_SOURCES =3D \ security/security_apparmor.c \ $(NULL) =20 +SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES_IN =3D \ + security/apparmor/usr.lib.libvirt.virt-aa-helper.in \ + security/apparmor/usr.sbin.libvirtd.in \ + $(NULL) + +SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES =3D \ + $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES_IN:%.in=3D%) + $(NULL) + +security/apparmor/%: $(srcdir)/security/apparmor/%.in + $(AM_V_GEN)$(MKDIR_P) `dirname $@` && \ + $(SED) \ + -e 's|[@]sysconfdir[@]|@sysconfdir@|' \ + -e 's|[@]sbindir[@]|@sbindir@|' \ + -e 's|[@]runstatedir[@]|@runstatedir@|' \ + -e 's|[@]libexecdir[@]|@libexecdir@|' \ + $< > $@ + +BUILT_SOURCES +=3D $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES) +CLEANFILES +=3D $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES) + EXTRA_DIST +=3D \ $(SECURITY_DRIVER_SELINUX_SOURCES) \ $(SECURITY_DRIVER_APPARMOR_SOURCES) \ $(SECURITY_DRIVER_APPARMOR_HELPER_SOURCES) \ + $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES_IN) \ security/apparmor/TEMPLATE.qemu \ security/apparmor/TEMPLATE.lxc \ security/apparmor/libvirt-qemu \ security/apparmor/libvirt-lxc \ - security/apparmor/usr.lib.libvirt.virt-aa-helper \ - security/apparmor/usr.sbin.libvirtd \ $(NULL) =20 libvirt_security_manager_la_SOURCES =3D $(SECURITY_DRIVER_SOURCES) @@ -91,8 +111,7 @@ endif WITH_SECDRIVER_APPARMOR if WITH_APPARMOR_PROFILES apparmordir =3D $(sysconfdir)/apparmor.d/ apparmor_DATA =3D \ - security/apparmor/usr.lib.libvirt.virt-aa-helper \ - security/apparmor/usr.sbin.libvirtd \ + $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES) $(NULL) =20 abstractionsdir =3D $(apparmordir)/abstractions @@ -108,7 +127,7 @@ templates_DATA =3D \ $(NULL) =20 APPARMOR_LOCAL_DIR =3D "$(DESTDIR)$(apparmordir)/local" -install-apparmor-local: +install-apparmor-local: $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES) $(MKDIR_P) "$(APPARMOR_LOCAL_DIR)" echo "# Site-specific additions and overrides for \ 'usr.lib.libvirt.virt-aa-helper'" \ diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper b/src/sec= urity/apparmor/usr.lib.libvirt.virt-aa-helper.in similarity index 85% rename from src/security/apparmor/usr.lib.libvirt.virt-aa-helper rename to src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in index af434ab539..dd18c8ab89 100644 --- a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper +++ b/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in @@ -1,6 +1,6 @@ #include =20 -profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper { +profile virt-aa-helper @libexecdir@/virt-aa-helper { #include =20 # needed for searching directories @@ -19,7 +19,7 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-h= elper { # Used when internally running another command (namely apparmor_parser) @{PROC}/@{pid}/fd/ r, =20 - /etc/libnl-3/classid r, + @sysconfdir@/libnl-3/classid r, =20 # for gl enabled graphics /dev/dri/{,*} r, @@ -38,11 +38,11 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa= -helper { deny /dev/mapper/ r, deny /dev/mapper/* r, =20 - /usr/{lib,lib64}/libvirt/virt-aa-helper mr, + @libexecdir@/virt-aa-helper mr, /{usr/,}sbin/apparmor_parser Ux, =20 - /etc/apparmor.d/libvirt/* r, - /etc/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-= [0-9a-f]* rw, + @sysconfdir@/apparmor.d/libvirt/* r, + @sysconfdir@/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0= -9a-f]*-[0-9a-f]* rw, =20 # for backingstore -- allow access to non-hidden files in @{HOME} as well # as storage pools diff --git a/src/security/apparmor/usr.sbin.libvirtd b/src/security/apparmo= r/usr.sbin.libvirtd.in similarity index 94% rename from src/security/apparmor/usr.sbin.libvirtd rename to src/security/apparmor/usr.sbin.libvirtd.in index b21f31b2e1..f4fc51d705 100644 --- a/src/security/apparmor/usr.sbin.libvirtd +++ b/src/security/apparmor/usr.sbin.libvirtd.in @@ -1,7 +1,7 @@ #include @{LIBVIRT}=3D"libvirt" =20 -profile libvirtd /usr/sbin/libvirtd flags=3D(attach_disconnected) { +profile libvirtd @sbindir@/libvirtd flags=3D(attach_disconnected) { #include #include =20 @@ -80,8 +80,8 @@ profile libvirtd /usr/sbin/libvirtd flags=3D(attach_disco= nnected) { /bin/* PUx, /sbin/* PUx, /usr/bin/* PUx, - /usr/sbin/virtlogd pix, - /usr/sbin/* PUx, + @sbindir@/virtlogd pix, + @sbindir@/* PUx, /{usr/,}lib/udev/scsi_id PUx, /usr/{lib,lib64}/xen-common/bin/xen-toolstack PUx, /usr/{lib,lib64}/xen/bin/* Ux, @@ -98,9 +98,9 @@ profile libvirtd /usr/sbin/libvirtd flags=3D(attach_disco= nnected) { audit deny /sys/kernel/security/apparmor/matching rwxl, audit deny /sys/kernel/security/apparmor/.* rwxl, /sys/kernel/security/apparmor/profiles r, - /usr/{lib,lib64}/libvirt/* PUxr, - /usr/{lib,lib64}/libvirt/libvirt_parthelper ix, - /usr/{lib,lib64}/libvirt/libvirt_iohelper ix, + @libexecdir@/* puxr, + @libexecdir@/libvirt_parthelper ix, + @libexecdir@/libvirt_iohelper ix, /etc/libvirt/hooks/** rmix, /etc/xen/scripts/** rmix, =20 --=20 2.24.1 From nobody Mon May 6 03:54:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1580393638150955.6702792690137; Thu, 30 Jan 2020 06:13:58 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-85-AMGra9vCO-WrB10mfG_OTQ-1; Thu, 30 Jan 2020 09:13:54 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B13B5800D4C; Thu, 30 Jan 2020 14:13:48 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8A34660C85; Thu, 30 Jan 2020 14:13:48 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2EB2518089D0; Thu, 30 Jan 2020 14:13:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00UECgln024772 for ; Thu, 30 Jan 2020 09:12:42 -0500 Received: by smtp.corp.redhat.com (Postfix) id 244C484D8A; Thu, 30 Jan 2020 14:12:42 +0000 (UTC) Received: from moe.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C45C84BCE; Thu, 30 Jan 2020 14:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580393637; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=q1vVF5TJwtJQKZW8FV219h3UN9zA8HaILWlJfA2MDMc=; b=LpvSvC8HRRwn+aefuOfyTFqBb3esdKYpf29aEE4RKO62qvM3jV+x72gHVbkyhqhhJWyLeM cebIiydhqVfL1uhwdNbvS53T4BCrZZCQ8ipMEkqKJAiObnB/0Kgz0GWmSxutlZ8HZZlv7Q U7fc2p37Gu/LMdSeloYfgr5X5niZpkY= From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH v3 2/3] apparmor: Allow libvirt to spawn virt-aa-helper and libvirt_lxc Date: Thu, 30 Jan 2020 15:12:31 +0100 Message-Id: <0ee030f16ef7c7c1ddf422b5b2c29dc78b18f094.1580393443.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: christian.ehrhardt@canonical.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: AMGra9vCO-WrB10mfG_OTQ-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Both of these binaries are spawn by libvirt. Add a rule to the default profile to allow that. Signed-off-by: Michal Privoznik --- src/security/apparmor/usr.sbin.libvirtd.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/security/apparmor/usr.sbin.libvirtd.in b/src/security/appa= rmor/usr.sbin.libvirtd.in index f4fc51d705..c950a83db8 100644 --- a/src/security/apparmor/usr.sbin.libvirtd.in +++ b/src/security/apparmor/usr.sbin.libvirtd.in @@ -99,6 +99,8 @@ profile libvirtd @sbindir@/libvirtd flags=3D(attach_disco= nnected) { audit deny /sys/kernel/security/apparmor/.* rwxl, /sys/kernel/security/apparmor/profiles r, @libexecdir@/* puxr, + @libexecdir@/virt-aa-helper PUxr, + @libexecdir@/libvirt_lxc PUxr, @libexecdir@/libvirt_parthelper ix, @libexecdir@/libvirt_iohelper ix, /etc/libvirt/hooks/** rmix, --=20 2.24.1 From nobody Mon May 6 03:54:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1580393676062974.9668658801618; Thu, 30 Jan 2020 06:14:36 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-286-FHnjir3yP-CQdqtqfVfB7Q-1; Thu, 30 Jan 2020 09:14:29 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A1FAD107ACC4; Thu, 30 Jan 2020 14:14:23 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7AFFD19756; Thu, 30 Jan 2020 14:14:23 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3414787A7F; Thu, 30 Jan 2020 14:14:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00UEChoZ024780 for ; Thu, 30 Jan 2020 09:12:43 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1701C19E9C; Thu, 30 Jan 2020 14:12:43 +0000 (UTC) Received: from moe.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6EE2584BCE; Thu, 30 Jan 2020 14:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580393673; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dcGJtIEafhsuexzv1AvEINWwmhh9dgLQVjvikbo4JNc=; b=gG9GdrV56P925BlS5t0Ju+By4IUi8LLHweETOVnRznD2cDhAcYfjLj1haZhtCxAECOP1XH fg4LLKoNvvkJ4gqv6jGny51zC81YDf0/KzvS2PilIrjro6AJmH7UxQ4pH99drbLt/XTTLP LuOP8pSN5XvDaxa9j/aePIfdKItthms= From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH v3 3/3] docs: Fix virt-aa-helper location Date: Thu, 30 Jan 2020 15:12:32 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: christian.ehrhardt@canonical.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: FHnjir3yP-CQdqtqfVfB7Q-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The location of virt-aa-helper shown in the docs is incorrect. The helper binary is installed under libexec dir. Signed-off-by: Michal Privoznik Reviewed-by: Daniel P. Berrang=C3=A9 --- docs/drvqemu.html.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in index 87542afd27..5f412ba376 100644 --- a/docs/drvqemu.html.in +++ b/docs/drvqemu.html.in @@ -439,7 +439,8 @@ chmod o+x /path/to/directory

While users can define their own AppArmor profile scheme, a typical configuration will include a profile for /usr/sbin/libvirtd, - /usr/lib/libvirt/virt-aa-helper (a helper program which= the + /usr/lib/libvirt/virt-aa-helper or + /usr/libexec/virt-aa-helper(a helper program which the libvirtd daemon uses instead of manipulating AppArmor directly), and an abstraction to be included by /etc/apparmor.d/libvirt/TEMPL= ATE (typically /etc/apparmor.d/abstractions/libvirt-qemu). --=20 2.24.1