2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 13:58:22 +00:00

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 <georgia.garcia@canonical.com>
Merged-by: Christian Boltz <apparmor@cboltz.de>


(cherry picked from commit 728e0ab1b7)

da9a3bd3 abstractions/wutmp: allow writing wtmpdb

Co-authored-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
Christian Boltz
2024-07-11 12:04:58 +00:00
committed by Christian Boltz
parent c712509d41
commit deca4adfed

View File

@@ -13,6 +13,8 @@
# some services update wtmp, utmp, and lastlog with per-user # some services update wtmp, utmp, and lastlog with per-user
# connection information # connection information
/var/lib/wtmpdb/ r,
/var/lib/wtmpdb/wtmp.db{,-journal} rwlk,
/var/log/lastlog rwk, /var/log/lastlog rwk,
/var/log/wtmp rwk, /var/log/wtmp rwk,
/var/log/btmp rwk, /var/log/btmp rwk,