telepa...selinux(8)

πŸ“¦
version 20250627+git412.dbf877ab7 Β· 7 versions
, in opensuse-leap 16.0

✨ telepa...selinux(8) β€” the telepathy_stream_engine selinux glow-up ✨

okay bestie, welcome to telepa...selinux(8), the man page for the telepathy_stream_engine SELinux policy. she's niche, she's specific, she's literally the whole vibe. let's get into it πŸ’…


🌸 NAME 🌸

telepathy_stream_engine_selinux β€” Security Enhanced Linux Policy for the telepathy_stream_engine processes. that's her. that's the whole name. iconic.


πŸ¦‹ DESCRIPTION πŸ¦‹

so Security-Enhanced Linux secures the telepathy_stream_engine processes via flexible mandatory access control. yes, mandatory. she doesn't ask, she tells. 😌

the telepathy_stream_engine processes execute with the telepathy_stream_engine_t SELinux type. wanna check if you've got these processes running? run the ps command with the -Z qualifier, easy peasy.

for example:

ps -eZ | grep telepathy_stream_engine_t

like, literally just do that and you'll see what's up πŸ”


πŸŽ€ ENTRYPOINTS πŸŽ€

the telepathy_stream_engine_t SELinux type can be entered via the telepathy_stream_engine_exec_t file type. that's the door, that's the entrance, that's the velvet rope πŸ’«

the default entrypoint paths for the telepathy_stream_engine_t domain are the following:

/usr/libexec/telepathy-stream-engine

one path. one singular main character path. periodt.


πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. every process gets a little label, like a name tag at a party 🏷️

you can see the context of a process using the -Z option to ps.

policy governs the access confined processes have to files. SELinux telepathy_stream_engine policy is very flexible, allowing users to setup their telepathy_stream_engine processes in as secure a method as possible. flexible and secure? she contains multitudes πŸ’œ

the following process types are defined for telepathy_stream_engine:

telepathy_stream_engine_t
Note: semanage permissive -a telepathy_stream_engine_t can be used to make the process type telepathy_stream_engine_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like… she won't block you, but she WILL be journaling about it. no cap 😭

🌈 BOOLEANS 🌈

SELinux policy is customizable based on least access required. telepathy_stream_engine policy is extremely flexible and has several booleans that allow you to manipulate the policy and run telepathy_stream_engine with the tightest access possible. tightest access = the most locked-down, the most "sorry babe, need-to-know basis" πŸ”

if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. enabled by default.

setsebool -P fips_mode 1

if you want to allow system to run with NIS, you must turn on the nis_enabled boolean. disabled by default.

setsebool -P nis_enabled 1

two booleans, two little switches, and the -P makes them stick around after reboot so you don't have to redo this every time. you're welcome 🫢


πŸ“ MANAGED FILES πŸ“

the SELinux process type telepathy_stream_engine_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. yes, SELinux said yes but your UID might still say no. layers, bestie. layers. πŸ§…

cache_home_t

/root/.cache(/.*)?
/home/[^/]+/.nv(/.*)?
/home/[^/]+/.cache(/.*)?

krb5_host_rcache_t

/var/tmp/krb5_0.rcache2
/var/cache/krb5rcache(/.*)?
/var/tmp/nfs_0
/var/tmp/DNS_25
/var/tmp/host_0
/var/tmp/imap_0
/var/tmp/HTTP_23
/var/tmp/HTTP_48
/var/tmp/ldap_55
/var/tmp/ldap_487
/var/tmp/ldapmap1_0

look at all those kerberos cache paths. she's thorough, she's organized, she's that girl πŸ’«


πŸ’– FILE CONTEXTS πŸ’–

SELinux requires files to have an extended attribute to define the file type. it's giving "everything needs a label, no exceptions."

you can see the context of a file using the -Z option to ls.

policy governs the access confined processes have to these files. SELinux telepathy_stream_engine policy is very flexible, allowing users to setup their telepathy_stream_engine processes in as secure a method as possible.

⭐ STANDARD FILE CONTEXT ⭐

SELinux defines the file context types for the telepathy_stream_engine. 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. relabel era πŸ”

semanage fcontext -a -t telepathy_stream_engine_exec_t '/srv/telepathy_stream_engine/content(/.*)?'
restorecon -R -v /srv/mytelepathy_stream_engine_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regexes! in my SELinux?! it's more likely than you think 🧚

the following file types are defined for telepathy_stream_engine:

telepathy_stream_engine_exec_t

  • set files with the telepathy_stream_engine_exec_t type, if you want to transition an executable to the telepathy_stream_engine_t domain.

telepathy_stream_engine_tmp_t

  • set files with the telepathy_stream_engine_tmp_t type, if you want to store telepathy stream engine temporary files in the /tmp directories.
Note: file context can be temporarily modified with the chcon command. if you want to permanently change the file context you need to use the semanage fcontext command. this will modify the SELinux labeling database. you will need to use restorecon to apply the labels. chcon is the "eh, good enough for now" girlie; semanage fcontext + restorecon is the "we're doing this properly" queen πŸ‘‘

πŸ”₯ COMMANDS πŸ”₯

semanage fcontext can also be used to manipulate default file context mappings. πŸ—‚οΈ

semanage permissive can also be used to manipulate whether or not a process type is permissive. 🚦

semanage module can also be used to enable/disable/install/remove policy modules. πŸ“¦

semanage boolean can also be used to manipulate the booleans. 🎚️

system-config-selinux is a GUI tool available to customize SELinux policy settings. a whole GUI!! for the girlies who prefer clicking to typing πŸ’…


πŸ’œ AUTHOR πŸ’œ

this manual page was auto-generated using sepolicy manpage. not me being auto-generated and still serving this hard 😭✨


🌟 SEE ALSO 🌟

selinux(8), telepathy_stream_engine(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)


πŸŽ€ okay that's the whole page bestie β€” this one's from the telepathy_stream_engine gang, dated 26-10-06, and it says telepa...selinux(8) at the bottom too (yes, the truncated little header/footer gremlin shows up twice, she's consistent). go forth and label responsibly πŸ’–πŸ¦‹

πŸ“¦ where this page comes from