I get the following SELinux security alert which seems to be
difficult to fix because of the number of things to do.
I don't understand why you think two things to do is difficult.
You can generate a local policy module to allow this access.
Do allow this access for now by executing:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp
On Mon, Mar 20, 2023 at 10:28:35AM +0100, Patrick Dupre wrote:
Hello,
I did not get retuen about my request.
This alert is annoying because it pop up all the time,
and because it prevents the screen lock.
Is there any thing that I can make?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxx
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
Sent: Thursday, March 16, 2023 at 10:32 AM
From: "Patrick Dupre" <pdupre@xxxxxxx>
To: "fedora" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: SELinux seciruty alert
Hello,
I get the following SELinux security alert which seems to be difficult
to fix because of the number of things to do.
Is there a simple thing that I could do?
Thanks
SELinux is preventing systemd from open access on the file /var/usermin/miniserv.pid.
***** Plugin catchall_labels (83.8 confidence) suggests *******************
If you want to allow systemd to have open access on the miniserv.pid file
Then you need to change the label on /var/usermin/miniserv.pid
Do
# semanage fcontext -a -t FILE_TYPE '/var/usermin/miniserv.pid'
where FILE_TYPE is one of the following: NetworkManager_etc_rw_t, NetworkManager_etc_t, NetworkManager_exec_t, NetworkManager_initrc_exec_t, NetworkManager_unit_file_t, NetworkManager_var_run_t, abrt_dump_oops_exec_t, abrt_etc_t, abrt_exec_t, abrt_helper_exec_t, abrt_initrc_exec_t, abrt_unit_file_t, abrt_upload_watch_exec_t, abrt_var_run_t, abrt_watch_log_exec_t, accountsd_exec_t, accountsd_unit_file_t, acct_exec_t, acct_initrc_exec_t, adjtime_t, afs_bosserver_exec_t, afs_exec_t, afs_initrc_exec_t, aiccu_etc_t, aiccu_exec_t, aiccu_initrc_exec_t, aiccu_var_run_t, aide_exec_t, ajaxterm_exec_t, ajaxterm_initrc_exec_t, ajaxterm_var_run_t, alsa_etc_rw_t, alsa_exec_t, alsa_lock_t, alsa_unit_file_t, alsa_var_run_t, amanda_inetd_exec_t, amanda_unit_file_t, amtu_exec_t, amtu_initrc_exec_t, anacron_exec_t, antivirus_conf_t, antivirus_exec_t, antivirus_initrc_exec_t, antivirus_unit_file_t, antivirus_var_run_t, apcupsd_exec_t, apcupsd_initrc_exec_t, apcupsd_lock_t, apcupsd_power_t, apcupsd_unit_file_t, apcupsd_var_run_t, apmd_exec_t, apmd_initrc_exec_t, apmd_lock_t, apmd_unit_file_t, apmd_var_run_t, arpwatch_exec_t, arpwatch_initrc_exec_t, arpwatch_unit_file_t, arpwatch_var_run_t, asterisk_etc_t, asterisk_exec_t, asterisk_initrc_exec_t, asterisk_var_run_t, audisp_exec_t, audisp_var_run_t, auditctl_exec_t, auditd_etc_t, auditd_exec_t, auditd_initrc_exec_t, auditd_unit_file_t, auditd_var_run_t, automount_exec_t, automount_initrc_exec_t, automount_lock_t, automount_unit_file_t, automount_var_run_t, avahi_conf_t, avahi_exec_t, avahi_initrc_exec_t, avahi_unit_file_t, avahi_var_run_t, bacula_exec_t, bacula_initrc_exec_t, bacula_var_run_t, bcfg2_exec_t, bcfg2_initrc_exec_t, bcfg2_unit_file_t, bcfg2_var_run_t, bin_t, binfmt_misc_fs_t, bitlbee_conf_t, bitlbee_exec_t, bitlbee_initrc_exec_t, bitlbee_var_run_t, blkmapd_exec_t, blkmapd_initrc_exec_t, blkmapd_var_run_t, blktap_var_run_t, blueman_exec_t, blueman_var_run_t, bluetooth_conf_t, bluetooth_exec_t, bluetooth_initrc_exec_t, bluetooth_lock_t, bluetooth_unit_file_t, bluetooth_var
_run_t, boinc_exec_t, boinc_initrc_exec_t, boinc_unit_file_t, boltd_exec_t, boltd_var_run_t, boot_t, bootloader_etc_t, bootloader_exec_t, bootloader_tmp_t, bootloader_var_run_t, bpf_t, brctl_exec_t, brltty_exec_t, brltty_unit_file_t, brltty_var_run_t, bumblebee_exec_t, bumblebee_unit_file_t, bumblebee_var_run_t, cache_home_t, cachefilesd_exec_t, cachefilesd_var_run_t, callweaver_exec_t, callweaver_initrc_exec_t, callweaver_var_run_t, canna_exec_t, canna_initrc_exec_t, canna_var_run_t, cardmgr_dev_t, cardmgr_exec_t, cardmgr_var_run_t, ccs_exec_t, ccs_initrc_exec_t, ccs_var_run_t, cert_t, certmaster_exec_t, certmaster_initrc_exec_t, certmaster_var_run_t, certmonger_exec_t, certmonger_initrc_exec_t, certmonger_unit_file_t, certmonger_var_run_t, cfengine_execd_exec_t, cfengine_initrc_exec_t, cfengine_monitord_exec_t, cfengine_serverd_exec_t, cgclear_exec_t, cgconfig_etc_t, cgconfig_exec_t, cgconfig_initrc_exec_t, cgred_exec_t, cgred_initrc_exec_t, cgred_var_run_t, cgroup_t, cgrules_etc_t, checkpc_exec_t, chkpwd_exec_t, chronyc_exec_t, chronyd_exec_t, chronyd_initrc_exec_t, chronyd_keys_t, chronyd_unit_file_t, chronyd_var_run_t, chroot_exec_t, cinder_api_exec_t, cinder_api_unit_file_t, cinder_backup_exec_t, cinder_backup_unit_file_t, cinder_scheduler_exec_t, cinder_scheduler_unit_file_t, cinder_var_run_t, cinder_volume_exec_t, cinder_volume_unit_file_t, ciped_exec_t, ciped_initrc_exec_t, clogd_exec_t, clogd_var_run_t, cloud_init_exec_t, cloud_init_unit_file_t, cluster_conf_t, cluster_exec_t, cluster_initrc_exec_t, cluster_unit_file_t, cluster_var_run_t, clvmd_exec_t, clvmd_initrc_exec_t, clvmd_var_run_t, cmirrord_exec_t, cmirrord_initrc_exec_t, cmirrord_var_run_t, cobbler_etc_t, cobblerd_exec_t, cobblerd_initrc_exec_t, cockpit_unit_file_t, cockpit_var_run_t, cockpit_ws_exec_t, collectd_exec_t, collectd_initrc_exec_t, collectd_unit_file_t, collectd_var_run_t, colord_exec_t, colord_unit_file_t, comsat_exec_t, comsat_var_run_t, condor_collector_exec_t, condor_conf_t, condor_initrc_exec_t, condor_master_exec_t, condor_neg
otiator_exec_t, condor_procd_exec_t, condor_schedd_exec_t, condor_startd_exec_t, condor_unit_file_t, condor_var_lock_t, condor_var_run_t, config_home_t, conman_exec_t, conman_unconfined_script_exec_t, conman_unit_file_t, conman_var_run_t, conntrackd_conf_t, conntrackd_exec_t, conntrackd_initrc_exec_t, conntrackd_unit_file_t, conntrackd_var_lock_t, conntrackd_var_run_t, consolekit_exec_t, consolekit_log_t, consolekit_unit_file_t, consolekit_var_run_t, container_auth_exec_t, container_config_t, container_file_t, container_kvm_var_run_t, container_lock_t, container_plugin_var_run_t, container_ro_file_t, container_runtime_exec_t, container_runtime_tmpfs_t, container_unit_file_t, container_var_lib_t, container_var_run_t, couchdb_conf_t, couchdb_exec_t, couchdb_initrc_exec_t, couchdb_unit_file_t, couchdb_var_run_t, courier_authdaemon_exec_t, courier_etc_t, courier_pcp_exec_t, courier_pop_exec_t, courier_sqwebmail_exec_t, courier_tcpd_exec_t, courier_var_run_t, cpu_online_t, cpucontrol_conf_t, cpucontrol_exec_t, cpufreqselector_exec_t, cpuplug_exec_t, cpuplug_initrc_exec_t, cpuplug_lock_t, cpuplug_var_run_t, cpuspeed_exec_t, cpuspeed_var_run_t, cron_var_run_t, crond_exec_t, crond_initrc_exec_t, crond_unit_file_t, crond_var_run_t, ctdbd_exec_t, ctdbd_initrc_exec_t, ctdbd_var_run_t, cupsd_config_exec_t, cupsd_config_var_run_t, cupsd_etc_t, cupsd_exec_t, cupsd_initrc_exec_t, cupsd_lock_t, cupsd_lpd_exec_t, cupsd_lpd_var_run_t, cupsd_rw_etc_t, cupsd_unit_file_t, cupsd_var_run_t, cvs_exec_t, cvs_initrc_exec_t, cvs_var_run_t, cyphesis_exec_t, cyphesis_initrc_exec_t, cyphesis_var_run_t, cyrus_exec_t, cyrus_initrc_exec_t, cyrus_var_run_t, data_home_t, dbskkd_exec_t, dbskkd_var_run_t, dbus_home_t, dbusd_etc_t, dbusd_exec_t, dbusd_unit_file_t, dcc_var_run_t, dccd_exec_t, dccd_var_run_t, dccifd_exec_t, dccifd_var_run_t, dccm_exec_t, dccm_var_run_t, dcerpcd_exec_t, dcerpcd_var_run_t, ddclient_etc_t, ddclient_exec_t, ddclient_initrc_exec_t, ddclient_var_run_t, debuginfo_exec_t, default_context_t, deltacloudd_exec_t, deltacloudd_var_
run_t, denyhosts_exec_t, denyhosts_initrc_exec_t, denyhosts_var_lock_t, device_t, devicekit_disk_exec_t, devicekit_exec_t, devicekit_power_exec_t, devicekit_var_run_t, dhcp_etc_t, dhcpc_exec_t, dhcpc_helper_exec_t, dhcpc_state_t, dhcpc_var_run_t, dhcpd_exec_t, dhcpd_initrc_exec_t, dhcpd_unit_file_t, dhcpd_var_run_t, dictd_etc_t, dictd_exec_t, dictd_initrc_exec_t, dictd_var_run_t, dirsrv_exec_t, dirsrv_snmp_exec_t, dirsrv_snmp_var_run_t, dirsrv_unit_file_t, dirsrv_var_lock_t, dirsrv_var_run_t, dirsrvadmin_exec_t, dirsrvadmin_lock_t, dirsrvadmin_unit_file_t, dkim_milter_data_t, dkim_milter_exec_t, dlm_controld_exec_t, dlm_controld_initrc_exec_t, dlm_controld_var_run_t, dmesg_exec_t, dnsmasq_etc_t, dnsmasq_exec_t, dnsmasq_initrc_exec_t, dnsmasq_unit_file_t, dnsmasq_var_run_t, dnssec_trigger_exec_t, dnssec_trigger_unit_file_t, dnssec_trigger_var_run_t, dovecot_etc_t, dovecot_exec_t, dovecot_initrc_exec_t, dovecot_var_run_t, drbd_exec_t, drbd_initrc_exec_t, drbd_lock_t, drbd_var_run_t, dspam_exec_t, dspam_initrc_exec_t, dspam_var_run_t, efivarfs_t, entropyd_exec_t, entropyd_initrc_exec_t, entropyd_var_run_t, etc_aliases_t, etc_mail_t, etc_runtime_t, etc_t, eventlogd_exec_t, eventlogd_var_run_t, evtchnd_exec_t, evtchnd_var_run_t, exim_exec_t, exim_initrc_exec_t, exim_var_run_t, exports_t, fail2ban_client_exec_t, fail2ban_exec_t, fail2ban_initrc_exec_t, fail2ban_var_run_t, faillog_t, fcoemon_exec_t, fcoemon_initrc_exec_t, fcoemon_var_run_t, fenced_exec_t, fenced_lock_t, fenced_var_run_t, fetchmail_etc_t, fetchmail_exec_t, fetchmail_initrc_exec_t, fetchmail_var_run_t, file_context_t, fingerd_etc_t, fingerd_exec_t, fingerd_var_run_t, firewalld_etc_rw_t, firewalld_exec_t, firewalld_initrc_exec_t, firewalld_unit_file_t, firewalld_var_run_t, firewallgui_exec_t, firstboot_etc_t, firstboot_exec_t, flatpak_helper_exec_t, foghorn_exec_t, foghorn_initrc_exec_t, foghorn_var_run_t, fonts_cache_t, fonts_t, fprintd_exec_t, freeipmi_bmc_watchdog_exec_t, freeipmi_bmc_watchdog_unit_file_t, freeipmi_bmc_watchdog_var_run_t, freeipmi_ipmid
etectd_exec_t, freeipmi_ipmidetectd_unit_file_t, freeipmi_ipmidetectd_var_run_t, freeipmi_ipmiseld_exec_t, freeipmi_ipmiseld_unit_file_t, freeipmi_ipmiseld_var_run_t, fsadm_exec_t, fsadm_var_run_t, fsdaemon_exec_t, fsdaemon_initrc_exec_t, fsdaemon_var_run_t, ftpd_etc_t, ftpd_exec_t, ftpd_initrc_exec_t, ftpd_lock_t, ftpd_unit_file_t, ftpd_var_run_t, ftpdctl_exec_t, fwupd_exec_t, fwupd_unit_file_t, games_exec_t, games_srv_var_run_t, gconf_etc_t, gconf_home_t, gconfdefaultsm_exec_t, gdomap_conf_t, gdomap_exec_t, gdomap_initrc_exec_t, gdomap_var_run_t, geoclue_exec_t, getty_etc_t, getty_exec_t, getty_lock_t, getty_unit_file_t, getty_var_run_t, gfs_controld_exec_t, gfs_controld_var_run_t, gitd_exec_t, gkeyringd_gnome_home_t, glance_api_exec_t, glance_api_initrc_exec_t, glance_api_unit_file_t, glance_registry_exec_t, glance_registry_initrc_exec_t, glance_registry_unit_file_t, glance_scrubber_exec_t, glance_scrubber_initrc_exec_t, glance_scrubber_unit_file_t, glance_var_run_t, glusterd_exec_t, glusterd_initrc_exec_t, glusterd_var_run_t, gnome_atspi_exec_t, gnome_home_t, gnomesystemmm_exec_t, gpm_conf_t, gpm_exec_t, gpm_initrc_exec_t, gpm_var_run_t, gpsd_exec_t, gpsd_initrc_exec_t, gpsd_var_run_t, greylist_milter_data_t, greylist_milter_exec_t, groupadd_exec_t, groupd_exec_t, groupd_var_run_t, gssd_exec_t, gssproxy_exec_t, gssproxy_unit_file_t, gssproxy_var_run_t, gstreamer_home_t, haproxy_exec_t, haproxy_unit_file_t, haproxy_var_run_t, hddtemp_etc_t, hddtemp_exec_t, hddtemp_initrc_exec_t, hostapd_exec_t, hostapd_unit_file_t, hostapd_var_run_t, hostname_etc_t, hostname_exec_t, hsqldb_exec_t, hsqldb_unit_file_t, httpd_config_t, httpd_exec_t, httpd_initrc_exec_t, httpd_lock_t, httpd_rotatelogs_exec_t, httpd_unit_file_t, httpd_var_run_t, hwclock_exec_t, hwloc_dhwd_exec_t, hwloc_dhwd_unit_t, hwloc_var_run_t, hypervkvp_exec_t, hypervkvp_initrc_exec_t, hypervkvp_unit_file_t, hypervvssd_exec_t, hypervvssd_unit_file_t, ibacm_conf_t, ibacm_exec_t, ibacm_var_run_t, ica_tmpfs_t, icc_data_home_t, icecast_exec_t, icecast_initrc_exec_
t, icecast_var_run_t, ifconfig_exec_t, ifconfig_var_run_t, inetd_child_exec_t, inetd_child_var_run_t, inetd_exec_t, inetd_var_run_t, init_exec_t, init_tmp_t, init_var_lib_t, init_var_run_t, initrc_devpts_t, initrc_exec_t, initrc_state_t, initrc_var_run_t, innd_etc_t, innd_exec_t, innd_initrc_exec_t, innd_unit_file_t, innd_var_run_t, install_exec_t, iodined_exec_t, iodined_initrc_exec_t, iodined_unit_file_t, ipa_custodia_dmldap_exec_t, ipa_custodia_exec_t, ipa_custodia_pki_tomcat_exec_t, ipa_custodia_ra_agent_exec_t, ipa_dnskey_exec_t, ipa_dnskey_unit_file_t, ipa_helper_exec_t, ipa_ods_exporter_exec_t, ipa_ods_exporter_unit_file_t, ipa_otpd_exec_t, ipa_otpd_unit_file_t, ipa_var_run_t, ipmievd_exec_t, ipmievd_helper_exec_t, ipmievd_lock_t, ipmievd_unit_file_t, ipmievd_var_run_t, ipsec_conf_file_t, ipsec_exec_t, ipsec_initrc_exec_t, ipsec_mgmt_devpts_t, ipsec_mgmt_exec_t, ipsec_mgmt_lock_t, ipsec_mgmt_unit_file_t, ipsec_mgmt_var_run_t, ipsec_var_run_t, iptables_exec_t, iptables_initrc_exec_t, iptables_lock_t, iptables_unit_file_t, iptables_var_lib_t, iptables_var_run_t, irc_conf_t, irqbalance_exec_t, irqbalance_initrc_exec_t, irqbalance_var_run_t, irssi_etc_t, iscsi_lock_t, iscsi_unit_file_t, iscsi_var_lib_t, iscsi_var_run_t, iscsid_exec_t, isnsd_exec_t, isnsd_initrc_exec_t, isnsd_var_run_t, iwhd_exec_t, iwhd_initrc_exec_t, iwhd_var_run_t, jabberd_exec_t, jabberd_initrc_exec_t, jabberd_router_exec_t, jetty_exec_t, jetty_unit_file_t, jetty_var_run_t, jockey_exec_t, journalctl_exec_t, kadmind_exec_t, kadmind_var_run_t, kdump_crash_t, kdump_etc_t, kdump_exec_t, kdump_initrc_exec_t, kdump_lock_t, kdump_unit_file_t, kdumpctl_exec_t, kdumpgui_exec_t, keepalived_exec_t, keepalived_unit_file_t, keepalived_var_run_t, kerberos_initrc_exec_t, keyboardd_exec_t, keystone_exec_t, keystone_initrc_exec_t, keystone_unit_file_t, keystone_var_run_t, kismet_exec_t, kismet_initrc_exec_t, kismet_var_run_t, klogd_exec_t, klogd_var_run_t, kmod_exec_t, kmod_var_run_t, kmscon_conf_t, kmscon_exec_t, kmscon_unit_file_t, kpatch_exec_t, kpropd_e
xec_t, krb5_conf_t, krb5_host_rcache_t, krb5_keytab_t, krb5kdc_conf_t, krb5kdc_exec_t, krb5kdc_lock_t, krb5kdc_var_run_t, ksmtuned_exec_t, ksmtuned_initrc_exec_t, ksmtuned_unit_file_t, ksmtuned_var_run_t, ktalkd_exec_t, ktalkd_unit_file_t, kubernetes_file_t, l2tp_conf_t, l2tpd_exec_t, l2tpd_initrc_exec_t, l2tpd_var_run_t, lastlog_t, ld_so_cache_t, ld_so_t, ldconfig_exec_t, lib_t, likewise_etc_t, likewise_initrc_exec_t, likewise_pstore_lock_t, lircd_etc_t, lircd_exec_t, lircd_initrc_exec_t, lircd_var_run_t, lldpad_exec_t, lldpad_initrc_exec_t, lldpad_var_run_t, loadkeys_exec_t, local_login_lock_t, locale_t, locate_exec_t, locate_var_run_t, lockdev_lock_t, logrotate_exec_t, logrotate_lock_t, logwatch_exec_t, logwatch_lock_t, logwatch_var_run_t, lpd_exec_t, lpd_var_run_t, lsassd_exec_t, lsassd_var_run_t, lsmd_exec_t, lsmd_unit_file_t, lsmd_var_run_t, lttng_sessiond_exec_t, lttng_sessiond_unit_file_t, lttng_sessiond_var_run_t, lvm_etc_t, lvm_exec_t, lvm_lock_t, lvm_unit_file_t, lvm_var_run_t, lwiod_exec_t, lwiod_var_run_t, lwregd_exec_t, lwregd_var_run_t, lwsmd_exec_t, lwsmd_var_run_t, machineid_t, mailman_lock_t, mailman_mail_exec_t, mailman_var_run_t, man_cache_t, man_t, mandb_cache_t, mandb_exec_t, mandb_lock_t, mcelog_etc_t, mcelog_exec_t, mcelog_initrc_exec_t, mcelog_var_run_t, mdadm_conf_t, mdadm_exec_t, mdadm_initrc_exec_t, mdadm_unit_file_t, mdadm_var_run_t, memcached_exec_t, memcached_initrc_exec_t, memcached_var_run_t, minidlna_conf_t, minidlna_exec_t, minidlna_initrc_exec_t, minidlna_var_run_t, minissdpd_conf_t, minissdpd_exec_t, minissdpd_initrc_exec_t, minissdpd_var_run_t, mip6d_exec_t, mip6d_unit_file_t, mirrormanager_var_run_t, mnt_t, mock_etc_t, mock_var_run_t, modemmanager_exec_t, modemmanager_unit_file_t, modules_conf_t, modules_dep_t, modules_object_t, mon_procd_exec_t, mon_statd_exec_t, mon_statd_initrc_exec_t, mon_statd_var_run_t, mongod_exec_t, mongod_initrc_exec_t, mongod_unit_file_t, mongod_var_run_t, motion_exec_t, motion_unit_file_t, motion_var_run_t, mount_exec_t, mount_var_run_t, mozilla_c
onf_t, mpd_etc_t, mpd_exec_t, mpd_initrc_exec_t, mpd_var_run_t, mplayer_etc_t, mrtg_etc_t, mrtg_exec_t, mrtg_initrc_exec_t, mrtg_lock_t, mrtg_var_run_t, mscan_etc_t, mscan_exec_t, mscan_initrc_exec_t, mscan_var_run_t, mtrr_device_t, munin_etc_t, munin_exec_t, munin_initrc_exec_t, munin_var_run_t, mysqld_etc_t, mysqld_exec_t, mysqld_initrc_exec_t, mysqld_safe_exec_t, mysqld_unit_file_t, mysqld_var_run_t, mysqlmanagerd_exec_t, mysqlmanagerd_initrc_exec_t, mysqlmanagerd_var_run_t, naemon_exec_t, naemon_initrc_exec_t, naemon_var_run_t, nagios_etc_t, nagios_exec_t, nagios_initrc_exec_t, nagios_var_run_t, named_checkconf_exec_t, named_conf_t, named_exec_t, named_initrc_exec_t, named_unit_file_t, named_var_run_t, namespace_init_exec_t, ndc_exec_t, net_conf_t, netlabel_mgmt_exec_t, netlabel_mgmt_unit_file_t, netlogond_exec_t, netlogond_var_run_t, netutils_exec_t, neutron_exec_t, neutron_initrc_exec_t, neutron_unit_file_t, neutron_var_run_t, nfsd_exec_t, nfsd_fs_t, nfsd_initrc_exec_t, nfsd_unit_file_t, ninfod_exec_t, ninfod_run_t, ninfod_unit_file_t, nis_initrc_exec_t, nis_unit_file_t, nmbd_exec_t, nmbd_var_run_t, nova_exec_t, nova_unit_file_t, nova_var_run_t, nrpe_etc_t, nrpe_exec_t, nrpe_var_run_t, nscd_exec_t, nscd_initrc_exec_t, nscd_unit_file_t, nscd_var_run_t, nsd_exec_t, nsd_var_run_t, nslcd_conf_t, nslcd_exec_t, nslcd_initrc_exec_t, nslcd_var_run_t, ntop_etc_t, ntop_exec_t, ntop_initrc_exec_t, ntop_var_run_t, ntp_conf_t, ntpd_exec_t, ntpd_initrc_exec_t, ntpd_unit_file_t, ntpd_var_run_t, ntpdate_exec_t, numad_exec_t, numad_unit_file_t, numad_var_run_t, nut_conf_t, nut_unit_file_t, nut_upsd_exec_t, nut_upsdrvctl_exec_t, nut_upsmon_exec_t, nut_var_run_t, nx_server_exec_t, nx_server_var_run_t, oddjob_exec_t, oddjob_mkhomedir_exec_t, oddjob_unit_file_t, oddjob_var_run_t, opafm_exec_t, opafm_var_run_t, openct_exec_t, openct_initrc_exec_t, openct_var_run_t, opendnssec_conf_t, opendnssec_exec_t, opendnssec_unit_file_t, opendnssec_var_run_t, openfortivpn_exec_t, openhpid_exec_t, openhpid_initrc_exec_t, openhpid_var_run_t,
openshift_initrc_exec_t, openshift_var_run_t, opensm_exec_t, opensm_unit_file_t, openvpn_etc_rw_t, openvpn_etc_t, openvpn_exec_t, openvpn_initrc_exec_t, openvpn_var_run_t, openvswitch_exec_t, openvswitch_rw_t, openvswitch_unit_file_t, openvswitch_var_run_t, openwsman_exec_t, openwsman_run_t, openwsman_unit_file_t, oracleasm_conf_t, oracleasm_exec_t, oracleasm_initrc_exec_t, oracleasmfs_t, osad_exec_t, osad_initrc_exec_t, osad_var_run_t, pads_config_t, pads_exec_t, pads_initrc_exec_t, pads_var_run_t, pam_console_exec_t, pam_var_console_t, pam_var_run_t, passenger_var_run_t, passwd_file_t, pcp_plugin_exec_t, pcp_plugin_initrc_exec_t, pcp_pmcd_exec_t, pcp_pmcd_initrc_exec_t, pcp_pmie_exec_t, pcp_pmie_initrc_exec_t, pcp_pmlogger_exec_t, pcp_pmlogger_initrc_exec_t, pcp_pmproxy_exec_t, pcp_pmproxy_initrc_exec_t, pcp_var_run_t, pcscd_exec_t, pcscd_initrc_exec_t, pcscd_var_run_t, pdns_conf_t, pdns_control_exec_t, pdns_exec_t, pdns_unit_file_t, pdns_var_run_t, pegasus_conf_t, pegasus_exec_t, pegasus_openlmi_account_exec_t, pegasus_openlmi_admin_exec_t, pegasus_openlmi_logicalfile_exec_t, pegasus_openlmi_services_exec_t, pegasus_openlmi_storage_exec_t, pegasus_openlmi_storage_var_run_t, pegasus_openlmi_system_exec_t, pegasus_openlmi_unconfined_exec_t, pegasus_var_run_t, pesign_exec_t, pesign_unit_file_t, pesign_var_run_t, phc2sys_exec_t, phc2sys_unit_file_t, ping_exec_t, pingd_etc_t, pingd_exec_t, pingd_initrc_exec_t, piranha_etc_rw_t, piranha_fos_exec_t, piranha_fos_var_run_t, piranha_lvs_exec_t, piranha_lvs_var_run_t, piranha_pulse_exec_t, piranha_pulse_initrc_exec_t, piranha_pulse_var_run_t, piranha_web_conf_t, piranha_web_exec_t, piranha_web_var_run_t, pkcs11_modules_conf_t, pkcs11proxyd_exec_t, pkcs11proxyd_unit_file_t, pkcs11proxyd_var_run_t, pkcs_slotd_exec_t, pkcs_slotd_initrc_exec_t, pkcs_slotd_lock_t, pkcs_slotd_unit_file_t, pkcs_slotd_var_run_t, pki_ra_exec_t, pki_ra_lock_t, pki_ra_script_exec_t, pki_ra_var_run_t, pki_tomcat_exec_t, pki_tomcat_lock_t, pki_tomcat_unit_file_t, pki_tomcat_var_run_t, pki_tps_exec_t,
pki_tps_lock_t, pki_tps_script_exec_t, pki_tps_var_run_t, plymouth_exec_t, plymouthd_exec_t, plymouthd_var_run_t, policykit_auth_exec_t, policykit_exec_t, policykit_grant_exec_t, policykit_resolve_exec_t, policykit_var_run_t, polipo_etc_t, polipo_exec_t, polipo_initrc_exec_t, polipo_pid_t, polipo_unit_file_t, portmap_exec_t, portmap_helper_exec_t, portmap_initrc_exec_t, portmap_var_run_t, portreserve_etc_t, portreserve_exec_t, portreserve_initrc_exec_t, portreserve_var_run_t, postfix_etc_t, postfix_exec_t, postfix_initrc_exec_t, postfix_master_exec_t, postfix_postdrop_t, postfix_var_run_t, postgresql_etc_t, postgresql_exec_t, postgresql_initrc_exec_t, postgresql_lock_t, postgresql_unit_file_t, postgresql_var_run_t, postgrey_etc_t, postgrey_exec_t, postgrey_initrc_exec_t, postgrey_var_run_t, power_unit_file_t, pppd_etc_t, pppd_exec_t, pppd_initrc_exec_t, pppd_lock_t, pppd_unit_file_t, pppd_var_run_t, pptp_exec_t, pptp_var_run_t, prelink_exec_t, prelude_audisp_exec_t, prelude_audisp_var_run_t, prelude_correlator_config_t, prelude_correlator_exec_t, prelude_exec_t, prelude_initrc_exec_t, prelude_lml_exec_t, prelude_lml_var_run_t, prelude_var_run_t, print_spool_t, printconf_t, privoxy_exec_t, privoxy_initrc_exec_t, privoxy_var_run_t, proc_t, proc_xen_t, prosody_exec_t, prosody_unit_file_t, prosody_var_run_t, psad_etc_t, psad_exec_t, psad_initrc_exec_t, psad_var_run_t, ptal_etc_t, ptal_exec_t, ptal_var_run_t, ptp4l_exec_t, ptp4l_unit_file_t, publicfile_exec_t, pulseaudio_exec_t, pulseaudio_var_run_t, puppet_etc_t, puppet_var_run_t, puppetagent_exec_t, puppetagent_initrc_exec_t, puppetmaster_exec_t, puppetmaster_initrc_exec_t, pwauth_var_run_t, pyicqt_exec_t, pyicqt_var_run_t, qdiskd_exec_t, qdiskd_var_run_t, qemu_var_run_t, qmail_etc_t, qmail_start_exec_t, qmail_tcp_env_exec_t, qpidd_exec_t, qpidd_initrc_exec_t, qpidd_var_run_t, quota_exec_t, quota_nld_exec_t, quota_nld_var_run_t, rabbitmq_conf_t, rabbitmq_exec_t, rabbitmq_initrc_exec_t, rabbitmq_unit_file_t, rabbitmq_var_lock_t, rabbitmq_var_run_t, racoon_exec_t, ra
diusd_etc_t, radiusd_exec_t, radiusd_initrc_exec_t, radiusd_unit_file_t, radiusd_var_run_t, radvd_etc_t, radvd_exec_t, radvd_initrc_exec_t, radvd_var_run_t, random_seed_t, rasdaemon_exec_t, rasdaemon_unit_file_t, rdisc_exec_t, rdisc_unit_file_t, readahead_exec_t, readahead_var_run_t, realmd_exec_t, redis_conf_t, redis_exec_t, redis_initrc_exec_t, redis_unit_file_t, redis_var_run_t, regex_milter_data_t, regex_milter_exec_t, removable_t, restorecond_exec_t, restorecond_var_run_t, rhev_agentd_exec_t, rhev_agentd_unit_file_t, rhev_agentd_var_run_t, rhgb_exec_t, rhnsd_conf_t, rhnsd_exec_t, rhnsd_initrc_exec_t, rhnsd_unit_file_t, rhnsd_var_run_t, rhsmcertd_config_t, rhsmcertd_exec_t, rhsmcertd_initrc_exec_t, rhsmcertd_lock_t, rhsmcertd_var_run_t, ricci_exec_t, ricci_initrc_exec_t, ricci_modcluster_var_run_t, ricci_modclusterd_exec_t, ricci_modstorage_lock_t, ricci_var_run_t, rkhunter_var_lib_t, rkt_exec_t, rkt_unit_file_t, rlogind_exec_t, rlogind_var_run_t, rngd_exec_t, rngd_initrc_exec_t, rngd_unit_file_t, rngd_var_run_t, rolekit_exec_t, rolekit_unit_file_t, roundup_exec_t, roundup_initrc_exec_t, roundup_var_run_t, rpcbind_exec_t, rpcbind_initrc_exec_t, rpcbind_unit_file_t, rpcbind_var_run_t, rpcd_exec_t, rpcd_initrc_exec_t, rpcd_lock_t, rpcd_unit_file_t, rpcd_var_run_t, rpm_exec_t, rpm_script_tmp_t, rpm_var_cache_t, rpm_var_lib_t, rpm_var_run_t, rpmdb_exec_t, rrdcached_exec_t, rrdcached_var_run_t, rshd_exec_t, rssh_chroot_helper_exec_t, rsync_etc_t, rsync_exec_t, rsync_var_run_t, rtas_errd_exec_t, rtas_errd_unit_file_t, rtas_errd_var_lock_t, rtas_errd_var_run_t, rtkit_daemon_exec_t, rtkit_daemon_initrc_exec_t, rwho_exec_t, rwho_initrc_exec_t, samba_etc_t, samba_initrc_exec_t, samba_unit_file_t, samba_var_t, sambagui_exec_t, sandbox_devpts_t, sanlk_resetd_exec_t, sanlk_resetd_unit_file_t, sanlock_conf_t, sanlock_exec_t, sanlock_initrc_exec_t, sanlock_unit_file_t, sanlock_var_run_t, saslauthd_exec_t, saslauthd_initrc_exec_t, saslauthd_var_run_t, sbd_exec_t, sbd_unit_file_t, sbd_var_run_t, sblim_gatherd_exec_t, sblim_in
itrc_exec_t, sblim_reposd_exec_t, sblim_sfcbd_exec_t, sblim_var_run_t, screen_var_run_t, sectoolm_exec_t, security_t, selinux_config_t, selinux_login_config_t, semanage_exec_t, semanage_read_lock_t, semanage_store_t, semanage_trans_lock_t, sendmail_exec_t, sendmail_initrc_exec_t, sendmail_var_run_t, sensord_exec_t, sensord_initrc_exec_t, sensord_unit_file_t, sensord_var_run_t, setfiles_exec_t, setkey_exec_t, setrans_exec_t, setrans_initrc_exec_t, setrans_var_run_t, setroubleshoot_fixit_exec_t, setroubleshoot_var_run_t, setroubleshootd_exec_t, setsebool_exec_t, sge_execd_exec_t, shell_exec_t, shorewall_etc_t, shorewall_exec_t, shorewall_initrc_exec_t, shorewall_lock_t, slapd_etc_t, slapd_exec_t, slapd_initrc_exec_t, slapd_lock_t, slapd_unit_file_t, slapd_var_run_t, slpd_exec_t, slpd_initrc_exec_t, slpd_var_run_t, smbd_exec_t, smbd_var_run_t, smokeping_exec_t, smokeping_initrc_exec_t, smokeping_var_run_t, smsd_exec_t, smsd_initrc_exec_t, smsd_var_run_t, snapperd_conf_t, snapperd_exec_t, snmpd_exec_t, snmpd_initrc_exec_t, snmpd_var_run_t, snort_etc_t, snort_exec_t, snort_initrc_exec_t, snort_var_run_t, sosreport_tmp_t, sosreport_var_run_t, soundd_etc_t, soundd_exec_t, soundd_initrc_exec_t, soundd_var_run_t, spamass_milter_data_t, spamass_milter_exec_t, spamd_etc_t, spamd_exec_t, spamd_initrc_exec_t, spamd_update_exec_t, spamd_var_run_t, spc_var_run_t, speech_dispatcher_exec_t, speech_dispatcher_unit_file_t, squid_conf_t, squid_cron_exec_t, squid_exec_t, squid_initrc_exec_t, squid_var_run_t, src_t, srvsvcd_exec_t, srvsvcd_var_run_t, ssh_keygen_exec_t, sshd_exec_t, sshd_initrc_exec_t, sshd_keygen_exec_t, sshd_keygen_unit_file_t, sshd_unit_file_t, sshd_var_run_t, sslh_config_t, sslh_exec_t, sslh_initrc_exec_t, sslh_unit_file_t, sslh_var_run_t, sssd_conf_t, sssd_exec_t, sssd_initrc_exec_t, sssd_public_t, sssd_unit_file_t, sssd_var_lib_t, sssd_var_run_t, stapserver_exec_t, stapserver_var_run_t, stratisd_exec_t, stratisd_var_run_t, stunnel_etc_t, stunnel_exec_t, stunnel_var_run_t, sulogin_exec_t, svc_conf_t, svc_start_exe
c_t, svirt_home_t, svirt_image_t, svirt_tmp_t, svirt_tmpfs_t, svnserve_exec_t, svnserve_initrc_exec_t, svnserve_unit_file_t, svnserve_var_run_t, swat_exec_t, swat_var_run_t, swift_exec_t, swift_lock_t, swift_unit_file_t, swift_var_run_t, sysctl_fs_t, sysctl_t, sysfs_t, syslog_conf_t, syslogd_exec_t, syslogd_initrc_exec_t, syslogd_unit_file_t, syslogd_var_run_t, sysstat_exec_t, sysstat_initrc_exec_t, system_conf_t, system_cronjob_lock_t, system_cronjob_var_run_t, system_db_t, system_dbusd_var_lib_t, system_dbusd_var_run_t, system_map_t, systemd_bootchart_exec_t, systemd_bootchart_unit_file_t, systemd_bootchart_var_run_t, systemd_coredump_exec_t, systemd_gpt_generator_exec_t, systemd_gpt_generator_unit_file_t, systemd_home_t, systemd_hostnamed_exec_t, systemd_hwdb_etc_t, systemd_hwdb_exec_t, systemd_hwdb_unit_file_t, systemd_importd_exec_t, systemd_importd_var_run_t, systemd_initctl_exec_t, systemd_journal_upload_exec_t, systemd_localed_exec_t, systemd_logger_exec_t, systemd_logind_exec_t, systemd_logind_inhibit_var_run_t, systemd_logind_sessions_t, systemd_logind_var_run_t, systemd_machined_exec_t, systemd_machined_unit_file_t, systemd_machined_var_run_t, systemd_modules_load_exec_t, systemd_modules_load_unit_file_t, systemd_networkd_exec_t, systemd_networkd_unit_file_t, systemd_networkd_var_run_t, systemd_notify_exec_t, systemd_passwd_agent_exec_t, systemd_passwd_var_run_t, systemd_resolved_exec_t, systemd_resolved_unit_file_t, systemd_resolved_var_run_t, systemd_rfkill_exec_t, systemd_rfkill_unit_file_t, systemd_runtime_unit_file_t, systemd_sleep_exec_t, systemd_sysctl_exec_t, systemd_systemctl_exec_t, systemd_timedated_exec_t, systemd_timedated_unit_file_t, systemd_timedated_var_run_t, systemd_tmpfiles_exec_t, systemd_unit_file_t, systemd_userdbd_exec_t, systemd_userdbd_runtime_t, systemd_userdbd_unit_file_t, systemd_vconsole_unit_file_t, tabrmd_exec_t, tangd_cache_t, tangd_db_t, tangd_exec_t, tangd_unit_file_t, targetd_exec_t, targetd_unit_file_t, tcpd_exec_t, tcsd_exec_t, tcsd_initrc_exec_t, telnetd_exec_t, t
elnetd_var_run_t, textrel_shlib_t, tftpd_etc_t, tftpd_exec_t, tftpd_var_run_t, tgtd_exec_t, tgtd_initrc_exec_t, tgtd_var_run_t, thin_aeolus_configserver_exec_t, thin_aeolus_configserver_var_run_t, thin_exec_t, thin_var_run_t, timedatex_exec_t, timemaster_exec_t, timemaster_unit_file_t, timemaster_var_run_t, tlp_exec_t, tlp_unit_file_t, tlp_var_run_t, tmpfs_t, tmpreaper_exec_t, tomcat_exec_t, tomcat_unit_file_t, tomcat_var_run_t, tor_etc_t, tor_exec_t, tor_initrc_exec_t, tor_unit_file_t, tor_var_run_t, traceroute_exec_t, tuned_etc_t, tuned_exec_t, tuned_initrc_exec_t, tuned_rw_etc_t, tuned_var_run_t, udev_etc_t, udev_exec_t, udev_rules_t, udev_var_run_t, ulogd_etc_t, ulogd_exec_t, ulogd_initrc_exec_t, uml_switch_exec_t, uml_switch_var_run_t, unlabeled_t, updfstab_exec_t, updpwd_exec_t, usbmodules_exec_t, usbmuxd_exec_t, usbmuxd_unit_file_t, usbmuxd_var_run_t, user_devpts_t, useradd_exec_t, useradd_var_run_t, userhelper_conf_t, usr_t, uucpd_exec_t, uucpd_initrc_exec_t, uucpd_lock_t, uucpd_var_run_t, uuidd_exec_t, uuidd_initrc_exec_t, uuidd_var_run_t, var_lib_nfs_t, var_lib_t, var_lock_t, var_log_t, var_run_t, varnishd_etc_t, varnishd_exec_t, varnishd_initrc_exec_t, varnishd_var_run_t, varnishlog_exec_t, varnishlog_initrc_exec_t, varnishlog_var_run_t, vdagent_exec_t, vdagent_var_run_t, vdagentd_initrc_exec_t, vhostmd_exec_t, vhostmd_initrc_exec_t, vhostmd_var_run_t, virsh_exec_t, virt_common_var_run_t, virt_content_t, virt_etc_rw_t, virt_etc_t, virt_image_t, virt_lock_t, virt_lxc_var_run_t, virt_qemu_ga_exec_t, virt_qemu_ga_var_run_t, virt_var_lib_t, virt_var_run_t, virtd_exec_t, virtd_initrc_exec_t, virtd_lxc_exec_t, virtd_unit_file_t, virtlogd_etc_t, virtlogd_exec_t, virtlogd_initrc_exec_t, virtlogd_unit_file_t, virtlogd_var_run_t, vmtools_exec_t, vmtools_unit_file_t, vmware_host_exec_t, vmware_host_pid_t, vmware_pid_t, vmware_sys_conf_t, vnc_session_exec_t, vnc_session_var_run_t, vnstatd_exec_t, vnstatd_initrc_exec_t, vnstatd_var_run_t, vpnc_exec_t, vpnc_var_run_t, watchdog_exec_t, watchdog_initrc_exec_t, watchdo
g_var_run_t, wdmd_exec_t, wdmd_initrc_exec_t, wdmd_var_run_t, webalizer_etc_t, winbind_exec_t, winbind_var_run_t, wpa_cli_exec_t, wtmp_t, xdm_etc_t, xdm_exec_t, xdm_lock_t, xdm_rw_etc_t, xdm_unit_file_t, xdm_var_lib_t, xdm_var_run_t, xen_devpts_t, xen_image_t, xenconsoled_exec_t, xenconsoled_var_run_t, xend_exec_t, xend_var_run_t, xenstored_exec_t, xenstored_var_run_t, xserver_etc_t, xserver_exec_t, xserver_var_run_t, ypbind_exec_t, ypbind_initrc_exec_t, ypbind_unit_file_t, ypbind_var_run_t, yppasswdd_exec_t, yppasswdd_var_run_t, ypserv_conf_t, ypserv_exec_t, ypserv_var_run_t, ypxfr_exec_t, ypxfr_var_run_t, zabbix_agent_exec_t, zabbix_agent_initrc_exec_t, zabbix_exec_t, zabbix_initrc_exec_t, zabbix_var_run_t, zarafa_deliver_exec_t, zarafa_deliver_var_run_t, zarafa_etc_t, zarafa_gateway_exec_t, zarafa_gateway_var_run_t, zarafa_ical_exec_t, zarafa_ical_var_run_t, zarafa_indexer_exec_t, zarafa_indexer_var_run_t, zarafa_monitor_exec_t, zarafa_monitor_var_run_t, zarafa_server_exec_t, zarafa_server_var_run_t, zarafa_spooler_exec_t, zarafa_spooler_var_run_t, zebra_conf_t, zebra_exec_t, zebra_initrc_exec_t, zebra_unit_file_t, zebra_var_run_t, zoneminder_exec_t, zoneminder_initrc_exec_t, zoneminder_unit_file_t, zoneminder_var_run_t, zos_remote_exec_t.
Then execute:
restorecon -v '/var/usermin/miniserv.pid'
***** Plugin catchall (17.1 confidence) suggests **************************
If you believe that systemd should be allowed open access on the miniserv.pid file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp
Additional Information:
Source Context system_u:system_r:init_t:s0
Target Context system_u:object_r:var_t:s0
Target Objects /var/usermin/miniserv.pid [ file ]
Source systemd
Source Path systemd
Port <Unknown>
Host Teucidide
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-36.17-1.fc36.noarch
Local Policy RPM selinux-policy-targeted-36.17-1.fc36.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name Teucidide
Platform Linux Teucidide 6.1.18-100.fc36.x86_64 #1 SMP
PREEMPT_DYNAMIC Sat Mar 11 16:46:48 UTC 2023
x86_64 x86_64
Alert Count 15043
First Seen 2022-07-03 21:13:52 CEST
Last Seen 2023-03-16 10:27:43 CET
Local ID c5f321cf-173e-40c6-8ea0-219c9c75b704
Raw Audit Messages
type=AVC msg=audit(1678958863.63:3544): avc: denied { open } for pid=1 comm="systemd" path="/var/usermin/miniserv.pid" dev="sda4" ino=393454 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=0
Hash: systemd,init_t,var_t,file,open
===========================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxx
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
End of included message <<<
--
Jon H. LaBadie jonfu@xxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue