[Bug 832678] New: makewhatis fails to suppress "*: nothing appropriate" message

https://bugzilla.novell.com/show_bug.cgi?id=832678 https://bugzilla.novell.com/show_bug.cgi?id=832678#c0 Summary: makewhatis fails to suppress "*: nothing appropriate" message Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: geoff@cs.hmc.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 /usr/sbin/makewhatis attempts to suppress the "*: nothing appropriate" message from whatis (see line 107). However, the current version of whatis correctly writes that message to stderr rather than stdout, so the suppression attempt fails. This, in turn, produces daily e-mails from the suse-do_mandb cron job. (YMMV; I run a nonstandard cron that mails stderr.) Reproducible: Always Steps to Reproduce: 1. As root, type "makewhatis" on a system with at least some languages not installed. 2. Type "whatis -M/usr/share/man/pt_PT -w '*'" on a system without Portuguese to demonstrate that the message comes from whatis. 3. Type "whatis -M/usr/share/man/pt_PT -w '*' 2>/dev/null" to demonstrate that the message is being sent to stderr. Actual Results: *: nothing appropriate Expected Results: makewhatis should produce no output. makewhatis line 107 is the culprit. The fix should be easy: just redirect stderr into the non-pipe pipe. (Why aren't they using a pipe, anyway? Somebody not know about pipes?) -- 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=832678 https://bugzilla.novell.com/show_bug.cgi?id=832678#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- 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=832678 https://bugzilla.novell.com/show_bug.cgi?id=832678#c1 --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-08-06 06:43:31 UTC --- (In reply to comment #0) This ``non-pipe'' is a herein FIFO also called `named pipe' which is a major feature of the bash and a replacement for mkfifo(1) and can be used instead of a pipe to speed up such jobs. -- 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=832678 https://bugzilla.novell.com/show_bug.cgi?id=832678#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Dr. Werner Fink <werner@suse.com> 2013-08-06 06:54:34 UTC --- Fixed -- 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=832678 https://bugzilla.novell.com/show_bug.cgi?id=832678#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-08-06 09:00:08 CEST --- This is an autogenerated message for OBS integration: This bug (832678) was mentioned in https://build.opensuse.org/request/show/186015 Factory / makewhat -- 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