From 8c9a8933b25bc1b69b59ed9bb21288250c73d338 Mon Sep 17 00:00:00 2001 From: kernelmethod <17100608+kernelmethod@users.noreply.github.com> Date: Thu, 26 Jan 2023 19:42:52 +0000 Subject: [PATCH] Replace the Debian libselinux1 dependency with libapparmor1 Debian >= 10 uses AppArmor by default instead of SELinux, so SELinux-related sudo features are typically going to be unusable in Debian installs. This changes the dependency on libselinux1 to be a dependency on libapparmor1 for .deb packages built with `make package`. --- etc/sudo.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sudo.pp b/etc/sudo.pp index 9aafae143..2941ede60 100644 --- a/etc/sudo.pp +++ b/etc/sudo.pp @@ -315,7 +315,7 @@ still allow people to get their work done." %endif %depend [deb] - libc6, libpam0g, libpam-modules, zlib1g, libselinux1 + libc6, libpam0g, libpam-modules, zlib1g, libapparmor1 %fixup [deb] # Add Conflicts, Replaces headers and add libldap dependency as needed.