[opensuse] Tumbleweed - RPM install seems stuck
I'm updating a Tumbleweed system. There were lots of updates in this one. One of them seems stuck. It is installing btrfsmaintenance-0.4.2-3.1.noarch, and nothing has happened in at least a half an hour. I see these processes running: 00:00:03 /usr/bin/python3 /usr/lib/zypp/plugins/commit/btrfs-defrag-plugin.py 00:00:00 rpm --root / --dbpath /var/lib/rpm -U --percent --noglob --force --nodeps -- /var/cache/zypp/packages/repo-oss/noarch/btrfsmaintenance-0.4.2-3.1.noarch.rpm 00:00:00 /usr/bin/systemctl try-restart btrfsmaintenance-refresh.service btrfsmaintenance-refresh.path btrfs-balance.service btrfs-balance.timer btrfs-defrag.service btrfs-defrag.timer btrfs-scrub.service btrfs-scrub.timer btrfs-trim.service btrfs-trim.timer The times on these seem not to change. OOC, I thought I would see what /usr/lib/zypp/plugins/commit/btrfs-defrag-plugin.py is doing. I see that it is in a read that never seems to return: strace: Process 4567 attached read(0, I am guessing/hoping that file 0 is not stdin. If it is, then the design of that script is broken if it should be run by zypper where the user cannot provide anything to stdin. I am afraid to kill the script. I surely don't want to mess up the file system! -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Aug 12, 2019 at 1:25 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I am afraid to kill the script. I surely don't want to mess up the file system!
The status of the service that seems to have something running by the RPM says: ● btrfs-defrag.service - Defragment file data on a mounted filesystem Loaded: loaded (/usr/lib/systemd/system/btrfs-defrag.service; static; vendor preset: disabled) Active: inactive (dead) Docs: man:btrfs-filesystem I have never modified the btrfs installation. Whatever services were running or not running ate as they were installed. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Aug 12, 2019 at 1:32 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
On Mon, Aug 12, 2019 at 1:25 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I am afraid to kill the script. I surely don't want to mess up the file system!
The status of the service that seems to have something running by the RPM says:
● btrfs-defrag.service - Defragment file data on a mounted filesystem Loaded: loaded (/usr/lib/systemd/system/btrfs-defrag.service; static; vendor preset: disabled) Active: inactive (dead) Docs: man:btrfs-filesystem
I have never modified the btrfs installation. Whatever services were running or not running are as they were installed.
I found this: https://lists.opensuse.org/opensuse-factory/2019-05/msg00127.html So, I killed the systemctl process. Whatever the install wanted to do was not completed. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/08/2019 14.03, Roger Oberholtzer wrote:
On Mon, Aug 12, 2019 at 1:32 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
On Mon, Aug 12, 2019 at 1:25 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I am afraid to kill the script. I surely don't want to mess up the file system!
The status of the service that seems to have something running by the RPM says:
● btrfs-defrag.service - Defragment file data on a mounted filesystem Loaded: loaded (/usr/lib/systemd/system/btrfs-defrag.service; static; vendor preset: disabled) Active: inactive (dead) Docs: man:btrfs-filesystem
I have never modified the btrfs installation. Whatever services were running or not running are as they were installed.
I found this:
https://lists.opensuse.org/opensuse-factory/2019-05/msg00127.html
So, I killed the systemctl process. Whatever the install wanted to do was not completed.
Zypper should continue with the install if the correct process is killed. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Roger
On Aug 12, 2019, at 19:06, Carlos E. R. <robin.listas@telefonica.net> wrote:
Zypper should continue with the install if the correct process is killers.
I meant that whatever the failed RPM was doing wasn’t completed. I will try to reinstall it since it seems it’s a race condition that doesn’t always happen. The update did complete and the sys seems okay. — Roger -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/08/2019 13.25, Roger Oberholtzer wrote:
I'm updating a Tumbleweed system. There were lots of updates in this one. One of them seems stuck. It is installing btrfsmaintenance-0.4.2-3.1.noarch, and nothing has happened in at least a half an hour. I see these processes running:
00:00:03 /usr/bin/python3 /usr/lib/zypp/plugins/commit/btrfs-defrag-plugin.py
Known issue. Subject: [Bug 1096589] At start of "zypper dup" snapper.py and btrfs-defrag-plugin peg CPU at 100% for minutes when there are no btrfs partitions. <http://bugzilla.suse.com/show_bug.cgi?id=1096589>
I am afraid to kill the script. I surely don't want to mess up the file system!
Do you have btrfs? If not, kill or stop btrfs-defrag.service And add comment to the bugzilla. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
Carlos E.R.
-
Roger Oberholtzer