Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apparmor for openSUSE:Factory 
checked in at 2023-11-09 21:34:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apparmor (Old)
 and      /work/SRC/openSUSE:Factory/.apparmor.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apparmor"

Thu Nov  9 21:34:30 2023 rev:198 rq:1124276 version:3.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes        2023-09-26 
22:18:38.925228972 +0200
+++ /work/SRC/openSUSE:Factory/.apparmor.new.17445/apparmor.changes     
2023-11-09 21:34:49.163605307 +0100
@@ -1,0 +2,11 @@
+Wed Nov  8 18:19:36 UTC 2023 - Christian Boltz <[email protected]>
+
+- Actually apply the previously added patch for bsc#1216878
+
+-------------------------------------------------------------------
+Wed Nov  8 13:47:35 UTC 2023 - Julio Gonzalez Gil <[email protected]>
+
+- Add apparmor-systemd-sessions.patch to allow read access to
+  /run/systemd/sessions/ (bsc#1216878)
+
+-------------------------------------------------------------------

New:
----
  apparmor-systemd-sessions.patch

BETA DEBUG BEGIN:
  New:
- Add apparmor-systemd-sessions.patch to allow read access to
  /run/systemd/sessions/ (bsc#1216878)
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apparmor.spec ++++++
--- /var/tmp/diff_new_pack.nGB0QK/_old  2023-11-09 21:34:49.875631545 +0100
+++ /var/tmp/diff_new_pack.nGB0QK/_new  2023-11-09 21:34:49.875631545 +0100
@@ -92,6 +92,11 @@
 # add path for precompiled cache (only done/applied if precompiled_cache is 
enabled)
 Patch7:         apparmor-enable-precompiled-cache.diff
 
+# To allow access to /run/systemd/sessions/ until the next release including 
the fix
+# for https://gitlab.com/apparmor/apparmor/-/issues/360 is out
+# Upstream MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1121 
(merged 2023-11-08 into master, 3.1 and 3.0)
+Patch8:         apparmor-systemd-sessions.patch
+
 PreReq:         sed
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
@@ -359,6 +364,7 @@
 %if %{with precompiled_cache}
 %patch7
 %endif
+%patch8 -p1
 
 %build
 export SUSE_ASNEEDED=0


++++++ apparmor-systemd-sessions.patch ++++++
--- apparmor-3.1.6/profiles/apparmor.d/abstractions/wutmp.orig  2023-06-21 
23:13:41.000000000 +0200
+++ apparmor-3.1.6/profiles/apparmor.d/abstractions/wutmp       2023-11-08 
14:45:19.882328152 +0100
@@ -18,5 +18,8 @@
   /var/log/btmp     rwk,
   @{run}/utmp       rwk,
 
+  # Some read the list of sessions from systemd
+  /run/systemd/sessions/ r,
+
   # Include additions to the abstraction
   include if exists <abstractions/wutmp.d>

Reply via email to