Bug 4314 - SELinux module installation can fail without any apparent reason
Summary: SELinux module installation can fail without any apparent reason
Status: CLOSED WONTFIX
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 3.4.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 09:57 CEST by Karl Mikaelsson
Modified: 2022-10-18 13:30 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2012-05-30 09:57:39 CEST
tl-setup says: "Could not configure SELinux for ThinLinc. Please send a copy..."

Log says:
2012-05-29 21:02:22,541: Configuring SELinux...
2012-05-29 21:03:19,463: Output (stdout):
2012-05-29 21:03:19,464:     Updating default context mappings...
2012-05-29 21:03:19,464:     Updating xguest_u context mappings...
2012-05-29 21:03:19,464:     Updating root context mappings...
2012-05-29 21:03:19,464:     Updating staff_u context mappings...
2012-05-29 21:03:19,464:     Updating user_u context mappings...
2012-05-29 21:03:19,464:     Updating guest_u context mappings...
2012-05-29 21:03:19,464:     Updating unconfined_u context mappings...
2012-05-29 21:03:19,464:     Compiling thinlinc policy module...
2012-05-29 21:03:19,465:     make: Entering directory `/tmp/tmpewrhK5'
2012-05-29 21:03:19,465:     Compiling targeted thinlinc module
2012-05-29 21:03:19,465:     /usr/bin/checkmodule:  loading policy configuration from tmp/thinlinc.tmp
2012-05-29 21:03:19,465:     /usr/bin/checkmodule:  policy configuration loaded
2012-05-29 21:03:19,465:     /usr/bin/checkmodule:  writing binary representation (version 15) to tmp/thinlinc.mod
2012-05-29 21:03:19,465:     Creating targeted thinlinc.pp policy package
2012-05-29 21:03:19,465:     rm tmp/thinlinc.mod tmp/thinlinc.mod.fc
2012-05-29 21:03:19,465:     make: Leaving directory `/tmp/tmpewrhK5'
2012-05-29 21:03:19,465:     Installing thinlinc policy module...
2012-05-29 21:03:19,465:     Fixing context on files...
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/libexec/tl-session context system_u:object_r:bin_t:s0->system_u:object_r:thinlinc_session_exec_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/cups/filter context system_u:object_r:usr_t:s0->system_u:object_r:bin_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/cups/filter/thinlinc-ps2pdf context system_u:object_r:usr_t:s0->system_u:object_r:bin_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/cups/filter/thinlinc-ps2pdf.convs context system_u:object_r:usr_t:s0->system_u:object_r:bin_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/cups/backend context system_u:object_r:usr_t:s0->system_u:object_r:bin_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/cups/backend/nearest context system_u:object_r:usr_t:s0->system_u:object_r:bin_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/cups/backend/thinlocal context system_u:object_r:usr_t:s0->system_u:object_r:bin_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/browser_client context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,466:     restorecon reset /opt/thinlinc/share/browser_client/ThinLincClientVerifier.jar context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,467:     restorecon reset /opt/thinlinc/share/browser_client/tlclient.cgi context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_script_exec_t:s0
2012-05-29 21:03:19,467:     restorecon reset /opt/thinlinc/share/browser_client/SSHVnc.jar context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,467:     restorecon reset /opt/thinlinc/share/browser_client/thinlinc.conf context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,467:     restorecon reset /opt/thinlinc/share/browser_client/tlclient.html context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,467:     restorecon reset /opt/thinlinc/share/browser_client/tlbadge_24.png context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,467:     restorecon reset /opt/thinlinc/share/browser_client/cgitest.html context system_u:object_r:usr_t:s0->system_u:object_r:httpd_sys_content_t:s0
2012-05-29 21:03:19,467:     restorecon reset /var/opt/thinlinc/sessions context system_u:object_r:var_t:s0->system_u:object_r:thinlinc_session_root_t:s0
2012-05-29 21:03:19,467:     restorecon reset /var/log/tlclient.cgi.log context unconfined_u:object_r:var_log_t:s0->unconfined_u:object_r:httpd_log_t:s0

No errors from what I can tell. Is stderr present in the log output? Re-rerunning tl-setup seems to make the selinux installation happy again.
Comment 1 Pierre Ossman cendio 2022-10-18 13:30:41 CEST
This hasn't happened again, so we'll assume that it either got fixed or is extremely rare.

Note You need to log in before you can comment on or make changes to this bug.