[Bug 506945] New: rpmlint should warn on programs using gethostbyname(3)
http://bugzilla.novell.com/show_bug.cgi?id=506945 Summary: rpmlint should warn on programs using gethostbyname(3) Classification: openSUSE Product: openSUSE 11.2 Version: Alpha 0 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: dmueller@novell.com ReportedBy: crrodriguez@novell.com QAContact: qa@suse.de Found By: System Test IMHO rpmlint should trigger a warning when programs use gethostbyname(3) instead of getaddrinfo(3) We can either use nm -D --undef <binary> | fgrep gethostbyname or scanelf -qs -gethostname <binary> Fedora already have numerous patches to fix this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=506945 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=506945 http://bugzilla.novell.com/show_bug.cgi?id=506945#c1 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Dirk Mueller <dmueller@novell.com> 2010-04-29 11:54:53 CEST --- fixed for 11.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=506945 http://bugzilla.novell.com/show_bug.cgi?id=506945#c2 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrueckert@novell.com --- Comment #2 from Marcus Rückert <mrueckert@novell.com> 2010-05-03 21:18:14 UTC --- imho it would be nice if we had some documentation that explains: a) why use getaddrinfo instead of gethostbyname? b) gives some hints how to port it. Cristian can you provide a wiki page for it? (maybe http://en.opensuse.org/Packaging/Fixing) Dirk can you add the link to the error message? thanks in advance. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=506945 http://bugzilla.novell.com/show_bug.cgi?id=506945#c3 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |lnussel@novell.com Resolution|FIXED | --- Comment #3 from Ludwig Nussel <lnussel@novell.com> 2010-05-04 09:45:16 CEST --- I agree with Marcus. This one really needs explaining, esp since it's not a packaging error but an upstream issue. I'd vote for having separate wiki pages like e.g. http://en.opensuse.org/Packaging/rpmlint/binary-or-shlib-calls-gethostbyname so rpmlint or log file parsers could print the url in a generic way. -- Configure bugmail: http://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=506945 https://bugzilla.novell.com/show_bug.cgi?id=506945#c4 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |crrodriguez@opensuse.org --- Comment #4 from Dirk Mueller <dmueller@novell.com> 2010-11-15 10:03:48 CET --- Cristian, can you provide some info on comment#2? -- 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=506945 https://bugzilla.novell.com/show_bug.cgi?id=506945#c5 Lars Vogdt <lrupp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lrupp@novell.com --- Comment #5 from Lars Vogdt <lrupp@novell.com> 2011-02-06 13:41:41 UTC --- Please use pages which already exist: http://en.opensuse.org/openSUSE:Packaging_checks I added a first, short hint about the check here: http://en.opensuse.org/openSUSE:Packaging_checks#binary-or-shlib-calls-getho... Please enhance, if needed. -- 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=506945 https://bugzilla.novell.com/show_bug.cgi?id=506945#c6 Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|crrodriguez@opensuse.org | Resolution| |FIXED --- Comment #6 from Dirk Mueller <dmueller@suse.com> 2012-08-28 11:54:33 CEST --- Thanks! closing as fixed again. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=506945 http://bugzilla.novell.com/show_bug.cgi?id=506945#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (506945) was mentioned in https://build.opensuse.org/request/show/39288 Factory / rpmlint -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com