Package: needrestart
Version: 3.5-5
Severity: normal

Dear Maintainer,

When I performed an update with KDE Discover, I noticed it stalled at
99% complete status and would not finish. When I checked the process
tree with htop, I noticed the following lines from packagekitd and
needrestart:

   2629 root       20   0  492M  124M 79624 S  0.0  0.8  0:29.20 ├─ 
/usr/libexec/packagekitd
   2632 root       20   0  492M  124M 79624 S  0.0  0.8  0:00.00 │  ├─ 
/usr/libexec/packagekitd
   2634 root       20   0  492M  124M 79624 S  0.0  0.8  0:00.05 │  ├─ 
/usr/libexec/packagekitd
  14075 root       20   0  492M  124M 79624 S  0.0  0.8  0:05.78 │  ├─ 
/usr/libexec/packagekitd
  14090 root       20   0  494M 99648 50800 S  0.0  0.6  0:00.24 │  └─ 
/usr/libexec/packagekitd
  25864 root       20   0  494M 51924  2336 S  0.0  0.3  0:00.00 │     └─ 
/usr/libexec/packagekitd
  25872 root       20   0  2472   704   616 S  0.0  0.0  0:00.00 │        └─ sh 
-c test -x /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke 
|| true
  25873 root       20   0 35864 27816  6140 S  0.0  0.2  0:00.64 │           └─ 
/usr/bin/perl /usr/sbin/needrestart

It appears that packagekit is still running needrestart to ask if I
want to restart systemd services. However, this prompt is obviously not
visible to me through KDE Discover, so it's stuck waiting forever.

If I use kill on needrestart, the Discover session completes.

Since, this is an interaction between Discover, packagekit, apt and
needrestart (possibly others?), I'm not 100% sure this is the right
place for it. Feel free to reassign if I got it wrong.

Ryan

-- Package-specific info:
needrestart output:
Your outdated processes:
akonadi_archive[3076], akonadi_mailfil[3102], akonadi_sendlat[3116], 
akonadi_unified[3117], blueman-applet[2663], Discord[2921, 2924, 2967, 2922, 
2958, 2917, 3276, 3044], DiscoverNotifie[2571], evolution-addre[2767], 
evolution-alarm[2660], evolution-calen[2742], evolution-sourc[2698], 
goa-daemon[2704], kmail[2936], kwin_x11[2488], nextcloud[2656], 
plasmashell[2554], QtWebEngineProc[6196, 6215, 6194, 6193], 
tracker-miner-f[2674], xdg-desktop-por[2375], xdg-document-po[2392], 
xdg-permission-[2397]



-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii  binutils                   2.37-7
ii  dpkg                       1.21.1
ii  gettext-base               0.21-4
ii  libintl-perl               1.26-3
ii  libmodule-find-perl        0.15-1
ii  libmodule-scandeps-perl    1.31-1
ii  libproc-processtable-perl  0.634-1
ii  libsort-naturally-perl     1.03-2
ii  libterm-readkey-perl       2.38-1+b2
ii  perl                       5.32.1-6
ii  xz-utils                   5.2.5-2

Versions of packages needrestart recommends:
ii  libpam-systemd  249.7-1

Versions of packages needrestart suggests:
ii  iucode-tool    2.3.1-1
ii  libnotify-bin  0.7.9-3

-- no debconf information

Reply via email to