mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 00:41:03 +01:00

Various samba components want to read it. Without it, shares cannot be accessed. apparmor="DENIED" operation="open" class="file" profile="nmbd" name="/etc/gnutls/config" pid=23509 comm="nmbd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="smbd" name="/etc/gnutls/config" pid=23508 comm="smbd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd" name="/etc/gnutls/config" pid=24037 comm="rpcd_fsrvp" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd" name="/etc/gnutls/config" pid=24036 comm="rpcd_epmapper" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd" name="/etc/gnutls/config" pid=24038 comm="rpcd_lsad" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd" name="/etc/gnutls/config" pid=24041 comm="rpcd_winreg" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd" name="/etc/gnutls/config" pid=24039 comm="rpcd_mdssvc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd-spoolss" name="/etc/gnutls/config" pid=24040 comm="rpcd_spoolss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 apparmor="DENIED" operation="open" class="file" profile="samba-rpcd-classic" name="/etc/gnutls/config" pid=24035 comm="rpcd_classic" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2009-2010 Canonical Ltd.
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
abi <abi/4.0>,
|
|
|
|
/etc/samba/* r,
|
|
/etc/gnutls/config r,
|
|
/usr/lib*/ldb/*.so mr,
|
|
/usr/lib*/ldb2/*.so mr,
|
|
/usr/lib*/ldb2/modules/ldb/*.so mr,
|
|
/usr/lib*/samba/ldb/*.so mr,
|
|
/usr/share/samba/*.dat r,
|
|
/usr/share/samba/codepages/{lowcase,upcase,valid}.dat r,
|
|
/var/cache/samba/ w,
|
|
/var/cache/samba/lck/* rwk,
|
|
/var/lib/samba/** rwk,
|
|
/var/log/samba/cores/ rw,
|
|
/var/log/samba/cores/** rw,
|
|
/var/log/samba/* rw,
|
|
@{run}/{,lock/}samba/ w,
|
|
@{run}/{,lock/}samba/*.tdb rwk,
|
|
@{run}/{,lock/}samba/msg.{lock,sock}/ rwk,
|
|
@{run}/{,lock/}samba/msg.{lock,sock}/[0-9]* rwk,
|
|
/var/cache/samba/*.tdb rwk,
|
|
/var/cache/samba/msg.lock/ rwk,
|
|
/var/cache/samba/msg.lock/[0-9]* rwk,
|
|
|
|
# required for clustering
|
|
/var/lib/ctdb/** rwk,
|
|
|
|
deny capability net_admin, # noisy setsockopt() calls from systemd
|
|
|
|
# Include additions to the abstraction
|
|
include if exists <abstractions/samba.d>
|