Bug 1119910
Summary: | katello-installer errors if umask too restrictive | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Dylan Gross <dgross> |
Component: | Installation | Assignee: | Stephen Benjamin <stbenjam> |
Status: | CLOSED ERRATA | QA Contact: | Corey Welton <cwelton> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.3 | CC: | achan, ahumbe, bbuckingham, cwelton, jmontleo, mmccune, sauchter, tkolhar, xdmoon |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/8378 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
katello-installer fails to execute when the host system has restrictive umasks. The restrictive umasks affects permissions and access to the keystore and certain cert files. This fix will set the umask to the required value for installation to make sure that the installation goes through properly.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-16 21:07:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1115190 |
Description
Dylan Gross
2014-07-15 20:06:31 UTC
Seems like I may have opened a duplicate. Bug 1117265 *may* be the exact same. Describing the symptoms of incorrect permissions. Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Minimum is a docs addition Ideally we can add a pre-install check that will dump the installer if the umask is incompat with our installer. DOCS: Customers need to have a umask of 0022 before executing the installation program. WORKAROUND: Ensure that the root user's umask is set to 0022 before executing katello-installer. *** Bug 1163018 has been marked as a duplicate of this bug. *** Created redmine issue http://projects.theforeman.org/issues/8378 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/8378 has been closed ------------- Anonymous Applied in changeset commit:katello-installer|96373329c7d528b1786514e546caa4cbfee6e3bb. Change is upstream. To test this, 1. Set umask to something restrictive, like 027: umask 027 2. Run katello-installer 3. Ensure install completes successfully temp move to MOD for ET VERIFIED: # umask 0027 # umask 0027 # tail -f /var/log/katello-installer/katello-installer.log [DEBUG 2015-01-01 22:23:53 main] Finishing transaction 49036620 [DEBUG 2015-01-01 22:23:53 main] Received report to process from intel-piketon-01.lab.bos.redhat.com [DEBUG 2015-01-01 22:23:53 main] Processing report from intel-piketon-01.lab.bos.redhat.com with processor Puppet::Reports::Store [ INFO 2015-01-01 22:23:56 main] Puppet has finished, bye! [ INFO 2015-01-01 22:23:56 main] Executing hooks in group post [DEBUG 2015-01-01 22:23:56 main] Hook /usr/share/katello-installer/hooks/post/10-post_install.rb returned nil [ INFO 2015-01-01 22:23:56 main] All hooks in group post finished [DEBUG 2015-01-01 22:23:56 main] Exit with status code: 2 (signal was 2) [DEBUG 2015-01-01 22:23:56 main] Cleaning /etc/katello-installer/d20150101-20238-zh2yjt [DEBUG 2015-01-01 22:23:56 main] Cleaning /tmp/default_values.yaml # ls -la /etc/pki/katello/keystore -rw-r--r--. 1 root root 2962 Dec 30 06:35 /etc/pki/katello/keystore # ls -la /etc/pki/katello/keystore -rw-r--r--. 1 root root 2962 Dec 30 06:35 /etc/pki/katello/keystore verified in upstream,moving it back to ON_QA QE Verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:0054 |