[Bug 264309] New: drop strict requires to netcat
https://bugzilla.novell.com/show_bug.cgi?id=264309 Summary: drop strict requires to netcat 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: meissner@novell.com QAContact: jsrain@novell.com CC: jsmeix@novell.com yast2-core and yast2-printer use netcat to do some probing kind of things. Both RPMS have strict requires on "netcat" to help this. A pretty paranoid customer wants to remote netcat from their systems (and accepts the reduced probing functionality), but runs into problems with the hard RPM requires to it. Perhaps we could just lessen those requirements down to "Recommends" and add some bits of error handling to the ag_hostnames script in yast2-core and the scripts in yast2-printer so that they exit gracefully or wiht a good errormessage if netcat is not installed. (We discussed a Requestor for "netcat" installation on yast-devel, but I do not think we need it, a lowlevel approach is sufficient) -- 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=264309 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |yast2-maintainers@suse.de |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264309 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mzugec@novell.com ------- Comment #1 from jsmeix@novell.com 2007-04-16 02:42 MST ------- I can fix the scripts in yast2-printer (but not in yast2-core) because I made most of them. Of course they must exit with an error (special non-zero exit code) because without netcat the test cannot be done successfully. Michal, how do you pefer it to be done? Should I work directly in SVN or should I send you fixed scripts? Would you fix the dialogs so that an appropriate "missing netcat" message is shown to the user so that it is clear for the user when a test failed only because of a missing test-tool and not because of a real problem? By the way: Is a RPM "Recommends" sufficient to get netcat installed by default or are additional entries in the patterns necessary? -- 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=264309 ------- Comment #2 from mzugec@novell.com 2007-04-16 03:07 MST -------
how do you pefer it to be done? Should I work directly in SVN or should I send you fixed scripts?
I prefer to send changes to me
Would you fix the dialogs so that an appropriate "missing netcat" message is shown to the user so that it is clear for the user when a test failed only because of a missing test-tool and not because of a real problem?
I think disabled button with text ("to enable this functionality install netcat package") will be fine. Yes, I will do that Reccomends is enought -- 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=264309 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |jsmeix@novell.com ------- Comment #3 from mvidner@novell.com 2007-04-16 10:02 MST ------- yast2-core-2.15.7 only Recommends netcat.rpm and will return [".install.netcat.rpm"] as the host list if it cannot find the required rpm. The application can translate this to whatever it pleases. -- 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=264309 ------- Comment #4 from jsmeix@novell.com 2007-04-17 03:38 MST ------- Created an attachment (id=131669) --> (https://bugzilla.novell.com/attachment.cgi?id=131669&action=view) remote-tools.tar.bz2 This archive contains new versions of listen_remote_ipp test_remote_ipp test_remote_lpd test_remote_novell test_remote_smb test_remote_socket -- 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=264309 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsmeix@novell.com |mzugec@novell.com ------- Comment #5 from jsmeix@novell.com 2007-04-17 03:45 MST ------- Michal, the new scripts are in attachment #131669. I test for all executables except those in the coreutils RPM (i.e. I assume the coreutils RPM is installed). If exit code >= 10 then an executable is missing. The exact exit code describes which executable is missing (but I simply abort at the first missing executable): # 10 ping not executable (no iputils RPM installed?) # 11 netcat not executable (no netcat RPM installed?) # 12 fuser not executable (no psmisc RPM installed?) # 13 mktemp not executable (no mktemp RPM installed?) # 14 sed not executable (no sed RPM installed?) # 15 lp not executable (no cups-client RPM installed?) # 16 smbclient not executable (no samba-client RPM installed?) # 17 nprint not executable (no ncpfs RPM installed?) -- 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=264309 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=264309
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=264309#c6
michal zugec
https://bugzilla.novell.com/show_bug.cgi?id=264309
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=264309#c7
michal zugec
https://bugzilla.novell.com/show_bug.cgi?id=264309
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=264309#c8
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=264309
User mzugec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=264309#c9
michal zugec
https://bugzilla.novell.com/show_bug.cgi?id=264309
User mvidner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=264309#c10
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=264309
User mvidner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=264309#c11
--- Comment #11 from Martin Vidner
participants (1)
-
bugzilla_noreply@novell.com