| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/apparmor.d/ |
Upload File : |
#------------------------------------------------------------------
# Copyright (C) 2025 Canonical Ltd.
#
# Author: Maxime Bélair <[email protected]>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#------------------------------------------------------------------
# vim: ft=apparmor
abi <abi/4.0>,
include <tunables/global>
profile os-prober /usr/bin/os-prober flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/private-files-strict>
capability dac_override dac_read_search sys_admin sys_module sys_rawio,
mount options=(rprivate, rw) -> /,
mount options=(rw, nosuid, nodev) -> /var/lib/os-prober/mount/,
umount,
# This may cause "apparmor mqueue disconnected TODO" messages on some kernels.
# This warning is not critical, and newer kernels will fix this issue
mqueue getattr,
# os-prober uses a lot of dependencies (dash, find, grep, head, kmod, ...)
# We allow everything in /usr/bin to avoid breakages on dependency updates
file /usr/bin/** ix,
file /usr/lib/os-probes/** ix,
file /usr/lib/linux-boot-probes/** ix,
file /usr/sbin/blkid ix,
file /usr/sbin/lvm ix,
file /usr/sbin/grub-probe ix,
# os-prober may read the whole filesystem
file /{,**} r,
file /dev/fuse w,
file /dev/mapper/control w,
file /run/blkid/blkid.* wl,
file /run/lock/lvm/* wk,
file /run/lvm/hints wk,
file /tmp/os-prober.*/{,**} w,
file /var/lib/os-prober/mount/ w,
file /var/lib/os-prober/labels wl,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/os-prober>
}