https://bugzilla.novell.com/show_bug.cgi?id=223895
Summary: YaST (Installation) - redirecting stdout/stderr to the /var/log/YaST2/run-std* Product: openSUSE 10.3 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com CC: ms@novell.com, suse-beta@cboltz.de
It's not easy to catch all error messages that are produced by running (broken) YaST. Some Perl modules complain about wrong commands, for instance, and there is no way how to report these errors well. One way is to find your camera and take a monitor-shot :)
This could be fixed by redirecting stdout and stderr to some files under /var/log/YaST2/stdout and /var/log/YaST2/stderr or maybe even 2>>/var/log/YaST2/y2log
Only redirecting doesn't make sense for same cases, so using `tee` would be probably better.
There are at least two places where this should be implemented: * /sbin/yast2 * Installation startup scripts (YaST2.call)
..and maybe others.
https://bugzilla.novell.com/show_bug.cgi?id=223895
------- Comment #1 from locilka@novell.com 2006-11-27 08:17 MST ------- See also bug 211392
https://bugzilla.novell.com/show_bug.cgi?id=223895
mvidner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.novell.com/show_bug.cgi?id=223895#c2
Martin Vidner mvidner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |erikj@sgi.com
--- Comment #2 from Martin Vidner mvidner@novell.com 2007-09-18 03:45:58 MST --- *** Bug 325825 has been marked as a duplicate of this bug. ***
https://bugzilla.novell.com/show_bug.cgi?id=325825
https://bugzilla.novell.com/show_bug.cgi?id=223895#c3
--- Comment #3 from Martin Vidner mvidner@novell.com 2007-09-18 03:52:57 MST --- For /sbin/yast2, it has been already solved in bug 265263 (xmessage and friends).
During the installation, in YaST2.call, I plan for "y2base ... 2>&1 | tee --append /var/log/YaST2/installation-output" I'll prepare a patch.
https://bugzilla.novell.com/show_bug.cgi?id=223895#c4
--- Comment #4 from Martin Vidner mvidner@novell.com 2007-09-18 05:40:13 MST --- Created an attachment (id=173047) --> (https://bugzilla.novell.com/attachment.cgi?id=173047) cons-err.patch for yast2-installation
https://bugzilla.novell.com/show_bug.cgi?id=223895
Jiri Srain jsrain@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low