Package: needrestart
Version: 3.6-4
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
        enabled verbose on needrestart config because it fails to update my amd 
cpu microcode
        launched apt-get full-upgrade
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     I've googled it
   * What was the outcome of this action?
     haven't found a suitable solution
   * What outcome did you expect instead?
     I want the error to disappear and my AMD Ryzen 9 5000 series microcode 
updated
*** End of the template - remove these template lines ***


-- Package-specific info:
needrestart output:
Your outdated processes:
anydesk[9035, 9184], at-spi2-registr[8898], blueman-applet[9038], 
caffeine[9141], chrome[65551, 12366, 1396352, 1466342, 306806, 65504, 1888553, 
11865, 65740, 2174719, 12339, 1911276, 253802, 2103640, 565240, 1815117, 12270, 
65949, 1732883, 2080383, 1813307, 12431, 9368, 11888, 1015838, 359719, 12354, 
1109630, 65876, 1857064, 9146, 65810, 9375, 12448, 12384, 1971982, 2205581, 
65884, 65826, 9428, 1706635, 1892074, 65620, 1815143, 2205589, 1708387, 65773, 
65762, 12410, 65511, 65838, 11862, 2022616, 1629560, 65517, 2092060, 2105595, 
797176, 65818, 1396375], dbus-daemon[8305, 8690], evolution-alarm[9020], 
evolution-sourc[8814], filezilla[9171], gedit[9033], gjs[9000, 8839, 13277], 
gnome-session-b[8712, 8556], gnome-shell[8731], goa-daemon[8396], 
gsd-color[8912], gsd-keyboard[8920], gsd-media-keys[8923], gsd-power[8926], 
gsd-print-notif[8931], gsd-printer[9051], gsd-sound[8949], gsd-wacom[8952], 
gsd-xsettings[8960], gvfsd-dnssd[11790], ibus-extension-[9008], ibus-x11[9010], 
jetbrains-toolb[9011], kalendarac[9148], kdeconnectd[9005], obexd[11918], 
parcellite[9162], pipewire[8294, 8293], pipewire-pulse[8299], thnuclnt[33964, 
33959, 33961, 33981, 33962], tilix[9024], vmware[9068], vmware-tray[11936], 
wireplumber[8298], xdg-desktop-por[9307, 12994]

checkrestart output:


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (500, 'unstable-debug'), 
(500, 'testing-security'), (500, 'testing-debug'), (499, 'experimental'), (1, 
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-rc5 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii  binutils                   2.40.50.20230602-1
ii  dpkg                       1.21.22
ii  gettext-base               0.21-12
ii  libintl-perl               1.33-1
ii  libmodule-find-perl        0.16-2
ii  libmodule-scandeps-perl    1.31-2
ii  libproc-processtable-perl  0.634-1+b2
ii  libsort-naturally-perl     1.03-4
ii  libterm-readkey-perl       2.38-2+b1
ii  perl                       5.36.0-7
ii  xz-utils                   5.4.1-0.2

Versions of packages needrestart recommends:
ii  libimvirt-perl  0.9.6-11
ii  libpam-systemd  253-1
ii  systemd         253-1

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

-- Configuration Files:
/etc/needrestart/needrestart.conf changed:
$nrconf{verbosity} = 2;
$nrconf{blacklist} = [
    # ignore sudo (not a daemon)
    qr(^/usr/bin/sudo(\.dpkg-new)?$),
    # ignore DHCP clients
    qr(^/sbin/(dhclient|dhcpcd5|pump|udhcpc)(\.dpkg-new)?$),
    # ignore apt-get (Debian Bug#784237)
    qr(^/usr/bin/apt-get(\.dpkg-new)?$),
];
$nrconf{override_rc} = {
    # DBus
    qr(^dbus) => 0,
    # display managers
    qr(^gdm) => 0,
    qr(^kdm) => 0,
    qr(^nodm) => 0,
    qr(^sddm) => 0,
    qr(^wdm) => 0,
    qr(^xdm) => 0,
    qr(^lightdm) => 0,
    qr(^slim) => 0,
    qr(^lxdm) => 0,
    # networking stuff
    qr(^bird) => 0,
    qr(^network) => 0,
    qr(^NetworkManager) => 0,
    qr(^ModemManager) => 0,
    qr(^wpa_supplicant) => 0,
    qr(^openvpn) => 0,
    qr(^quagga) => 0,
    qr(^frr) => 0,
    qr(^tinc) => 0,
    qr(^(open|free|libre|strong)swan) => 0,
    qr(^bluetooth) => 0,
    # gettys
    qr(^getty@.+\.service) => 0,
    qr(^serial-getty@.+\.service) => 0,
    # systemd --user
    qr(^user@\d+\.service) => 0,
    # misc
    qr(^zfs-fuse) => 0,
    qr(^mythtv-backend) => 0,
    qr(^xendomains) => 0,
    qr(^lxcfs) => 0,
    qr(^libvirt) => 0,
    qr(^virtlogd) => 0,
    qr(^virtlockd) => 0,
    qr(^docker) => 0,
    # systemd stuff
    # (see also Debian Bug#784238 & #784437)
    qr(^emergency\.service$) => 0,
    qr(^rescue\.service$) => 0,
    qr(^elogind) => 0,
    # do not restart oneshot services, see also #862840
    qr(^apt-daily\.service$) => 0,
    qr(^apt-daily-upgrade\.service$) => 0,
    qr(^unattended-upgrades\.service$) => 0,
    # do not restart oneshot services from systemd-cron, see also #917073
    qr(^cron-.*\.service$) => 0,
    # ignore rc-local.service, see #852864
    qr(^rc-local\.service$) => 0,
    # don't restart systemd-logind, see #798097
    qr(^systemd-logind) => 0,
};
$nrconf{override_cont} = {
};
$nrconf{blacklist_interp} = [
    # ignore temporary files
    qr(^/tmp/),
    qr(^/var/),
    qr(^/run/),
];
$nrconf{blacklist_mappings} = [
    # special device paths
    qr(^/(SYSV00000000( \(deleted\))?|drm(\s|$)|dev/)),
    # ignore memfd mappings
    qr(^/memfd:),
    # aio(7) mapping
    qr(^/\[aio\]),
    # Oil Runtime Compiler's JIT files
    qr#/orcexec\.[\w\d]+( \(deleted\))?$#,
    # plasmashell (issue #65)
    qr(/#\d+( \(deleted\))?$),
    # Java Native Access (issues #142 #185)
    qr#/jna\d+\.tmp( \(deleted\))?$#,
    # temporary stuff
    qr#^(/var)?/tmp/#,
    qr#^(/var)?/run/#,
];
$nrconf{skip_mapfiles} = -1;
if(-d q(/etc/needrestart/conf.d)) {
      foreach my $fn (sort </etc/needrestart/conf.d/*.conf>) {
              print STDERR "$LOGPREF eval $fn\n" if($nrconf{verbosity} > 1);
              eval do { local(@ARGV, $/) = $fn; <>};
              die "Error parsing $fn: $@" if($@);
      }
}


-- no debconf information

Reply via email to