Bug 588086

Summary: Missing absolute paths in scripts breaks "sudo yum ..." operations
Product: [Fedora] Fedora Reporter: Dominik Sandjaja <dominik>
Component: etckeeperAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: bernie+fedora, thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: etckeeper-0.49-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-26 04:33:30 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 Dominik Sandjaja 2010-05-02 15:32:12 UTC
Description of problem:
Installed etckeeper, tried a yum update via "sudo yum update". Etckeeper fails with "command not found" errors. Problem is that /usr/sbin, where the executable resides is not within the path when yum is called via sudo. 
The command is e.g. called in /etc/etckeeper/post-install.d/50vcs-commit on lines 8 and 19.

Version-Release number of selected component (if applicable):
etckeeper-0.41-1.fc12.noarch

How reproducible:
Fresh install of etckeeper, do a yum operation as regular user with sudo.
  
Actual results:
Several "command not found" errors.

Expected results:
etckeeper doing its job.

Comment 1 Thomas Moschny 2010-09-01 16:59:34 UTC
Ping?

Comment 2 Fedora Update System 2010-09-07 22:14:12 UTC
etckeeper-0.48-1.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/etckeeper-0.48-1.fc12

Comment 3 Fedora Update System 2010-09-08 02:18:35 UTC
etckeeper-0.48-1.fc12 has been pushed to the Fedora 12 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 etckeeper'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/etckeeper-0.48-1.fc12

Comment 4 Fedora Admin XMLRPC Client 2010-09-16 20:17:17 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Update System 2010-09-16 21:06:02 UTC
etckeeper-0.49-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/etckeeper-0.49-1.fc13

Comment 6 Fedora Update System 2010-09-16 21:06:07 UTC
etckeeper-0.49-1.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/etckeeper-0.49-1.fc12

Comment 7 Fedora Update System 2010-09-16 21:06:13 UTC
etckeeper-0.49-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/etckeeper-0.49-1.fc14

Comment 8 Fedora Update System 2010-09-26 04:33:25 UTC
etckeeper-0.49-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-09-26 04:35:54 UTC
etckeeper-0.49-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-09-27 03:55:40 UTC
etckeeper-0.49-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.