Bug 446849

Summary: Non-existing (deprecated) directory in PATH while running consolehelper
Product: [Fedora] Fedora Reporter: Michel Samia <msamia>
Component: usermodeAssignee: Miloslav Trmač <mitr>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: mitr, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-17 13:09:19 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 removing the directory from userhelper none

Description Michel Samia 2008-05-16 13:29:10 UTC
Description of problem:
While developing sectool, I found this: when I create and some applicaton and
then run it by consolehelper, the variable PATH inside the application's
environment contains directory /usr/X11R6/bin, which is no more used and doesn't
exist on most systems. So we can clean it.

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

How reproducible:
Create such an application 

Steps to Reproduce:
1. Create the application (i.e. script printing $PATH)
2. create config file in /etc/security/console.apps for the application
3. create config file in /etc/pam.d for the application
4. create symlink to it
  
Actual results:
Application contains nonexisting directory /usr/X11R6/bin in PATH.

Expected results:
Application does NOT contain nonexisting directory /usr/X11R6/bin in PATH.

Additional info:

Comment 1 Michel Samia 2008-05-16 13:29:10 UTC
Created attachment 305680 [details]
patch removing the directory from userhelper

Comment 2 Miloslav Trmač 2008-05-17 13:09:19 UTC
Applied, will be fixed in the next release.

Thanks!

Comment 3 Fedora Update System 2008-08-03 07:17:47 UTC
usermode-1.98-1.fc9 has been submitted as an update for Fedora 9

Comment 4 Fedora Update System 2008-09-10 06:57:03 UTC
usermode-1.98-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.