Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118034 - eix 0.5.0 has logging and operational bug in eix-sync
Summary: eix 0.5.0 has logging and operational bug in eix-sync
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 06:45 UTC by Andrew Esh
Modified: 2006-01-06 22:26 UTC (History)
0 users

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


Attachments
Fix eix-sync logging and operation (eix-sync.patch,329 bytes, patch)
2006-01-06 06:48 UTC, Andrew Esh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Esh 2006-01-06 06:45:42 UTC
Because of a minor bug in the eix-sync script, error logging is not going to the log, but to a file called "1" in the pwd. eix-sync can also not be run without an error in a directory which has a subdirectory named "1" (such as /proc), unless the -v flag is used.
Comment 1 Andrew Esh 2006-01-06 06:48:58 UTC
Created attachment 76336 [details, diff]
Fix eix-sync logging and operation

This patch correctly redirects stderr to stdout, and allows the intended logging to take place. No more "1" files left behind, and no failures when there is a "1" subdirectory present. I made an assumption that the redirect was intended for stderr, since redirecting stdout to stdout is silly.
Comment 2 Andrew Esh 2006-01-06 06:50:36 UTC
Using bash 3.00.16(1)-release, if that matters. Perhaps the existing syntax in eix-sync works with other versions of bash.
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2006-01-06 22:26:51 UTC
in cvs