Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package selinux-policy for openSUSE:Factory 
checked in at 2022-06-20 15:36:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/selinux-policy (Old)
 and      /work/SRC/openSUSE:Factory/.selinux-policy.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "selinux-policy"

Mon Jun 20 15:36:43 2022 rev:25 rq:978298 version:20220520

Changes:
--------
--- /work/SRC/openSUSE:Factory/selinux-policy/selinux-policy.changes    
2022-02-26 17:02:24.791539051 +0100
+++ /work/SRC/openSUSE:Factory/.selinux-policy.new.1548/selinux-policy.changes  
2022-06-20 15:36:45.814814640 +0200
@@ -1,0 +2,40 @@
+Fri May 20 13:46:47 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+
+- Update to version 20220520 to pass stricter 3.4 toolchain checks
+
+-------------------------------------------------------------------
+Fri May 20 09:14:58 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+
+- Update to version 20220428. Refreshed:
+  * fix_apache.patch
+  * fix_hadoop.patch
+  * fix_init.patch
+  * fix_iptables.patch
+  * fix_kernel_sysctl.patch
+  * fix_networkmanager.patch
+  * fix_systemd.patch
+  * fix_systemd_watch.patch
+  * fix_unprivuser.patch
+  * fix_usermanage.patch
+  * fix_wine.patch
+
+-------------------------------------------------------------------
+Thu May 19 12:25:31 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+- Add fix_dnsmasq.patch to fix problems with virtualization on Microos
+  (bsc#1199518)
+
+-------------------------------------------------------------------
+Tue May  3 13:18:38 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+
+- Modified fix_init.patch to allow init to setup contrained environment
+  for accountsservice. This needs a better, more general solution
+  (bsc#1197610)
+
+-------------------------------------------------------------------
+Mon May  2 11:27:49 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+
+- Add systemd_domain_dyntrans_type.patch to allow systemd to dyntransition.
+  This happens in certain boot conditions (bsc#1182500)
+- Changed fix_unconfineduser.patch to not transition into ldconfig_t
+  from unconfined_t (bsc#1197169)
+-------------------------------------------------------------------

Old:
----
  fedora-policy-20220124.tar.bz2

New:
----
  fedora-policy-20220520.tar.bz2
  fix_dnsmasq.patch
  systemd_domain_dyntrans_type.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ selinux-policy.spec ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:47.250816724 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:47.254816729 +0200
@@ -33,7 +33,7 @@
 License:        GPL-2.0-or-later
 Group:          System/Management
 Name:           selinux-policy
-Version:        20220124
+Version:        20220520
 Release:        0
 Source:         fedora-policy-%{version}.tar.bz2
 Source1:        selinux-policy-rpmlintrc
@@ -140,6 +140,8 @@
 Patch056:       fix_wine.patch
 Patch057:       fix_hypervkvp.patch
 Patch058:       fix_bitlbee.patch
+Patch059:       systemd_domain_dyntrans_type.patch
+Patch060:       fix_dnsmasq.patch
 
 Patch100:       sedoctool.patch
 
@@ -274,6 +276,7 @@
 %{_sharedstatedir}/selinux/%1/active/seusers \
 %{_sharedstatedir}/selinux/%1/active/file_contexts \
 %{_sharedstatedir}/selinux/%1/active/policy.kern \
+%{_sharedstatedir}/selinux/%1/active/modules_checksum \
 %ghost %{_sharedstatedir}/selinux/%1/active/policy.linked \
 %ghost %{_sharedstatedir}/selinux/%1/active/seusers.linked \
 %ghost %{_sharedstatedir}/selinux/%1/active/users_extra.linked \

++++++ fedora-policy-20220124.tar.bz2 -> fedora-policy-20220520.tar.bz2 ++++++
++++ 4382 lines of diff (skipped)

++++++ fix_apache.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.142818018 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.146818024 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy/policy/modules/contrib/apache.if
+Index: fedora-policy-20220428/policy/modules/contrib/apache.if
 ===================================================================
---- fedora-policy.orig/policy/modules/contrib/apache.if
-+++ fedora-policy/policy/modules/contrib/apache.if
-@@ -1967,3 +1967,25 @@ interface(`apache_ioctl_stream_sockets',
+--- fedora-policy-20220428.orig/policy/modules/contrib/apache.if
++++ fedora-policy-20220428/policy/modules/contrib/apache.if
+@@ -1989,3 +1989,25 @@ interface(`apache_ioctl_stream_sockets',
  
      allow $1 httpd_t:unix_stream_socket ioctl;
  ')

++++++ fix_dnsmasq.patch ++++++
Index: fedora-policy-20220519/policy/modules/contrib/dnsmasq.te
===================================================================
--- fedora-policy-20220519.orig/policy/modules/contrib/dnsmasq.te
+++ fedora-policy-20220519/policy/modules/contrib/dnsmasq.te
@@ -115,6 +115,7 @@ libs_exec_ldconfig(dnsmasq_t)
 logging_send_syslog_msg(dnsmasq_t)
 
 miscfiles_read_public_files(dnsmasq_t)
+sysnet_manage_config_dirs(dnsmasq_t)
 
 userdom_dontaudit_use_unpriv_user_fds(dnsmasq_t)
 userdom_dontaudit_search_user_home_dirs(dnsmasq_t)

++++++ fix_hadoop.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.190818088 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.194818094 +0200
@@ -1,7 +1,7 @@
-Index: fedora-policy-20220124/policy/modules/roles/sysadm.te
+Index: fedora-policy-20220428/policy/modules/roles/sysadm.te
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/roles/sysadm.te
-+++ fedora-policy-20220124/policy/modules/roles/sysadm.te
+--- fedora-policy-20220428.orig/policy/modules/roles/sysadm.te
++++ fedora-policy-20220428/policy/modules/roles/sysadm.te
 @@ -315,10 +315,6 @@ optional_policy(`
  ')
  
@@ -13,11 +13,11 @@
      iotop_run(sysadm_t, sysadm_r)
  ')
  
-Index: fedora-policy-20220124/policy/modules/roles/unprivuser.te
+Index: fedora-policy-20220428/policy/modules/roles/unprivuser.te
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/roles/unprivuser.te
-+++ fedora-policy-20220124/policy/modules/roles/unprivuser.te
-@@ -205,10 +205,6 @@ ifndef(`distro_redhat',`
+--- fedora-policy-20220428.orig/policy/modules/roles/unprivuser.te
++++ fedora-policy-20220428/policy/modules/roles/unprivuser.te
+@@ -210,10 +210,6 @@ ifndef(`distro_redhat',`
        ')
  
        optional_policy(`

++++++ fix_init.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.206818111 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.210818117 +0200
@@ -1,8 +1,17 @@
-Index: fedora-policy-20220124/policy/modules/system/init.te
+Index: fedora-policy-20220428/policy/modules/system/init.te
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/system/init.te
-+++ fedora-policy-20220124/policy/modules/system/init.te
-@@ -267,6 +267,8 @@ corecmd_exec_bin(init_t)
+--- fedora-policy-20220428.orig/policy/modules/system/init.te
++++ fedora-policy-20220428/policy/modules/system/init.te
+@@ -187,6 +187,8 @@ allow init_t self:bpf { map_create map_r
+ # setuid (from /sbin/shutdown)
+ # sys_chroot (from /usr/bin/chroot): now provided by 
corecmd_chroot_exec_chroot()
+ 
++# bsc#1197610, find a better, generic solution
++allow init_t self:file mounton;
+ allow init_t self:fifo_file rw_fifo_file_perms;
+ 
+ allow init_t self:service manage_service_perms;
+@@ -267,6 +269,8 @@ corecmd_exec_bin(init_t)
  corenet_all_recvfrom_netlabel(init_t)
  corenet_tcp_bind_all_ports(init_t)
  corenet_udp_bind_all_ports(init_t)
@@ -11,7 +20,7 @@
  
  dev_create_all_files(init_t)
  dev_create_all_chr_files(init_t)
-@@ -394,6 +396,7 @@ logging_manage_audit_config(init_t)
+@@ -396,6 +400,7 @@ logging_manage_audit_config(init_t)
  logging_create_syslog_netlink_audit_socket(init_t)
  logging_write_var_log_dirs(init_t)
  logging_manage_var_log_symlinks(init_t)
@@ -19,7 +28,7 @@
  
  seutil_read_config(init_t)
  seutil_read_login_config(init_t)
-@@ -444,10 +447,15 @@ ifdef(`distro_redhat',`
+@@ -446,9 +451,19 @@ ifdef(`distro_redhat',`
  corecmd_shell_domtrans(init_t, initrc_t)
  
  storage_raw_rw_fixed_disk(init_t)
@@ -27,15 +36,19 @@
  
  sysnet_read_dhcpc_state(init_t)
  
- optional_policy(`
-+    networkmanager_initrc_read_lnk_files(init_t)
++# bsc#1197610, find a better, generic solution
++optional_policy(`
++    mta_getattr_spool(init_t)
 +')
 +
 +optional_policy(`
++    networkmanager_initrc_read_lnk_files(init_t)
++')
++
+ optional_policy(`
      bootloader_domtrans(init_t)
  ')
- 
-@@ -571,10 +579,10 @@ tunable_policy(`init_audit_control',`
+@@ -573,10 +588,10 @@ tunable_policy(`init_audit_control',`
  allow init_t self:system all_system_perms;
  allow init_t self:system module_load;
  allow init_t self:unix_dgram_socket { create_socket_perms sendto };
@@ -48,7 +61,7 @@
  allow init_t self:netlink_selinux_socket create_socket_perms;
  allow init_t self:unix_dgram_socket lock;
  # Until systemd is fixed
-@@ -633,6 +641,7 @@ files_delete_all_spool_sockets(init_t)
+@@ -635,6 +650,7 @@ files_delete_all_spool_sockets(init_t)
  files_create_var_lib_dirs(init_t)
  files_create_var_lib_symlinks(init_t)
  files_read_var_lib_symlinks(init_t)
@@ -56,7 +69,7 @@
  files_manage_urandom_seed(init_t)
  files_list_locks(init_t)
  files_list_spool(init_t)
-@@ -669,7 +678,7 @@ fs_list_all(init_t)
+@@ -672,7 +688,7 @@ fs_list_all(init_t)
  fs_list_auto_mountpoints(init_t)
  fs_register_binary_executable_type(init_t)
  fs_relabel_tmpfs_sock_file(init_t)
@@ -65,7 +78,7 @@
  fs_relabel_cgroup_dirs(init_t)
  fs_search_cgroup_dirs(init_t)
  # for network namespaces
-@@ -725,6 +734,7 @@ systemd_write_inherited_logind_sessions_
+@@ -728,6 +744,7 @@ systemd_write_inherited_logind_sessions_
  create_sock_files_pattern(init_t, init_sock_file_type, init_sock_file_type)
  
  create_dirs_pattern(init_t, var_log_t, var_log_t)
@@ -73,7 +86,7 @@
  
  auth_use_nsswitch(init_t)
  auth_rw_login_records(init_t)
-@@ -1571,6 +1581,8 @@ optional_policy(`
+@@ -1578,6 +1595,8 @@ optional_policy(`
  
  optional_policy(`
        postfix_list_spool(initrc_t)

++++++ fix_iptables.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.218818128 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.222818134 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy-20210309/policy/modules/system/iptables.te
+Index: fedora-policy-20220428/policy/modules/system/iptables.te
 ===================================================================
---- fedora-policy-20210309.orig/policy/modules/system/iptables.te
-+++ fedora-policy-20210309/policy/modules/system/iptables.te
-@@ -74,6 +74,7 @@ kernel_read_network_state(iptables_t)
+--- fedora-policy-20220428.orig/policy/modules/system/iptables.te
++++ fedora-policy-20220428/policy/modules/system/iptables.te
+@@ -76,6 +76,7 @@ kernel_read_network_state(iptables_t)
  kernel_read_kernel_sysctls(iptables_t)
  kernel_use_fds(iptables_t)
  kernel_rw_net_sysctls(iptables_t)

++++++ fix_kernel_sysctl.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.234818152 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.238818158 +0200
@@ -1,7 +1,7 @@
-Index: fedora-policy-20220124/policy/modules/kernel/files.fc
+Index: fedora-policy-20220428/policy/modules/kernel/files.fc
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/kernel/files.fc
-+++ fedora-policy-20220124/policy/modules/kernel/files.fc
+--- fedora-policy-20220428.orig/policy/modules/kernel/files.fc
++++ fedora-policy-20220428/policy/modules/kernel/files.fc
 @@ -236,6 +236,8 @@ ifdef(`distro_redhat',`
  /usr/lib/ostree-boot(/.*)?                
gen_context(system_u:object_r:usr_t,s0)
  /usr/lib/modules(/.*)/vmlinuz         --      
gen_context(system_u:object_r:usr_t,s0)
@@ -11,11 +11,11 @@
  
  /usr/doc(/.*)?/lib(/.*)?      gen_context(system_u:object_r:usr_t,s0)
  
-Index: fedora-policy-20220124/policy/modules/system/systemd.te
+Index: fedora-policy-20220428/policy/modules/system/systemd.te
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/system/systemd.te
-+++ fedora-policy-20220124/policy/modules/system/systemd.te
-@@ -1037,6 +1037,8 @@ init_stream_connect(systemd_sysctl_t)
+--- fedora-policy-20220428.orig/policy/modules/system/systemd.te
++++ fedora-policy-20220428/policy/modules/system/systemd.te
+@@ -1052,6 +1052,8 @@ init_stream_connect(systemd_sysctl_t)
  logging_send_syslog_msg(systemd_sysctl_t)
  
  systemd_read_efivarfs(systemd_sysctl_t)

++++++ fix_networkmanager.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.258818187 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.262818192 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy-20211111/policy/modules/contrib/networkmanager.te
+Index: fedora-policy-20220428/policy/modules/contrib/networkmanager.te
 ===================================================================
---- fedora-policy-20211111.orig/policy/modules/contrib/networkmanager.te
-+++ fedora-policy-20211111/policy/modules/contrib/networkmanager.te
-@@ -243,6 +243,9 @@ userdom_read_home_certs(NetworkManager_t
+--- fedora-policy-20220428.orig/policy/modules/contrib/networkmanager.te
++++ fedora-policy-20220428/policy/modules/contrib/networkmanager.te
+@@ -271,6 +271,9 @@ userdom_read_home_certs(NetworkManager_t
  userdom_read_user_home_content_files(NetworkManager_t)
  userdom_dgram_send(NetworkManager_t)
  
@@ -12,7 +12,7 @@
  tunable_policy(`use_nfs_home_dirs',`
      fs_read_nfs_files(NetworkManager_t)
  ')
-@@ -260,6 +263,14 @@ optional_policy(`
+@@ -288,6 +291,14 @@ optional_policy(`
  ')
  
  optional_policy(`
@@ -27,10 +27,10 @@
        bind_domtrans(NetworkManager_t)
        bind_manage_cache(NetworkManager_t)
        bind_kill(NetworkManager_t)
-Index: fedora-policy-20211111/policy/modules/contrib/networkmanager.if
+Index: fedora-policy-20220428/policy/modules/contrib/networkmanager.if
 ===================================================================
---- fedora-policy-20211111.orig/policy/modules/contrib/networkmanager.if
-+++ fedora-policy-20211111/policy/modules/contrib/networkmanager.if
+--- fedora-policy-20220428.orig/policy/modules/contrib/networkmanager.if
++++ fedora-policy-20220428/policy/modules/contrib/networkmanager.if
 @@ -132,6 +132,24 @@ interface(`networkmanager_initrc_domtran
          init_labeled_script_domtrans($1, NetworkManager_initrc_exec_t)
  ')

++++++ fix_systemd.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.294818239 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.298818245 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy-20220124/policy/modules/system/systemd.te
+Index: fedora-policy-20220428/policy/modules/system/systemd.te
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/system/systemd.te
-+++ fedora-policy-20220124/policy/modules/system/systemd.te
-@@ -353,6 +353,10 @@ userdom_manage_user_tmp_chr_files(system
+--- fedora-policy-20220428.orig/policy/modules/system/systemd.te
++++ fedora-policy-20220428/policy/modules/system/systemd.te
+@@ -355,6 +355,10 @@ userdom_manage_user_tmp_chr_files(system
  xserver_dbus_chat(systemd_logind_t)
  
  optional_policy(`
@@ -13,7 +13,7 @@
        apache_read_tmp_files(systemd_logind_t)
  ')
  
-@@ -868,6 +872,10 @@ optional_policy(`
+@@ -882,6 +886,10 @@ optional_policy(`
        udev_read_pid_files(systemd_hostnamed_t)
  ')
  
@@ -24,13 +24,4 @@
  #######################################
  #
  # rfkill policy
-@@ -1115,6 +1123,8 @@ optional_policy(`
-       udev_read_pid_files(systemd_gpt_generator_t)
- ')
- 
-+udev_read_pid_files(systemd_gpt_generator_t)
-+
- #######################################
- #
- # systemd_resolved domain
 

++++++ fix_systemd_watch.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.306818256 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.310818262 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy-20220124/policy/modules/system/systemd.te
+Index: fedora-policy-20220428/policy/modules/system/systemd.te
 ===================================================================
---- fedora-policy-20220124.orig/policy/modules/system/systemd.te
-+++ fedora-policy-20220124/policy/modules/system/systemd.te
-@@ -1421,6 +1421,12 @@ fstools_rw_swap_files(systemd_sleep_t)
+--- fedora-policy-20220428.orig/policy/modules/system/systemd.te
++++ fedora-policy-20220428/policy/modules/system/systemd.te
+@@ -1445,6 +1445,12 @@ fstools_rw_swap_files(systemd_sleep_t)
  storage_getattr_fixed_disk_dev(systemd_sleep_t)
  storage_getattr_removable_dev(systemd_sleep_t)
  

++++++ fix_unconfineduser.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.322818280 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.326818285 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy-20211111/policy/modules/roles/unconfineduser.te
+Index: fedora-policy-20220509/policy/modules/roles/unconfineduser.te
 ===================================================================
---- fedora-policy-20211111.orig/policy/modules/roles/unconfineduser.te
-+++ fedora-policy-20211111/policy/modules/roles/unconfineduser.te
-@@ -122,6 +122,11 @@ tunable_policy(`unconfined_dyntrans_all'
+--- fedora-policy-20220509.orig/policy/modules/roles/unconfineduser.te
++++ fedora-policy-20220509/policy/modules/roles/unconfineduser.te
+@@ -124,6 +124,11 @@ tunable_policy(`unconfined_dyntrans_all'
      domain_dyntrans(unconfined_t)
  ')
  
@@ -14,7 +14,7 @@
  optional_policy(`
        gen_require(`
                type unconfined_t;
-@@ -208,6 +213,10 @@ optional_policy(`
+@@ -210,6 +215,10 @@ optional_policy(`
  ')
  
  optional_policy(`
@@ -25,7 +25,7 @@
        chrome_role_notrans(unconfined_r, unconfined_t)
  
        tunable_policy(`unconfined_chrome_sandbox_transition',`
-@@ -242,6 +251,18 @@ optional_policy(`
+@@ -244,6 +253,18 @@ optional_policy(`
        dbus_stub(unconfined_t)
  
        optional_policy(`
@@ -44,15 +44,4 @@
                bluetooth_dbus_chat(unconfined_t)
        ')
  
-@@ -305,6 +326,10 @@ optional_policy(`
- ')
- 
- optional_policy(`
-+      libs_run_ldconfig(unconfined_t, unconfined_r)
-+')
-+
-+optional_policy(`
-       firstboot_run(unconfined_t, unconfined_r)
- ')
- 
 

++++++ fix_unprivuser.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.334818297 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.338818302 +0200
@@ -1,8 +1,8 @@
-Index: fedora-policy-20210628/policy/modules/roles/unprivuser.te
+Index: fedora-policy-20220428/policy/modules/roles/unprivuser.te
 ===================================================================
---- fedora-policy-20210628.orig/policy/modules/roles/unprivuser.te
-+++ fedora-policy-20210628/policy/modules/roles/unprivuser.te
-@@ -287,6 +287,13 @@ ifndef(`distro_redhat',`
+--- fedora-policy-20220428.orig/policy/modules/roles/unprivuser.te
++++ fedora-policy-20220428/policy/modules/roles/unprivuser.te
+@@ -292,6 +292,13 @@ ifndef(`distro_redhat',`
  ')
  
  optional_policy(`

++++++ fix_usermanage.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.346818314 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.350818320 +0200
@@ -1,7 +1,7 @@
-Index: fedora-policy-20210309/policy/modules/admin/usermanage.te
+Index: fedora-policy-20220428/policy/modules/admin/usermanage.te
 ===================================================================
---- fedora-policy-20210309.orig/policy/modules/admin/usermanage.te
-+++ fedora-policy-20210309/policy/modules/admin/usermanage.te
+--- fedora-policy-20220428.orig/policy/modules/admin/usermanage.te
++++ fedora-policy-20220428/policy/modules/admin/usermanage.te
 @@ -226,6 +226,7 @@ allow groupadd_t self:unix_dgram_socket
  allow groupadd_t self:unix_stream_socket create_stream_socket_perms;
  allow groupadd_t self:unix_dgram_socket sendto;
@@ -10,7 +10,7 @@
  
  fs_getattr_xattr_fs(groupadd_t)
  fs_search_auto_mountpoints(groupadd_t)
-@@ -529,6 +530,7 @@ allow useradd_t self:unix_dgram_socket c
+@@ -538,6 +539,7 @@ allow useradd_t self:unix_dgram_socket c
  allow useradd_t self:unix_stream_socket create_stream_socket_perms;
  allow useradd_t self:unix_dgram_socket sendto;
  allow useradd_t self:unix_stream_socket connectto;
@@ -18,7 +18,7 @@
  
  manage_dirs_pattern(useradd_t, useradd_var_run_t, useradd_var_run_t)
  manage_files_pattern(useradd_t, useradd_var_run_t, useradd_var_run_t)
-@@ -537,6 +539,8 @@ files_pid_filetrans(useradd_t, useradd_v
+@@ -546,6 +548,8 @@ files_pid_filetrans(useradd_t, useradd_v
  # for getting the number of groups
  kernel_read_kernel_sysctls(useradd_t)
  

++++++ fix_wine.patch ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.358818331 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.362818338 +0200
@@ -1,7 +1,7 @@
-Index: fedora-policy-20210716/policy/modules/system/libraries.fc
+Index: fedora-policy-20220428/policy/modules/system/libraries.fc
 ===================================================================
---- fedora-policy-20210716.orig/policy/modules/system/libraries.fc
-+++ fedora-policy-20210716/policy/modules/system/libraries.fc
+--- fedora-policy-20220428.orig/policy/modules/system/libraries.fc
++++ fedora-policy-20220428/policy/modules/system/libraries.fc
 @@ -90,7 +90,7 @@ ifdef(`distro_redhat',`
  /opt/Adobe/Reader.?/Reader/intellinux/plug_ins/.*\.api -- 
gen_context(system_u:object_r:textrel_shlib_t,s0)
  /opt/Adobe/Reader.?/Reader/intellinux/SPPlugins/.*\.ap[il] -- 
gen_context(system_u:object_r:lib_t,s0)
@@ -12,7 +12,7 @@
  /opt/ibm/java.*/jre/.+\.jar           --      
gen_context(system_u:object_r:lib_t,s0)
  /opt/ibm/java.*/jre/.+\.so(\.[^/]*)*  --      
gen_context(system_u:object_r:textrel_shlib_t,s0)
 @@ -173,7 +173,8 @@ ifdef(`distro_redhat',`
- /usr/lib/systemd/libsystemd-shared-[0-9]+\.so.*       --      
gen_context(system_u:object_r:lib_t,s0)
+ /usr/lib/systemd/libsystemd-.+\.so.*  --      
gen_context(system_u:object_r:lib_t,s0)
  
  /usr/.*\.so(\.[^/]*)*         --      gen_context(system_u:object_r:lib_t,s0)
 -/usr/lib/wine/.+\.so  --      
gen_context(system_u:object_r:textrel_shlib_t,s0)



++++++ systemd_domain_dyntrans_type.patch ++++++
Index: fedora-policy-20220124/policy/modules/system/init.te
===================================================================
--- fedora-policy-20220124.orig/policy/modules/system/init.te
+++ fedora-policy-20220124/policy/modules/system/init.te
@@ -179,6 +179,8 @@ allow init_t self:tcp_socket { listen ac
 allow init_t self:packet_socket create_socket_perms;
 allow init_t self:key manage_key_perms;
 allow init_t self:bpf { map_create map_read map_write prog_load prog_run };
+domain_dyntrans_type(init_t)
+allow init_t self:process { dyntransition setcurrent };
 
 # is ~sys_module really needed? observed:
 # sys_boot

++++++ users-minimum ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.662818773 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.666818779 +0200
@@ -36,4 +36,5 @@
 # not in the sysadm_r.
 #
 gen_user(root, user, unconfined_r sysadm_r staff_r system_r, s0, s0 - 
mls_systemhigh, mcs_allcats)
+gen_user(unconfined_u, user, unconfined_r system_r, s0, s0 - mls_systemhigh, 
mcs_allcats)
 

++++++ users-mls ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.682818802 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.686818808 +0200
@@ -36,4 +36,6 @@
 # not in the sysadm_r.
 #
 gen_user(root, user, sysadm_r staff_r secadm_r auditadm_r system_r, s0, s0 - 
mls_systemhigh, mcs_allcats)
+gen_user(guest_u, user, guest_r, s0, s0)
+gen_user(xguest_u, user, xguest_r, s0, s0)
 

++++++ users-targeted ++++++
--- /var/tmp/diff_new_pack.tpFsAI/_old  2022-06-20 15:36:48.702818831 +0200
+++ /var/tmp/diff_new_pack.tpFsAI/_new  2022-06-20 15:36:48.706818836 +0200
@@ -36,4 +36,7 @@
 # not in the sysadm_r.
 #
 gen_user(root, user, unconfined_r sysadm_r staff_r system_r, s0, s0 - 
mls_systemhigh, mcs_allcats)
+gen_user(unconfined_u, user, unconfined_r system_r, s0, s0 - mls_systemhigh, 
mcs_allcats)
+gen_user(guest_u, user, guest_r, s0, s0)
+gen_user(xguest_u, user, xguest_r, s0, s0)
 

Reply via email to