Bug 446849 - Non-existing (deprecated) directory in PATH while running consolehelper
Summary: Non-existing (deprecated) directory in PATH while running consolehelper
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: usermode
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-16 13:29 UTC by Michel Samia
Modified: 2008-09-10 06:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-17 13:09:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch removing the directory from userhelper (549 bytes, patch)
2008-05-16 13:29 UTC, Michel Samia
no flags Details | Diff

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.


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