Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 237163

Summary: namespace.conf: $HOME used in polyinstantiated directory name not being expanded
Product: Red Hat Enterprise Linux 5 Reporter: Ted X Toth <txtoth>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0555 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 15:40:34 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:
Attachments:
Description Flags
patch file none

Description Ted X Toth 2007-04-19 19:06:04 UTC
Description of problem:
pam_namespace complains that "Pathnames must start with '/'" when I
try and polyinstantiate "$HOME/.mozilla"

Version-Release number of selected component (if applicable):


How reproducible:
easily

Steps to Reproduce:
1. add a line as follows to /etc/security/namespace.conf
$HOME/foo $HOME/foo.inst level root
2. as a user run in your home directory run 'mkdir foo' and 'mkdir -m 000 foo.inst'
3. make sure that the 'session required pam_namespace.so ...' lines in
/etc/pam.d/[login|su|newrole|gdm|...] ends with debug
4. re-login as the user and then as root check /var/log/secure for the error message
Actual results:


Expected results:


Additional info:

Comment 1 Ted X Toth 2007-04-19 19:06:05 UTC
Created attachment 153048 [details]
patch file

Comment 2 RHEL Program Management 2007-04-19 19:28:48 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 errata-xmlrpc 2007-11-07 15:40:34 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 the 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/RHSA-2007-0555.html