[Bug 450247] New: libzypp doesn't respect path when looking for aria2c
https://bugzilla.novell.com/show_bug.cgi?id=450247 Summary: libzypp doesn't respect path when looking for aria2c Product: openSUSE 11.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: dmacvicar@novell.com ReportedBy: poeml@novell.com QAContact: qa@suse.de Found By: --- libzypp uses whereis to find the aria2c program, which makes it rather difficult to override the /usr/bin/aria2c with anything else. It should rather use 'which' which would respect the PATH setting, and in my case it would return /usr/local/bin/aria2c instead of aria2c: /usr/bin/aria2c /usr/bin/X11/aria2c /usr/local/bin/aria2c Log: 2008-11-29 15:37:39 <1> cherry(12763) [zypp++] ExternalProgram.cc(start_program):210 Executing 'whereis' '-b' 'aria2c' 2008-11-29 15:37:39 <1> cherry(12763) [zypp++] ExternalProgram.cc(start_program):210 Executing 'whereis' '-b' 'aria2c' 2008-11-29 15:37:39 <1> cherry(12763) [zypp] MediaAria2c.cc(whereisAria2c):628 We will use aria2c located here: /usr/bin/aria2c -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450247 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450247 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450247#c1 --- Comment #1 from Peter Poeml <poeml@novell.com> 2008-12-01 04:08:06 MST --- This actually has high priority for me, because I need to override the aria2c call with a wrapper script, which is impossible right now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450247 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450247#c2 --- Comment #2 from Duncan Mac-Vicar <dmacvicar@novell.com> 2008-12-01 05:48:55 MST --- I understand. But bug priority as in bugzilla represents the priority with respect to other bugs in the same component. As this issue is not a common scenario, it can't have higher priority over other bugs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450247 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450247#c3 --- Comment #3 from Peter Poeml <poeml@novell.com> 2008-12-01 06:00:02 MST --- Yes, that's fine. Priority is your call. Just wanted to explain the usecase, and that it is not cosmetic for me :-) I experimented with logging, and with a way to add additional options into the aria2c call. (Ideally, the aria2c call would be configurable from zypp.conf file I guess.) Also, one thing I have in mind for later is to be able to add or remove (on the fly) certain mirrors from the metalink, so that it is possible to blacklist certain mirrors, or you could inject a local preferred mirror that is tried first. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450247 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450247#c4 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Duncan Mac-Vicar <dmacvicar@novell.com> 2009-02-26 10:51:07 MST --- libzypp 6.1.0 in Factory uses "which" to find aria2c now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com