Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apparmor for openSUSE:Factory checked in at 2026-05-17 18:56:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apparmor (Old) and /work/SRC/openSUSE:Factory/.apparmor.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apparmor" Sun May 17 18:56:31 2026 rev:235 rq:1353557 version:5.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes 2026-05-16 19:24:58.079124620 +0200 +++ /work/SRC/openSUSE:Factory/.apparmor.new.1966/apparmor.changes 2026-05-17 18:56:43.448056533 +0200 @@ -1,0 +2,5 @@ +Sat May 16 18:41:47 UTC 2026 - Christian Boltz <[email protected]> + +- add lsusb.diff: fix lsusb profile + +------------------------------------------------------------------- New: ---- lsusb.diff ----------(New B)---------- New: - add lsusb.diff: fix lsusb profile ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apparmor.spec ++++++ --- /var/tmp/diff_new_pack.MHiCU7/_old 2026-05-17 18:56:46.560183502 +0200 +++ /var/tmp/diff_new_pack.MHiCU7/_new 2026-05-17 18:56:46.572183992 +0200 @@ -95,9 +95,12 @@ # avoid double slashes (and therefore a path mismatch) in syslog-ng profile (merged upstream 2026-05-05 https://gitlab.com/apparmor/apparmor/-/merge_requests/2090 for 5.0 and master, will be in 5.0.1) Patch14: syslog-ng-slashes.diff -# wpa_supplicant profile additions (boo#1265377) +# wpa_supplicant profile additions (boo#1265377) (submitted upstream 2026-05-16 https://gitlab.com/apparmor/apparmor/-/merge_requests/2103 for 5.0 and master) Patch15: wpa_supplicant.diff +# lsusb profile additions (submitted upstream 2026-05-16 https://gitlab.com/apparmor/apparmor/-/merge_requests/2102 for 5.0 and master) +Patch16: lsusb.diff + PreReq: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -372,6 +375,7 @@ %patch -P 13 -p1 %patch -P 14 -p1 %patch -P 15 -p1 +%patch -P 16 -p1 %build export SUSE_ASNEEDED=0 ++++++ lsusb.diff ++++++ --- a/profiles/apparmor.d/lsusb 2026-04-19 21:31:46.468630454 +0200 +++ b/profiles/apparmor.d/lsusb 2026-05-16 20:39:39.074351473 +0200 @@ -15,6 +15,7 @@ profile lsusb /usr/bin/lsusb { include <abstractions/base> + include <abstractions/consoles> /usr/bin/lsusb mr, @@ -43,8 +44,11 @@ # can silence the denial. deny capability sys_admin, + /etc/udev/hwdb.bin r, + /dev/bus/usb/@{d}@{d}@{d}/@{d}@{d}@{d} rw, + / r, /dev/ r, /dev/bus/usb/ r, @{run}/udev/data/*usb:* r, @@ -54,6 +58,9 @@ @{sys}/bus/usb/devices/ r, @{sys}/class/ r, + @{sys}/devices/@{pci_bus}/uevent r, + @{sys}/devices/@{pci_bus}/**/uevent r, + @{sys}/devices/**/usb[0-9]**/uevent r, @{sys}/devices/**/usb[0-9]**/busnum r, @{sys}/devices/**/usb[0-9]**/descriptors r,
