liske / needrestart

Restart daemons after library updates.
GNU General Public License v2.0
446 stars 72 forks source link

After updating other packages needsrestart displays "User sessions running outdated binaries:" while needrestart-session displays none #204

Open mYnDstrEAm opened 3 years ago

mYnDstrEAm commented 3 years ago

After updating or installing other packages with apt-get install package or apt-get upgrade needsrestart displays e.g.:

Scanning processes...                                                                                                                                      
Scanning candidates...                                                                                                                                     
Scanning processor microcode...                                                                                                                            
Scanning linux images...                                                                                                                                   

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

User sessions running outdated binaries:
 username @ session #4: firefox-esr[PID], firejail[PID]

Usually it's firejail or pulseaudio, sometimes firefox-esr too.

However, I haven't recently upgraded these packages. I did a restart in between and only upgrade or installed other packages afterwards. There are no newer versions of these packages available in my configured repositories.

When I run needrestart-session it displays: None of your processes need to be restarted.

This seems like a bug with needsrestart. What may cause this (any way to get further details?)?
And how can I check which version of these packages are being used and verify that they actually are the latest versions?

liske commented 3 years ago

Could you please provide the output of needrestart -v?

estatistics commented 2 years ago

bullseye 11 with kubuntu

Mine:

User sessions running outdated binaries: elias @ user manager service: at-spi-bus-laun[2241], bash[779229], dbus-daemon[603967], dbus-launch[603966], gvfsd[78819], ksysguard[9140], lxterminal[779212], plasmashell[778731], systemd[1217], xdg-desktop-por[774677,774702,774709], xdg-document-po[774682], xdg-permission-[774687] elias@eliasc:/$ needrestart -v [main] eval /etc/needrestart/needrestart.conf [main] needrestart v3.5 [main] running in user mode [Core] Using UI 'NeedRestart::UI::stdio'... [main] systemd detected [main] #1217 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #1594 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #1595 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #1596 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #1599 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #1608 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2124 uses deleted /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 [main] #2241 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #2245 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2252 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2256 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2272 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #2283 uses deleted /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.10 [main] #2321 uses deleted /usr/lib/x86_64-linux-gnu/libtiff.so.5.6.0 [main] #2327 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #2332 uses deleted /usr/lib/x86_64-linux-gnu/libtiff.so.5.6.0 [main] #2348 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2355 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #2358 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #2381 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #2385 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2410 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2414 uses deleted /usr/lib/x86_64-linux-gnu/libtiff.so.5.6.0 [main] #2420 uses deleted /usr/lib/x86_64-linux-gnu/libtiff.so.5.6.0 [main] #2505 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #2536 uses deleted /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.11.5 [main] #2564 uses deleted /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.10 [main] #2580 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #2597 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #2678 uses deleted /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 [main] #2687 uses deleted /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.11.5 [main] #2698 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #2724 uses deleted /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 [main] #2789 uses deleted /usr/lib/x86_64-linux-gnu/libgnutls.so.30.29.1 [main] #9140 uses deleted /usr/lib/x86_64-linux-gnu/libtiff.so.5.6.0 [main] #51855 uses deleted /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.11.5 [main] #78819 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #78831 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #82008 uses deleted /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.10 [main] #236631 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #236636 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #236640 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #236646 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #330764 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #330902 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #685622 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #687956 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #777547 uses deleted /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 [main] #777789 uses deleted /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5 [main] #778731 uses deleted /memfd:JITCode:QtQml [main] #779212 uses deleted /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.10 [main] #779229 uses obsolete binary /usr/bin/bash [main] #779410 uses deleted /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.10 [main] #780062 uses obsolete binary /usr/bin/bash [main] #783668 uses deleted /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 [main] #792717 uses deleted /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.11.5 [main] #792781 uses deleted /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 [Core] #985954 is a NeedRestart::Interp::Perl [Perl] #985954: source=/usr/bin/shutter [main] #1089265 uses deleted /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 Your outdated processes: agent[2505], at-spi-bus-laun[2241], at-spi2-registr[2252], bash[779229, 780062], dbus-daemon[2245, 1608], dconf-service[330902], DiscoverNotifie[2420], evolution-addre[2789], evolution-alarm[2536], evolution-calen[2724], evolution-sourc[2678], file.so[777789, 1089265], flatpak-session[687956], gmenudbusmenupr[2410], gnome-software[792717], goa-daemon[2687], goa-identity-se[2698], gvfs-afc-volume[236631], gvfsd[78819], gvfsd-fuse[78831], gvfsd-metadata[330764], gvfsd-network[685622], gvfs-goa-volume[236640], gvfs-gphoto2-vo[236646], gvfs-mtp-volume[236636], kaccess[2381], kactivitymanage[2348], kdeconnectd[2414], kded5[2321], kdeinit5[777547], kglobalaccel5[2355], kio_httpcache[792781], kiod5[82008], krunner[51855], kscreen_backend[2597], ksmserver[2358], ksysguard[9140], kwin_x11[2332], lxterminal[779212], nss-tlsd[1594], pipewire[1595], pipewire-media-[1596], plasmashell[778731], qbittorrent[779410], startplasma-x11[2124], systemd[1217], tracker-miner-f[1599], wget[783668], xdg-desktop-por[2283, 2327, 2256], xdg-permission-[2272], xembedsniproxy[2385], xfce4-notifyd[2564], xfconfd[2580]