Bug 469915

Summary: sectool path tests confused by a simple init script
Product: [Fedora] Fedora Reporter: Daniel Qarras <dqarras>
Component: sectoolAssignee: Peter Vrabec <pvrabec>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: dkopecek, lkukline, pvrabec
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: 2009-01-07 09:30:07 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:

Description Daniel Qarras 2008-11-04 18:26:29 UTC
Description of problem:

root@localhost:~# cat /root/.bash_profile 
[[ -x "`which mesg 2>/dev/null`" ]] && mesg y > /dev/null 2>&1
[[ -x "`which uptime 2>/dev/null`" ]] && uptime
root@localhost:~# sectool --hint --level 3 --run path --debug
path ->
    Info: Testing whether Empty element is in variable PATH
    Info: Test whether Empty element is in the PATH finished with success
    Info: Testing whether Relative path is in variable PATH
    Error: Relative path found in variable PATH!
    Hint: Relative path allows running binaries depending on current working directory
    Info: Testing whether Directory /tmp is in variable PATH
    Info: Test whether Directory /tmp is in the PATH finished with success
    Warning: Path variable contains directory 20, which doesn't exist or is not an directory.
    Hint: Please look in your startup scripts and remove this setting
    Warning: Path variable contains directory 26, which doesn't exist or is not an directory.
    Hint: Please look in your startup scripts and remove this setting
    Warning: Path variable contains directory 55 up  1, which doesn't exist or is not an directory.
    Hint: Please look in your startup scripts and remove this setting
    Warning: Path variable contains directory 12,  1 user,  load average, which doesn't exist or is not an directory.
    Hint: Please look in your startup scripts and remove this setting
    Warning: Path variable contains directory 0.17, 0.60, 0.87
    Hint: Please look in your startup scripts and remove this setting
    path: ERROR

root@localhost:~# rm -f /root/.bash_profile 
root@localhost:~# sectool --hint --level 3 --run path --debug
path ->
    Info: Testing whether Empty element is in variable PATH
    Info: Test whether Empty element is in the PATH finished with success
    Info: Testing whether Relative path is in variable PATH
    Info: Test whether Relative path is in the PATH finished with success
    Info: Testing whether Directory /tmp is in variable PATH
    Info: Test whether Directory /tmp is in the PATH finished with success
    path: PASS

Comment 1 Lukas Kuklinek 2008-11-13 11:58:14 UTC
fixed in git

Comment 2 Fedora Update System 2008-11-24 10:45:37 UTC
sectool-0.9.2-1 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/sectool-0.9.2-1

Comment 3 Bug Zapper 2008-11-26 04:46:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora Update System 2008-11-26 06:16:29 UTC
sectool-0.9.2-1 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sectool'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/f10/FEDORA-2008-10272

Comment 5 Daniel Qarras 2008-11-26 22:58:46 UTC
This is partially fixed: test for path works ok but aliases test pukes with sames errors.

Comment 6 Fedora Update System 2008-12-01 23:28:15 UTC
sectool-0.9.2-2 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/sectool-0.9.2-2

Comment 7 Fedora Update System 2008-12-03 01:25:39 UTC
sectool-0.9.2-2 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sectool'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-10649

Comment 8 Daniel Qarras 2008-12-03 17:08:09 UTC
Yep, now working in all cases.

Comment 9 Fedora Update System 2009-01-07 09:29:49 UTC
sectool-0.9.2-2 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.