Bug 7075 - Upgrading ThinLinc takes too long on SELinux step in tl-setup
Summary: Upgrading ThinLinc takes too long on SELinux step in tl-setup
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.9.0
Assignee: Henrik Andersson
URL:
Keywords: derfian_tester, hean01_tester, relnotes, samuel_tester
Depends on:
Blocks:
 
Reported: 2017-11-02 12:35 CET by Samuel Mannehed
Modified: 2017-11-07 11:02 CET (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2017-11-02 12:35:49 CET
Split off from bug #6076.

> One such application is tl-setup. restorecon (part of the SELinux step) will
> take forever to complete if there are a bunch of disconnected drives.

We have observed this taking 15 minutes or more, depending on the number of sessions.
Comment 3 Samuel Mannehed cendio 2017-11-02 13:10:14 CET
* Tested that restorecon has the same API on RHEL5, CentOS 7, and Fedora 25.
* Verified that the fix works on an affected system where this step previously took ~15 minutes
Comment 4 Pierre Ossman cendio 2017-11-03 08:41:42 CET
Broken on fresh install. Does not fix the context of /var/opt/thinlinc/sessions itself.
Comment 7 Thomas Nilefalk cendio 2017-11-07 11:02:11 CET
Verified that tl-setup restores context on /var/opt/thinlinc/sessions

Works as expected.

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