[Bug 266892] New: several yast modules do not understand "help" option
https://bugzilla.novell.com/show_bug.cgi?id=266892 Summary: several yast modules do not understand "help" option Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: jsrain@novell.com It seems to be common practise that yast <modulename> help prints available options - at least the bash autocompletion in /etc/bash_completion.d/yast2-completion.sh thinks so ;-) Unfortunately, several modules don't support the help option and therefore provides a funny way to start the module. Example: yast sw_single <tab><tab> starts YaST ;-) The following modules start up instead of showing the help: - yast add-on - yast autoyast - yast bootfloppy - yast controller - yast dirinstall - yast dsl - yast GenProf - yast hwinfo - yast inst_source - yast inst_release_notes - yast isdn - yast joistick - yast kerberos-client - yast ldap_browser - yast LogProf - yast modem - yast online_update - yast online_update_setup - yast powertweak - yast SD_AddProfile - yast SD_DeleteProfile - yast SD_EditProfile - yast SD_Report - yast subdomain - yast support - yast sw_single - yast sysconfig - yast update - yast vendor - yast view_anymsg - yast xen The other 51 yast modules on my system support the help option. test script to list all modules not understanding the "help" option: yast -l |sed '1d' |while read line ; do xterm -e "/sbin/yast $line help" done expected result for testscript: - several xterms flashing up and closing instantly - no xterm should stay open actual result: - modules that do not support yast <modulename> help start up (and leave the xterm open) Sidenotes: - please fix this by adding the help option to the mentioned modules, NOT by removing the bash_completion script - if you need separate reports for each module, just ask -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jsrain@novell.com |screening@forge.provo.novell| |.com | Severity|Normal |Enhancement -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892 jsrain@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |suse-beta@cboltz.de ------- Comment #1 from jsrain@novell.com 2007-04-26 08:09 MST ------- Yes, separate reports would be wellcome, handling that long list would be quite problematic and I'm sure we would miss some of them. Please, omit powertweak, bootfloppy (both dropped from 10.3) and inst_release_notes (it is an installation-only client, should not be used in running system). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|suse-beta@cboltz.de | ------- Comment #2 from suse-beta@cboltz.de 2007-04-29 16:01 MST ------- (In reply to comment #1)
Yes, separate reports would be wellcome, handling that long list would be quite problematic and I'm sure we would miss some of them.
OK, I just flooded bugzilla - 30 reports in 10 minutes isn't that bad ;-) -> bugs 269886 to 269914
Please, omit powertweak, bootfloppy (both dropped from 10.3) and
OK.
inst_release_notes (it is an installation-only client, should not be used in running system).
It is listed by yast -l, which means it is also affected by the bash completion sideeffect. Therefore it should support the help parameter also ;-) (Before you ask: I opened a bug for it.) A last note: please reassign this bug to the autobuild team. I'd like to see a check for the help option at packaging time in some weeks ;-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892 ------- Comment #3 from suse-beta@cboltz.de 2007-04-29 18:13 MST ------- Test script, to be run on a machine with all YaST modules installed: (root permissions *not* needed, nor recommended) for module in `/sbin/yast -l |grep -v "Available modules"` ; do echo "testing yast $module..." >> yasttest.log /sbin/yast $module help &>/dev/null & sleep 10 && jobs |grep yast >/dev/null && \ echo "*** $module still running ***" >>yasttest.log && kill $! killall yast ; killall y2base # needed sometimes :-( sleep 2 fg # let the backgrounded job fetch its kill signal done &>/dev/null grep "still running" yasttest.log Every module listed as "still running" a) does not support the help option -or- b) (shouldn't happen) needs more than 10s to display the help, which would be a performance bug ;-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892 jsrain@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ro@novell.com ------- Comment #4 from jsrain@novell.com 2007-05-03 01:39 MST ------- We already have an internal package which performs some tests on the YaST modules (yast2-build-test), I think that it is a better idea. Rudi, what do you think? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892 ------- Comment #5 from suse-beta@cboltz.de 2007-05-03 14:19 MST ------- I'm not Rudi, but IMHO including it in the yast2-build-test package sounds like the better solution. My point simply is that it has to be checked _somewhere_ ;-) BTW: Is the source/spec file of this yast2-build-test public available? (Just a question, I admit that I didn't check myself.) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266892#c6
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=266892#c7
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=266892
User suse-beta@cboltz.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=266892#c8
--- Comment #8 from Christian Boltz
participants (1)
-
bugzilla_noreply@novell.com