[Bug 1205452] New: Running zypper dup -l in Leap 15.5 freezes GUI
https://bugzilla.suse.com/show_bug.cgi?id=1205452 Bug ID: 1205452 Summary: Running zypper dup -l in Leap 15.5 freezes GUI Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.5 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: non.space.1@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Further issues with Leap 15.5 yesterday morning . . . running 184 packages via console app . . . GUI "froze" so that I couldn't use the browser while the upgrades were running, and that process was also very slow. Mouse was operational. I was about to cancel out of the upgrade, when the last 10 or 15 packages went through. Followed by another long episode with "grub2" before the cursor returned. But, I couldn't get the Terminal app to "come up" to run further commands, so I logged into TTY1 . . . . In the TTY I ran "sudo update-bootloader" . . . also very slow and then shutdown. On cold boot Leap is first up in grub and several minutes went by with the black "Leap" screen and the spiral "activity" wheel . . . did not get to log in screen. I shut it down again. Second cold boot everything went quickly and now back in Leap GUI to type this out . . . . Not sure if this is the "aging cpu" that is intermittently causing a slow down . . . or something in the Leap upgrade that was messing around with the GUI. There was a new kernel listed in the packages . . . . For a rough comparison, today, booted in Deb Sid there were 190 packages to upgrade . . . machine handled them quickly and I was able to use the GUI and check browser while the upgrades were going on . . . . -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c1
--- Comment #1 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c2
--- Comment #2 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
Chenzi Cao
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c3
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c4
--- Comment #4 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c5
--- Comment #5 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c6
--- Comment #6 from Michael Andres
cd /tmp cat /var/log/zypper.log | gzip | split -b 10M --additional-suffix=-zypper.log.gz
The created pieces will be named like this:
xaa-zypper.log.gz xab-zypper.log.gz xac-zypper.log.gz ...
-- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c7
--- Comment #7 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c8
--- Comment #8 from Michael Andres
# ls -l /var/log/zypper.log -rw-r----- 1 root root <SIZE> <DATE> /var/log/zypper.log ^^^ (u)ser (AKA owner) permission ^^^ (g)roup permission ^^^ (o)thers permission
Per default the logfile has 'rw' permission for user 'root' (only 'r'ead permission for group 'root') and no permission for other users. If you are logged in as an 'ordinary' user your browser may indeed not be allowed to read the file. If you can 'cat' the file, then this shell is running as user 'root'. You can check this by using the 'id' command:
# id uid=0(root) gid=0(root) groups=0(root)
As user 'root' you are the owner of the file and you can grant read access to other users by using 'chmod' (adding (+r)ead permission for (o)thers):
# chmod o+r /var/log/zypper.log
Check it wit 'ls'; the additional 'r' indicates read access for other users:
# ls -l /var/log/zypper.log -rw-r--r-- 1 root root <SIZE> <DATE> /var/log/zypper.log
Now you should be able to access the file from within your browser. (After some while the system may reset the permission to it's default. If you want to do this manually after you uploaded the file: 'chmod o-r /var/log/zypper.log') -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c9
Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c10
--- Comment #10 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c11
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c12
--- Comment #12 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c13
Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c14
Michael Andres
[CODE]# zypper log -l LOOGFILE
Sorry, LOOGFILE was meant to be a placeholder for the real filename:
# zypper log -l zypper.log-20221121 |prefix ================================================================= Collect from zypper.log-20221121 ...
TIME PID VER CMD 2022-10-21 17:11 2176 1.14.57 zypper ref 2022-10-21 17:12 2308 1.14.57 zypper dup -l 2022-10-21 17:32 15584 1.14.57 zypper dup -l 2022-10-24 07:44 6397 1.14.57 sudo zypper ref 2022-10-24 07:44 6428 1.14.57 sudo zypper dup -l 2022-10-30 17:39 2874 1.14.57 zypper ref 2022-10-30 17:40 3106 1.14.57 zypper dup -l 2022-10-30 17:52 10281 1.14.55 zypper ref 2022-10-30 18:04 22102 1.14.55 zypper ref 2022-10-30 18:04 22132 1.14.55 zypper dup -l 2022-10-30 18:14 20743 1.14.55 zypper clean --all 2022-10-30 18:15 20786 1.14.55 zypper ref 2022-10-30 18:17 737 1.14.55 /usr/bin/zypper -n purge-kernels 2022-11-07 07:58 8738 1.14.55 zypper ref 2022-11-07 07:58 8768 1.14.55 zypper dup -l 2022-11-14 07:53 6526 1.14.55 sudo zypper ref 2022-11-14 07:53 6558 1.14.55 sudo zypper dup -l 2022-11-14 08:51 740 1.14.57 /usr/bin/zypper -n purge-kernels
-- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c15
--- Comment #15 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c16
Michael Andres
2022-11-14 07:53 6558 1.14.55 sudo zypper dup -l
2022-11-14 07:53:54 - zypper start 2022-11-14 07:55:14 - install start 2022-11-14 08:18:17 - install end So we have less than 2 min. for solving and downloading 184 packages. 23 min. for installing the packages, BUT only 2 actions took long: - 9 min for installing kernel-default-5.14.21-150500.34.1.x86_64 - 8 min for %posttrans of grub2-i386-pc-2.06-150500.15.1.noarch The remaining 182 packages took 6 min. That's not too bad. Whether kernel-default/grub2-i386-pc were responsible for the slow UI is something I cant tell. Both tasks are known to consume memory and CPU power, but this should not persist until reboot. The log at least contains no hint to a problem the installer had recognized. An by now We did not receive any similar reports. The log lets me assume that you are using xfce? If that's right we can move the bug to the xfce maintainers. Maybe they have some more ideas on how to check the reason for the slow UI. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c17
--- Comment #17 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c18
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c19
--- Comment #19 from Fritz Hudnut
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c20
Maurizio Galli
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c21
Stefan Seyfried
https://bugzilla.suse.com/show_bug.cgi?id=1205452
https://bugzilla.suse.com/show_bug.cgi?id=1205452#c22
--- Comment #22 from Fritz Hudnut
Things I have seen in the past: Updates of font packages cause the X server to basically stall for quite some time, especially (this is a guess) on older/slower CPUs and graphics adapters.
This lead to display "hangs" of about a minute without content updates, don't remember if the mouse pointer still moved. A text console login showed, that the xorg processes were consuming lots of CPU. AFAIR the update process continued in the background, it was just no progress visible on the desktop.
So especially if this is an "older" machine where this happens, just waiting longer for it to finish would be my first option. In order to debug this, I would have a ready-logged-in text console handy and in case the GUI hangs would check if the last installed packages (should be visible in journal or with "rpm -qa --last|head" are font packages indeed.
I'm not sure who is "to blame" for this issue, if it is the X server dynamically reloading the changed fonts or the graphics toolkits, but that's a secondary question, once you find out it is actually the same problem I was seeing.
@maurizio: OK, well, this is Leap 15.5 XFCE, whether the XFCE is relevant or not is another story . . . . I have several rolling tumbleweed based systems and no issues there on the same machine . . . . '12 cMP i7 4core @stefan s: Yes, in the long history of using XFCE, back to approx '07 or earlier, there has been issues of GUI "freezing" . . . in PPC based systems, etc. This is longer than 1 minute AND can not get to a TTY from with the freeze . . . . -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com