Bug 661681

Summary: umask set in /etc/profile.d is eclipsed by bashrc
Product: Red Hat Enterprise Linux 6 Reporter: Ondrej Vasik <ovasik>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: azelinka, fnadge, robert, roel
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: setup-2.8.14-11.el6 Doc Type: Bug Fix
Doc Text:
Previously, using a user defined script in /etc/profile.d/ to modify umask settings failed when using an interactive login shell. Consequently, when this issue was encountered, the default umask settings were used. This updated package provides modified startup scripts, ensuring user defined scripts in /etc/profile.d/ set umask settings as instructed.
Story Points: ---
Clone Of: 608987 Environment:
Last Closed: 2011-05-19 11:54:42 UTC Type: ---
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: 608987    
Bug Blocks:    

Comment 4 Florian Nadge 2011-03-02 18:19:51 UTC
Please be so kind and add a few key words to the technical note of this
bugzilla entry using the following structure:

Cause:

Consequence:

Fix:

Result:


For details, see:
https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks

Comment 5 Florian Nadge 2011-03-02 18:19:51 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    What actions or circumstances induced the feature request.
Consequence
    What action was inhibited by the feature’s absence.
Change
    What was done to implement the feature.
    Note: backported from upstream is not an explanation.
Result
    What now happens when the actions or circumstances above occur.
    Note: this is not the same as the feature request was fulfilled.

Comment 6 Ondrej Vasik 2011-03-03 09:07:16 UTC
These are already present in errata description text ... but ok, adding to
technotes field.

Comment 7 Ondrej Vasik 2011-03-03 09:07:17 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,10 +1 @@
-Cause
+If the user wants to modify default system umask settings for bash by user-defined script in /etc/profile.d directory, this was not working properly in interactive login shell. In such situation default system umask settings were always used. This update modifies the startup scripts, so umask settings set by user defined profile.d scripts are respected.-    What actions or circumstances induced the feature request.
-Consequence
-    What action was inhibited by the feature’s absence.
-Change
-    What was done to implement the feature.
-    Note: backported from upstream is not an explanation.
-Result
-    What now happens when the actions or circumstances above occur.
-    Note: this is not the same as the feature request was fulfilled.

Comment 9 Ryan Lerch 2011-04-20 04:02:54 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-If the user wants to modify default system umask settings for bash by user-defined script in /etc/profile.d directory, this was not working properly in interactive login shell. In such situation default system umask settings were always used. This update modifies the startup scripts, so umask settings set by user defined profile.d scripts are respected.+Previously, using a user defined script in /etc/profile.d/ to modify umask settings failed when using an interactive login shell. Consequently, when this issue was encountered, the default umask settings were used. This updated package provides modified startup scripts, ensuring user defined scripts in /etc/profile.d/ set umask settings as instructed.

Comment 11 errata-xmlrpc 2011-05-19 11:54:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0524.html