ABRT_UPLOAD_WATCH_SELINUX(8)
π abrt_upload_watch_selinux β bestie edition π
okay so this is the abrt_upload_watch_selinux(8) page, aka the SELinux Policy for abrt_upload_watch. yes the header got truncated to abrt_upl...h_selinux(8) because manpages are dramatic like that. anyway, sit down, grab a boba, we're learning SELinux together π§β¨
πΈ NAME πΈ
abrt_upload_watch_selinux β it's the Security Enhanced Linux Policy for the abrt_upload_watch processes. that's it, that's the name, no cap π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the abrt_upload_watch processes via flexible mandatory access control. yes bestie, mandatory β it's not optional, it's giving "the system said so, periodt."
The abrt_upload_watch processes execute with the abrt_upload_watch_t SELinux type. you can check if you have these processes running by executing the ps command with the -Z qualifier.
for example:
ps -eZ | grep abrt_upload_watch_t
slay, look at you checking your own processes π
π ENTRYPOINTS π
The abrt_upload_watch_t SELinux type can be entered via the abrt_upload_watch_exec_t file type.
the default entrypoint paths for the abrt_upload_watch_t domain are literally just this one path, no crumbs:
/usr/bin/abrt-upload-watch
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system, iykyk.
you can see the context of a process using the -Z option to ps. very demure, very mindful.
Policy governs the access confined processes have to files. SELinux abrt_upload_watch policy is very flexible, allowing users to setup their abrt_upload_watch processes in as secure a method as possible. we love a customizable king π«Ά
the following process types are defined for abrt_upload_watch:
abrt_upload_watch_t
Note:semanage permissive -a abrt_upload_watch_tcan be used to make the process typeabrt_upload_watch_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's chill about it but it's still keeping receipts π
π BOOLEANS π
SELinux policy is customizable based on least access required. abrt_upload_watch policy is extremely flexible and has several booleans that allow you to manipulate the policy and run abrt_upload_watch with the tightest access possible. tightest access = main character energy, we don't overshare π₯
if you want to dontaudit all daemons scheduling requests (setsched, sys_nice), you must turn on the daemons_dontaudit_scheduling boolean. enabled by default, bestie.
setsebool -P daemons_dontaudit_scheduling 1
if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. also enabled by default, we love a default β¨
setsebool -P fips_mode 1
πΈ MANAGED FILES πΈ
The SELinux process type abrt_upload_watch_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. note: the processes UID still need to have DAC permissions. don't forget, SELinux isn't the whole story, okay? π
abrt_upload_watch_tmp_t
(no default paths listed, it's mysterious like that π¦)
cluster_conf_t
/etc/cluster(/.*)?
cluster_var_lib_t
/var/lib/pcsd(/.*)?
/var/lib/cluster(/.*)?
/var/lib/openais(/.*)?
/var/lib/pengine(/.*)?
/var/lib/corosync(/.*)?
/usr/lib/heartbeat(/.*)?
/var/lib/heartbeat(/.*)?
/var/lib/pacemaker(/.*)?
cluster_var_run_t
/run/crm(/.*)?
/run/cman_.*
/run/rsctmp(/.*)?
/run/aisexec.*
/run/heartbeat(/.*)?
/run/pcsd-ruby.socket
/run/corosync-qnetd(/.*)?
/run/corosync-qdevice(/.*)?
/run/pcsd.socket
/run/corosync.pid
/run/cpglockd.pid
/run/rgmanager.pid
/run/cluster/rgmanager.sk
public_content_rw_t
/var/spool/abrt-upload(/.*)?
root_t
/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type. yes, an extended attribute, we're fancy here π
you can see the context of a file using the -Z option to ls, iykyk.
Policy governs the access confined processes have to these files. SELinux abrt_upload_watch policy is very flexible, allowing users to setup their abrt_upload_watch processes in as secure a method as possible. same energy as before, still iconic π
STANDARD FILE CONTEXT
SELinux defines the file context types for the abrt_upload_watch. if you wanted to store files with these types in a different paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk. it's giving "customization era" β¨
semanage fcontext -a -t abrt_upload_watch_exec_t '/srv/abrt_upload_watch/content(/.*)?'
restorecon -R -v /srv/myabrt_upload_watch_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. she's regex-coded fr fr π§
the following file types are defined for abrt_upload_watch:
abrt_upload_watch_exec_tβ set files with theabrt_upload_watch_exec_ttype, if you want to transition an executable to theabrt_upload_watch_tdomain. this is the glow-up pipeline bestie πabrt_upload_watch_tmp_tβ set files with theabrt_upload_watch_tmp_ttype, if you want to store abrt upload watch temporary files in the/tmpdirectories. temp files stay in/tmp, we don't clutter the timeline π
Note: File context can be temporarily modified with thechconcommand. if you want to permanently change the file context you need to use thesemanage fcontextcommand. this will modify the SELinux labeling database. you will need to userestoreconto apply the labels. temporary vs permanent is literally the whole plot twist here π
π¦ SHARING FILES π¦
if you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and public_content_rw_t. these context allow any of the above domains to read the content. if you want a particular domain to write to the public_content_rw_t domain, you must set the appropriate boolean. sharing is caring but read the rules first fr fr
Allow abrt_upload_watch servers to read the /var/abrt_upload_watch directory by adding the public_content_t file type to the directory and by restoring the file type.
semanage fcontext -a -t public_content_t "/var/abrt_upload_watch(/.*)?"
restorecon -F -R -v /var/abrt_upload_watch
Allow abrt_upload_watch servers to read and write /var/abrt_upload_watch/incoming by adding the public_content_rw_t type to the directory and by restoring the file type. you also need to turn on the abrt_upload_watch_anon_write boolean.
semanage fcontext -a -t public_content_rw_t "/var/abrt_upload_watch/incoming(/.*)?"
restorecon -F -R -v /var/abrt_upload_watch/incoming
setsebool -P abrt_upload_watch_anon_write 1
if you want to determine whether abrt-handle-upload can modify public files used for public file transfer services in /var/spool/abrt-upload/., you must turn on the abrt_upload_watch_anon_write boolean.
setsebool -P abrt_upload_watch_anon_write 1
π COMMANDS π
semanage fcontextcan also be used to manipulate default file context mappings. it's multifunctional bestie πsemanage permissivecan also be used to manipulate whether or not a process type is permissive. vibe check for your domains β¨semanage modulecan also be used to enable/disable/install/remove policy modules. modular icon behavior πsemanage booleancan also be used to manipulate the booleans. booleans are literally the settings of SELinux, no cap πΈsystem-config-selinuxis a GUI tool available to customize SELinux policy settings. for when you want a whole interface, very main character of it π₯οΈπ
π AUTHOR π
This manual page was auto-generated using sepolicy manpage . β yes, auto-generated, she didn't even have to try, effortless queen π§
π SEE ALSO π
selinux(8), abrt_upload_watch(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
go read those bestie, the lore is deep ππ
alright that's the whole page!! this one is from abrt_upload_watch, dated 26-10-06, and it lives in the section abrt_upl...h_selinux(8). love that for us. now go forth and manage your SELinux policy with confidence, periodt π«Άπβ¨
π¦ where this page comes from
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms