[Bug 421805] New: yast fallback mode - option to save logs
https://bugzilla.novell.com/show_bug.cgi?id=421805 Summary: yast fallback mode - option to save logs Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wharms@bfs.de QAContact: jsrain@novell.com Found By: --- when yast fails the logs are hardly accessable for most people. When i run into a problem i was informed that the logs are in /var/log/Yast/y2log. This is true but how many people know that you have to press <ctrl><alt><f2> to get a usable console ? It would be helpful to have an option to save the logs onto an USB-Stick,Floppy, network what ever. Note:Do not forget to load modules like ext2 or atlease vfat to the system can access USB-Sticks. They were not loaded in my case, so i did not save any logs. Someone should realy take a close look at error cases. -- 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=421805 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |yast2-maintainers@suse.de -- 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=421805 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c1 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |wharms@bfs.de --- Comment #1 from Ladislav Slezak <lslezak@novell.com> 2008-09-16 04:39:40 MDT --- The howto (http://en.opensuse.org/Bugs/YaST) is probably too long to fit in the popup window. Displaying the link should be sufficient. I have no idea which dialog did you see. Please, attach yast logs so I can locate the problem. -- 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=421805 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c2 Stefan Hundhammer <sh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sh@novell.com --- Comment #2 from Stefan Hundhammer <sh@novell.com> 2008-09-16 05:07:41 MDT --- (In reply to comment #0 from a b)
when yast fails the logs are hardly accessable for most people. When i run into a problem i was informed that the logs are in /var/log/Yast/y2log. This is true but how many people know that you have to press <ctrl><alt><f2> to get a usable console ?
Those who read the Bug Reporting FAQ where all this is explained in great detail? If we ask users who report bugs to attach y2logs, we usually add a link to the Bug Reporting FAQ where all this is explained. http://en.opensuse.org/Bugs/YaST#I_reported_a_YaST2_bug.2C_and_now_I_am_aske... http://en.opensuse.org/Bugs/YaST#I_get_a_red_text_pop-up_telling_me_.22An_er... I wouldn't know any other use for the y2logs for a normal user, in particular one who doesn't know how to switch consoles and how to invoke simple commands. Users who report YaST bugs are pointed to that FAQ. -- 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=421805 Stefan Hundhammer <sh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|yast fallback mode - option to save logs |yast text mode - option to save logs -- 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=421805 User wharms@bfs.de added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c3 --- Comment #3 from a b <wharms@bfs.de> 2008-09-16 05:39:01 MDT --- i get the feeling that we are talking about different things. Just to make sure: *yast in text mode -i do NOT mean the yast with ncurses interface you see when you have a running system. I mean when yast fails while installation and it switches to old yast1 layout. That means you are in deep trouble if this yast fails and says "please read the y2log". * IMHO it would be nice to have a text requester that simply shows the log (this is done in other requester with <details>) and * adding an option to save the log would be interessting to anyone who trys to fix what went wrong. -- 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=421805 User wharms@bfs.de added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c4 a b <wharms@bfs.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|wharms@bfs.de | --- Comment #4 from a b <wharms@bfs.de> 2008-09-16 05:39:51 MDT --- i get the feeling that we are talking about different things. Just to make sure: *yast in text mode -i do NOT mean the yast with ncurses interface you see when you have a running system. I mean when yast fails while installation and it switches to old yast1 layout. That means you are in deep trouble if this yast fails and says "please read the y2log". * IMHO it would be nice to have a text requester that simply shows the log (this is done in other requester with <details>) and * adding an option to save the log would be interessting to anyone who trys to fix what went wrong. -- 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=421805 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c5 --- Comment #5 from Stefan Hundhammer <sh@novell.com> 2008-09-16 08:24:11 MDT --- There is no more YaST1 layout. There is the YaST2 NCurses / text mode, and there is linuxrc, the (also text-based) program that initializes the installation. What would a non-YaST2-developer user do with that log? Look in those logs and judge if you can make sense of it. I doubt. Do you think people would edit and fix YCP or C++ code? If normal users see that kind of error, there is typically nothing they can do about it. They only get to see that if there are programming errors. Other situations where there is a reasonable workaround (like e.g. shutting down another instance of the YaST software module to unlock a locked ZYPP database) should give the user a reasonable error message that tells him what he can do. My assessment of this: Not useful or desirable. INVALID. -- 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=421805 User wharms@bfs.de added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c6 --- Comment #6 from a b <wharms@bfs.de> 2008-09-16 09:13:47 MDT --- last crashes i had lead to problems very deep in yast2. The logs contain not only information about started yast modules but also error messages e.g. from mount and others. Something even an non-yast-developer can read. more over: the seldom used error path may contain hidden bugs that are interessting for yast2 developers. So, in extreme case where the log may only exists in ram, an option to save is vital. the developer can learn about condition that are extremly hard to produce at will. Users will prefer an full new installation that will destroy any trace of the first failed installation. -- 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=421805 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c7 --- Comment #7 from Stefan Hundhammer <sh@novell.com> 2008-09-16 11:18:02 MDT --- The problem in your particular scenario seems to have been that error return values (mount etc.) were insufficiently checked and/or reported. This is a real bug, and this should clearly be fixed. Is there a separate bug report for this? But this is independent of any "save logs" facility. And it doesn't make the y2logs any more useful for the great majority of users. The y2logs are for the debugging by the YaST developers. They are not meant for the end user; otherwise we'd have to do that logging radically differently. -- 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=421805 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c8 --- Comment #8 from Stefan Hundhammer <sh@novell.com> 2008-09-16 11:23:02 MDT --- (In reply to comment #6 from a b)
more over: the seldom used error path may contain hidden bugs that are interessting for yast2 developers. So, in extreme case where the log may only exists in ram, an option to save is vital.
If you mean copying the logs from the RAM disk that is used during installation to a more permanent location: This is what the save_y2logs script (explained in the Bug Reporting FAQ) does. Finding such a permanent place (USB stick etc.) is the user's responsibility. -- 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=421805 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c9 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |lslezak@novell.com Status|NEW |ASSIGNED --- Comment #9 from Ladislav Slezak <lslezak@novell.com> 2008-09-17 06:28:06 MDT --- I'll add a link to http://en.opensuse.org/Bugs/YaST page in that dialog, all what you need is described there. -- 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=421805 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c10 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Ladislav Slezak <lslezak@novell.com> 2008-09-17 07:19:53 MDT --- Fixed in yast2-2.17.26. -- 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=421805 User wharms@bfs.de added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c11 --- Comment #11 from a b <wharms@bfs.de> 2008-09-17 08:24:16 MDT --- please be more verbose people may feel offended when yast crashes and you have no internet because the update/install is incomplete. The last thing you would like to see is an error message containig a link. Write something about save_y2logs and a console using <f2> AND a link. belive me, it happend to me. -- 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=421805 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c12 --- Comment #12 from Stefan Hundhammer <sh@novell.com> 2008-09-17 08:28:12 MDT --- Will this insanity ever end? We cannot and will not provide a beginner's Linux tutorial in that pop-up. If people are not willing to read the documentation, that's fine by me, but this cannot mean that we force-feed it on them in an error message. -- 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=421805 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c13 --- Comment #13 from Ladislav Slezak <lslezak@novell.com> 2008-09-17 08:42:05 MDT --- I agree with Stefan, we cannot display a howto documentation in an error popup. Error popups should display just the message, not a documentation what to do, what does it mean, possible solutions, etc... You need some Linux knowledge to use the logs anyway, and attaching them to bugzilla needs internet access too. -- 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=421805 User wharms@bfs.de added comment https://bugzilla.novell.com/show_bug.cgi?id=421805#c14 --- Comment #14 from a b <wharms@bfs.de> 2008-09-17 08:52:10 MDT --- no need to be rude. i gave *my opinion*. if somebody like to follow, it is ok if not also. if you want the logs make it so easy as possible, if not why an error message at all ? The discussion start with the question: "is it possible to add a save button to save logs ?". Answer: "not that easy" discussion closed -- 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