Bug 4647 - Remove unnecessary "restorecon" calls from tl-ldap-certalias
Summary: Remove unnecessary "restorecon" calls from tl-ldap-certalias
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Karl Mikaelsson
Depends on:
Reported: 2013-05-15 14:44 CEST by Peter Åstrand
Modified: 2018-02-06 14:14 CET (History)
0 users

See Also:
Acceptance Criteria:


Description Peter Åstrand cendio 2013-05-15 14:44:51 CEST
Apparently it should be enough to create files in the correct directory to get the correct SELinux context. This means that it should not be necessary to call "restorecon". tl-ldap-certalias has 4 such calls, which could then be removed.
Comment 1 Henrik Andersson cendio 2013-05-16 07:53:46 CEST
I belive this is not true, if tl-ldap-certalias hits a user which dont have a home directory it will create /home/<user>/.ssh and we need to restore context on that tree to get the correct context of both user dir and .ssh.
Comment 2 Pierre Ossman cendio 2013-05-21 10:52:33 CEST
Some of these calls are probably necessary, but some are definitely not (e.g. for passwdaliases).

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