innd_selinux(8)
π NAME π
innd_selinux(8) β Security Enhanced Linux Policy for the innd processes. Bestie, this is the manual-name moment: innd_selinux is the SELinux policy page for innd, and we are about to unfold it like a very useful group chat. π
π¦ DESCRIPTION π¦
Security-Enhanced Linux secures the innd processes via flexible mandatory access control. No cap, that is the whole security vibe.
The innd processes execute with the innd_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 innd_t
β¨ ENTRYPOINTS β¨
The innd_t SELinux type can be entered via the innd_exec_t file type.
The default entrypoint paths for the innd_t domain are the following:
/usr/bin/innd.*, /usr/libexec/news/rc.news, /usr/bin/suck,
/etc/news/boot, /usr/bin/inews, /usr/bin/rnews, /usr/bin/rpost,
/usr/bin/in.nnrpd, /usr/libexec/news/sm, /usr/libexec/news/innd,
/usr/libexec/news/inews, /usr/libexec/news/inndf,
/usr/libexec/news/nnrpd, /usr/libexec/news/rnews,
/usr/libexec/news/expire, /usr/libexec/news/fastrm,
/usr/libexec/news/shlock, /usr/libexec/news/actsync,
/usr/libexec/news/archive, /usr/libexec/news/batcher,
/usr/libexec/news/ctlinnd, /usr/libexec/news/getlist,
/usr/libexec/news/innfeed, /usr/libexec/news/innxmit,
/usr/libexec/news/makedbz, /usr/libexec/news/nntpget,
/usr/libexec/news/buffchan, /usr/libexec/news/convdate,
/usr/libexec/news/cvtbatch, /usr/libexec/news/filechan,
/usr/libexec/news/overchan, /usr/libexec/news/inndstart,
/usr/libexec/news/innxbatch, /usr/libexec/newsinnconfval,
/usr/libexec/news/expireover, /usr/libexec/news/shrinkfile,
/usr/libexec/news/grephistory, /usr/libexec/news/makehistory,
/usr/libexec/news/newsrequeue, /usr/libexec/news/ovdb_recover,
/usr/libexec/news/prunehistory, /usr/libexec/news/startinnfeed
π₯ PROCESS TYPES π₯
SELinux defines process types (domains) for each process running on the system.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux innd policy is very flexible allowing users to setup their innd processes in as secure a method as possible.
The following process types are defined for innd:
innd_t
Note:semanage permissive -a innd_tcan be used to make the process typeinnd_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated.
π BOOLEANS π
SELinux policy is customizable based on least access required. innd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run innd with the tightest access possible.
daemons_dontaudit_schedulingβ if you want to dontaudit all daemons scheduling requests (setsched,sys_nice), you must turn on thedaemons_dontaudit_schedulingboolean. Enabled by default.setsebool -P daemons_dontaudit_scheduling 1fips_modeβ if you want to allow all domains to execute infips_mode, you must turn on thefips_modeboolean. Enabled by default.setsebool -P fips_mode 1nis_enabledβ if you want to allow system to run with NIS, you must turn on thenis_enabledboolean. Disabled by default.setsebool -P nis_enabled 1
π PORT TYPES π
SELinux defines port types to represent TCP and UDP ports.
You can see the types associated with a port by using the following command:
semanage port -l
Policy governs the access confined processes have to these ports. SELinux innd policy is very flexible allowing users to setup their innd processes in as secure a method as possible.
The following port types are defined for innd:
innd_port_t
Default Defined Ports:
tcp 119
πΎ MANAGED FILES πΎ
The SELinux process type innd_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.
π 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
π innd_log_t π
/var/log/news(/.*)?
π innd_var_lib_t π
/var/lib/news(/.*)?
π innd_var_run_t π
/run/innd(/.*)?
/run/news(/.*)?
/run/innd.pid
/run/news.pid
π 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
π news_spool_t π
/var/spool/news(/.*)?
π 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.
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 innd policy is very flexible allowing users to setup their innd processes in as secure a method as possible.
π STANDARD FILE CONTEXT π
SELinux defines the file context types for the innd, 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.
semanage fcontext -a -t innd_exec_t '/srv/innd/content(/.*)?'
restorecon -R -v /srv/myinnd_content
Note: SELinux often uses regular expressions to specify labels that match multiple files.
The following file types are defined for innd:
π«Ά innd_etc_t π«Ά
- Set files with the
innd_etc_ttype, if you want to storeinndfiles in the/etcdirectories.
π«Ά innd_exec_t π«Ά
- Set files with the
innd_exec_ttype, if you want to transition an executable to theinnd_tdomain.
Paths:
/usr/bin/innd.*, /usr/libexec/news/rc.news, /usr/bin/suck,
/etc/news/boot, /usr/bin/inews, /usr/bin/rnews, /usr/bin/rpost,
/usr/bin/in.nnrpd, /usr/libexec/news/sm, /usr/libexec/news/innd,
/usr/libexec/news/inews, /usr/libexec/news/inndf,
/usr/libexec/news/nnrpd, /usr/libexec/news/rnews,
/usr/libexec/news/expire, /usr/libexec/news/fastrm,
/usr/libexec/news/shlock, /usr/libexec/news/actsync,
/usr/libexec/news/archive, /usr/libexec/news/batcher,
/usr/libexec/news/ctlinnd, /usr/libexec/news/getlist,
/usr/libexec/news/innfeed, /usr/libexec/news/innxmit,
/usr/libexec/news/makedbz, /usr/libexec/news/nntpget,
/usr/libexec/news/buffchan, /usr/libexec/news/convdate,
/usr/libexec/news/cvtbatch, /usr/libexec/news/filechan,
/usr/libexec/news/overchan, /usr/libexec/news/inndstart,
/usr/libexec/news/innxbatch, /usr/libexec/newsinnconfval,
/usr/libexec/news/expireover, /usr/libexec/news/shrinkfile,
/usr/libexec/news/grephistory, /usr/libexec/news/makehistory,
/usr/libexec/news/newsrequeue, /usr/libexec/news/ovdb_recover,
/usr/libexec/news/prunehistory, /usr/libexec/news/startinnfeed
π«Ά innd_initrc_exec_t π«Ά
- Set files with the
innd_initrc_exec_ttype, if you want to transition an executable to theinnd_initrc_tdomain.
π«Ά innd_log_t π«Ά
- Set files with the
innd_log_ttype, if you want to treat the data asinndlog data, usually stored under the/var/logdirectory.
π«Ά innd_unit_file_t π«Ά
- Set files with the
innd_unit_file_ttype, if you want to treat the files asinndunit content.
π«Ά innd_var_lib_t π«Ά
- Set files with the
innd_var_lib_ttype, if you want to store theinndfiles under the/var/libdirectory.
π«Ά innd_var_run_t π«Ά
- Set files with the
innd_var_run_ttype, if you want to store theinndfiles under the/runor/var/rundirectory.
Paths:
/run/innd(/.*)?, /run/news(/.*)?, /run/innd.pid, /run/news.pid
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.
π COMMANDS π
semanage fcontextcan also be used to manipulate default file context mappings.semanage permissivecan also be used to manipulate whether or not a process type is permissive.semanage modulecan also be used to enable/disable/install/remove policy modules.semanage portcan also be used to manipulate the port definitionssemanage booleancan also be used to manipulate the booleanssystem-config-selinuxis a GUI tool available to customize SELinux policy settings.
β AUTHOR β
This manual page was auto-generated using sepolicy manpage.
πΈ SEE ALSO πΈ
selinux(8), innd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
That is the whole innd_selinux(8) vibe, bestie. Source/version: innd; date: 26-10-06; manual name: innd_selinux(8). Bye and stay iconic. πβ¨
π¦ 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