Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27676 - echangelog breaks under sudo
Summary: echangelog breaks under sudo
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-31 18:29 UTC by Brandon Hale (RETIRED)
Modified: 2004-11-18 06:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sudo patch for sudo-1.6.8_p2.ebuild (sudo.patch,380 bytes, patch)
2004-11-18 06:19 UTC, John N. Laliberte (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Hale (RETIRED) gentoo-dev 2003-08-31 18:29:41 UTC
If I run sudo echangelog or echangelog under sudo -s, echangelog claims that i
need to cvs add a file, even though I have already done so. Works fine with su -.

Reproducible: Always
Steps to Reproduce:
1. sudo -s
2. cvs add somepackage
3. echangelog
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-09-06 18:39:34 UTC
Since I never do anything cvs-related as root, this is hard for me to
test.  If you look in echangelog, all it's doing is running "cvs diff
--brief" to figure out what has changed in the directory.  It looks
like that command isn't working correctly, probably something
environment related.

What happens when you run "cvs diff" in your sequence instead of
"echangelog"?  
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-09-06 20:14:34 UTC
Closing...
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2004-11-18 06:19:25 UTC
Created attachment 44222 [details, diff]
sudo patch for sudo-1.6.8_p2.ebuild

patch for sudo-1.6.8_p2.ebuild
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2004-11-18 06:20:27 UTC
wrong attachment!