Bug 237163 - namespace.conf: $HOME used in polyinstantiated directory name not being expanded
namespace.conf: $HOME used in polyinstantiated directory name not being expanded
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: pam (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2007-04-19 15:06 EDT by Ted X Toth
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RHSA-2007-0555
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 10:40:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Ted X Toth 2007-04-19 15:06:04 EDT
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:

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 15:06:05 EDT
Created attachment 153048 [details]
patch file
Comment 2 RHEL Product and Program Management 2007-04-19 15:28:48 EDT
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
Comment 7 errata-xmlrpc 2007-11-07 10:40:34 EST
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.


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