Bug 237163 - namespace.conf: $HOME used in polyinstantiated directory name not being expanded
Summary: namespace.conf: $HOME used in polyinstantiated directory name not being expanded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: pam
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tomas Mraz
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-19 19:06 UTC by Ted X Toth
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: RHSA-2007-0555
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-07 15:40:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch file (1.53 KB, patch)
2007-04-19 19:06 UTC, Ted X Toth
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0555 0 normal SHIPPED_LIVE Moderate: pam security, bug fix, and enhancement update 2007-11-07 16:22:23 UTC

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



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