[Bug 225631] New: When rpm segfaults, Yast Online Update continues happily without complaining or saying anything.
https://bugzilla.novell.com/show_bug.cgi?id=225631 Summary: When rpm segfaults, Yast Online Update continues happily without complaining or saying anything. Product: SUSE Linux 10.1 Version: Final Platform: PC OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robin.listas@telefonica.net QAContact: jsrain@novell.com CC: robin.listas@telefonica.net As reported in #225630, my rpm segfaults when trying to update to Mesa-6.4.2-19.12.i586.rpm. YOU has been trying to update this packages for days, claiming success, but failing, and trying to update the same package the next time. I will later attach Yast2 logs (YaST2.tar.gz, 8126963 bytes). -- 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=225631 ------- Comment #1 from robin.listas@telefonica.net 2006-12-02 17:15 MST ------- I can not attach the compressed logs, bugzilla says it is too large. Please specify an email address I can send it to, or specify which exact files you need of this list: nimrodel:/var/log/YaST2 # l total 101992 drwx------ 3 root root 4096 Dec 2 04:08 ./ drwxr-xr-x 16 root root 20480 Dec 3 00:49 ../ -rw-r--r-- 1 root root 74 Jul 3 23:14 badlist -rw-r--r-- 1 root root 1044 Jun 26 2004 badlist-initial -rw-r--r-- 1 root root 37933 Apr 23 2005 config_diff_2005_04_22.log -rw-r--r-- 1 root root 1105 May 6 2005 config_diff_2005_05_06.log -rw-r--r-- 1 root root 211 Jul 28 2005 config_diff_2005_07_28.log -rw-r--r-- 1 root root 675 Sep 24 2005 config_diff_2005_09_24.log -rw-r--r-- 1 root root 764 Oct 1 2005 config_diff_2005_10_01.log -rw-r--r-- 1 root root 799 Nov 4 2005 config_diff_2005_11_04.log -rw-r--r-- 1 root root 1027 Nov 8 2005 config_diff_2005_11_08.log -rw-r--r-- 1 root root 1009 Jan 27 2006 config_diff_2006_01_27.log -rw-r--r-- 1 root root 1159 Jun 27 21:54 config_diff_2006_06_27.log -rw-r--r-- 1 root root 40767 Jul 3 23:07 config_diff_2006_07_03.log -rw-r--r-- 1 root root 5271 Jul 4 01:44 config_diff_2006_07_04.log -rw-r--r-- 1 root root 654 Jul 23 12:37 config_diff_2006_07_23.log -rw-r--r-- 1 root root 5187 Jul 31 23:48 config_diff_2006_07_31.log -rw-r--r-- 1 root root 770 Jul 3 23:14 disk_hda -rw-r--r-- 1 root root 830 Jul 3 23:14 disk_hdb -rw-r--r-- 1 root root 1090 Jul 3 23:14 disk_hdd -rw-r--r-- 1 root root 24411 Nov 4 01:38 imx-log drwxr-xr-x 2 root root 4096 Jul 3 23:46 internet-test/ -rw-r--r-- 1 root root 1824 Jul 4 02:21 macro_inst_cont.ycp -rw-r--r-- 1 root root 9157 Jul 3 23:14 macro_inst_initial.ycp -rw-r--r-- 1 root root 3670 Nov 2 19:38 volume_info -rw-r--r-- 1 root root 3677 Sep 24 14:53 volume_info-1 -rw-r--r-- 1 root root 3674 Sep 19 19:22 volume_info-2 -rw-r--r-- 1 root root 1982 Jul 3 23:14 volume_info-3 -rw-r--r-- 1 root root 2921773 Dec 2 12:11 y2log -rw-r--r-- 1 root root 10485834 Dec 2 04:08 y2log-1 -rw-r--r-- 1 root root 10485892 Nov 22 21:30 y2log-2 -rw-r--r-- 1 root root 10485770 Nov 14 03:55 y2log-3 -rw-r--r-- 1 root root 10485812 Nov 4 01:07 y2log-4 -rw-r--r-- 1 root root 10485885 Oct 27 21:14 y2log-5 -rw-r--r-- 1 root root 10485865 Oct 21 02:18 y2log-6 -rw-r--r-- 1 root root 10485763 Oct 18 21:22 y2log-7 -rw-r--r-- 1 root root 10485763 Oct 15 00:44 y2log-8 -rw-r--r-- 1 root root 10485804 Oct 11 23:41 y2log-9 -rw-r--r-- 1 root root 606 Mar 10 2005 y2log-perl -rw-r--r-- 1 root root 5246647 Dec 2 04:42 y2log.SuSEconfig -rw-r--r-- 1 root root 0 Jul 3 23:14 y2logMount -rw-r--r-- 1 root root 1411237 Nov 9 12:43 y2logRPM -rw------- 1 root root 556 Jul 3 23:14 y2log_bootloader -rw------- 1 root root 436 Nov 5 2005 y2log_tool_grub -rw-r--r-- 1 root root 437 Jun 26 2004 y2loggrub -rw-r--r-- 1 root root 580 Nov 7 2002 y2logmk_initrd -rw-r--r-- 1 root root 3299 Jul 3 23:14 y2logmkinitrd -rw-r--r-- 1 root root 7793 Jul 4 02:21 y2start.log -rw-r--r-- 1 root root 338 Jun 26 2004 y2start.log-initial nimrodel:/var/log/YaST2 # -- 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=225631 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jsuchome@novell.com |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=225631 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |robin.listas@telefonica.net ------- Comment #2 from jsuchome@novell.com 2006-12-04 06:28 MST ------- Attach at least the last y2log file with the attempt of update (probably y2log + y2log-1). -- 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=225631 robin.listas@telefonica.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED ------- Comment #3 from robin.listas@telefonica.net 2006-12-04 07:54 MST ------- Created an attachment (id=108137) --> (https://bugzilla.novell.com/attachment.cgi?id=108137&action=view) requested files y2log and y2log1 Search for string "Mesa-6.4.2-19.12.i586.rpm" to locate the proximity of the problem (my rpm command crashes trying to install that rpm, as reported separately). -- 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=225631 ------- Comment #4 from jsuchome@novell.com 2006-12-04 08:15 MST ------- Created an attachment (id=108141) --> (https://bugzilla.novell.com/attachment.cgi?id=108141&action=view) patch for /usr/share/YaST2/clients/online_update_install.ycp Are you able to test online update again with this patch? -- 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=225631 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |robin.listas@telefonica.net ------- Comment #5 from jsuchome@novell.com 2006-12-04 08:16 MST ------- The patch only adds some logging it is not intended to fix anything. -- 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=225631 robin.listas@telefonica.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC|robin.listas@telefonica.net | Status|NEEDINFO |ASSIGNED Info Provider|robin.listas@telefonica.net | ------- Comment #6 from robin.listas@telefonica.net 2006-12-04 13:46 MST ------- Please explain how have I to apply that patch. Do you mean I should replace my local "/usr/share/YaST2/clients/online_update_install.ycp" with the patch? -- 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=225631 ------- Comment #7 from robin.listas@telefonica.net 2006-12-04 18:32 MST ------- Created an attachment (id=108251) --> (https://bugzilla.novell.com/attachment.cgi?id=108251&action=view) log of YOU run after applying sugested patch I figured out how to apply that patch. I run YOU, claimed sucess, but I still have Mesa-6.4.2-19.7 - as expected. I attach the y2log, which I assume it is the one you need, as it is the only one dated now (y2log.SuSEconfig I supose you don't need). HTH. -- 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=225631 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |robin.listas@telefonica.net ------- Comment #8 from jsuchome@novell.com 2006-12-05 00:02 MST ------- Oh, but rpm didn't crash this time, did it? I was curious if you are able to reproduce the same behaviour. If it is not possible, never mind, but it can help. -- 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=225631 robin.listas@telefonica.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|robin.listas@telefonica.net | ------- Comment #9 from robin.listas@telefonica.net 2006-12-05 04:08 MST ------- As far as I know, yes, it crashed. The thing is, yast doesn't complain. As far as Yast (I mean YOU) is concerned, the package was installed; but the next time I run YOU it wants to install the same package again. Then I check manually, with rpm, and that's right, it wasn't installed. I try to install that package with rpm and it is then that I see that rpm is segfaulting when trying to install that package (this segfaulting of rpm was reported as bugzilla 225630, and was marked as wontfix yesterday). What is YOU getting, I don't know. I only see the end result. The attachement #3 is the log of a YOU session with your patch applied that failed to install the package, presumably because the underlying rpm command failed. The problem here is that Yast doesn't notice that failure. HTH -- 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=225631 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |lslezak@novell.com Status|ASSIGNED |NEW ------- Comment #10 from jsuchome@novell.com 2006-12-05 04:26 MST ------- Ladislav, looks like I didn't get the correct return value from PkgCommit. -- 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=225631 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@novell.com, dmacvicar@novell.com AssignedTo|lslezak@novell.com |ma@novell.com Component|YaST2 |libzypp ------- Comment #11 from lslezak@novell.com 2006-12-06 01:56 MST ------- It seems that zypp reports the failed update in 'remaining' list: 2006-11-23 23:45:29 <1> nimrodel(27639) [target] TargetImpl.cc(commit):177 toInstall: 2006-11-23 23:45:29 <1> nimrodel(27639) [target] TargetImpl.cc(commit):177 ResObjects: 23 .. 2006-11-24 01:20:06 <1> nimrodel(27639) [zypp_detail] ZYppImpl.cc(commit):245 Commit (CommitPolicy( )) returned: CommitResult 22 (errors 0, remaining 1, srcremaining 0) Michael, why is the failed update reported as 'remaining'? Jiri, I think you should check the remaining packages as well... -- 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=225631 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #15 from ma@novell.com 2007-01-26 05:33 MST ------- IMO the original issue is solved. But similar to #188556, a more detailed commit result is desired. *** This bug has been marked as a duplicate of bug 188556 *** -- 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=225631 ------- Comment #16 from robin.listas@telefonica.net 2007-02-11 10:37 MST ------- Please notice that the above mentioned bug 188556 is restricted, and that I can not see it (I am the original reporter of this bug). IMO, you should not mark Open Source Bugs as duplicated of Closed Source Bugs. Please find another method to handle these situations. Anyway, as I solved the rpm database corruption, I can no longer verify if yast still ignores or not crashes in rpm. -- 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.
participants (1)
-
bugzilla_noreply@novell.com