Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP3:Update
libapparmor.22444
add-samba-bgqd.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add-samba-bgqd.diff of Package libapparmor.22444
commit 85e53a5d040cdf3f7705da9e625b85041694aa4c Author: Christian Boltz <apparmor@cboltz.de> Date: Fri Oct 15 22:02:36 2021 +0200 Add profile for samba-bgqd ... and some rules in the smbd profile to execute it and send it a term signal. samba-bgqd is (quoting its manpage) "an internal helper program performing asynchronous printing-related jobs." samba-bgqd was added in Samba 4.15. Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1191532 Index: apparmor-2.13.6/profiles/apparmor.d/samba-bgqd =================================================================== --- /dev/null +++ apparmor-2.13.6/profiles/apparmor.d/samba-bgqd @@ -0,0 +1,16 @@ +#include <tunables/global> + +profile samba-bgqd /usr/lib*/samba/samba-bgqd { + #include <abstractions/base> + #include <abstractions/cups-client> + #include <abstractions/nameservice> + #include <abstractions/samba> + + signal receive set=term peer=smbd, + + @{PROC}/sys/kernel/core_pattern r, + @{run}/samba/samba-bgqd.pid wk, + /usr/lib*/samba/samba-bgqd m, + # Site-specific additions and overrides. See local/README for details. + #include <local/samba-bgqd> +} Index: apparmor-2.13.6/profiles/apparmor.d/usr.sbin.smbd =================================================================== --- apparmor-2.13.6.orig/profiles/apparmor.d/usr.sbin.smbd +++ apparmor-2.13.6/profiles/apparmor.d/usr.sbin.smbd @@ -22,6 +22,8 @@ profile smbd /usr/{bin,sbin}/smbd { capability sys_resource, capability sys_tty_config, + signal send set=term peer=samba-bgqd, + /etc/mtab r, /etc/netgroup r, /etc/printcap r, @@ -33,6 +35,7 @@ profile smbd /usr/{bin,sbin}/smbd { /usr/lib*/samba/charset/*.so mr, /usr/lib*/samba/gensec/*.so mr, /usr/lib*/samba/pdb/*.so mr, + /usr/lib*/samba/samba-bgqd Px -> samba-bgqd, /usr/lib*/samba/{lowcase,upcase,valid}.dat r, /usr/lib/@{multiarch}/samba/*.so{,.[0-9]*} mr, /usr/lib/@{multiarch}/samba/**/ r,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor