From deca4adfedd5bf69e1716e96bbd333df4a0dbda7 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Thu, 11 Jul 2024 12:04:58 +0000 Subject: [PATCH] Merge abstractions/wutmp: allow writing wtmpdb /var/lib/wtmpdb/ contains the Y2038-safe version of wtmpdb. Proposed by darix. I propose this patch for master, 4.0 and 3.x. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1267 Approved-by: Georgia Garcia Merged-by: Christian Boltz (cherry picked from commit 728e0ab1b7d1cf2da33008f35be53ac407439b7a) da9a3bd3 abstractions/wutmp: allow writing wtmpdb Co-authored-by: Christian Boltz --- profiles/apparmor.d/abstractions/wutmp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/apparmor.d/abstractions/wutmp b/profiles/apparmor.d/abstractions/wutmp index a085c3c91..1ca0306a1 100644 --- a/profiles/apparmor.d/abstractions/wutmp +++ b/profiles/apparmor.d/abstractions/wutmp @@ -13,6 +13,8 @@ # some services update wtmp, utmp, and lastlog with per-user # connection information + /var/lib/wtmpdb/ r, + /var/lib/wtmpdb/wtmp.db{,-journal} rwlk, /var/log/lastlog rwk, /var/log/wtmp rwk, /var/log/btmp rwk,