Hi Axel, sorry for the trouble with 0.8 :-(
On 04/29/2014 12:35 PM, Axel Beckert wrote: > # needrestart > Scanning processes............................................... > Scanning candidates.Use of uninitialized value in pattern match (m//) at > /usr/sbin/needrestart line 285, <HPIPE> line 1. > Use of uninitialized value in pattern match (m//) at /usr/sbin/needrestart > line 285, <HPIPE> line 1. this is very strange... it looks like the return of Proc::ProcessTable is broken - I could not reproduce it, yet. It looks like the /proc/<pid>/exe symlink is missing for some processes?! > Use of uninitialized value $verstr in scalar chomp at > /usr/share/perl5/NeedRestart/Kernel.pm line 64. > Use of uninitialized value $iversion in substitution (s///) at > /usr/share/perl5/NeedRestart/Kernel.pm line 66. > Use of uninitialized value $iversion in hash element at > /usr/share/perl5/NeedRestart/Kernel.pm line 68. > Pending kernel upgrade! > > Running kernel version: > 3.12-trunk-amd64 > > Diagnostics: > Running not the expected kernel version . > > You should consider to reboot this machine to activate the pending kernel > upgrade. You need to reboot MANUALLY! [Return] > > No services required to be restarted. > # > > Feel free to ask if you need more information like e.g. the list of > installed kernels or such. :-) - could you please run: cat /proc/version strings -n 30 /boot/vmlinuz-3.12-trunk-amd64 (assuming it's your running kernel image) The version string recorgnition witchcraft seems to fail to find the version string (and additional fails to handle this gracefully). I'd already the fear that my approach will fail on some systems. > BTW, you bug script doesn't capture STDERR (i.e. does not redirect it to > STDOUT), but should. Here's what it did output on STDERR which is way > more interesting than the STDOUT part above. ;-) /me looks at Patrick :-] Thanks for your report & assistance. HTH Thomas > Use of uninitialized value $verstr in split at > /usr/share/perl5/NeedRestart/Kernel.pm line 69. > Expected kernel version: > Can't open -v: No such file or directory at > /usr/share/perl5/NeedRestart/UI/stdio.pm line 68. > Can't open -r: No such file or directory at > /usr/share/perl5/NeedRestart/UI/stdio.pm line 68. > Can't open l: No such file or directory at > /usr/share/perl5/NeedRestart/UI/stdio.pm line 68. > ERROR: This program must be run as root in order to obtain information > about all open file descriptors in the system. > > Process debian-bug-script finished > > > > > > -- System Information: > Debian Release: jessie/sid > APT prefers unstable > APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, > 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.12-trunk-amd64 (SMP w/1 CPU core) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages needrestart depends on: > ii binutils 2.24.51.20140425-1 > ii libmodule-find-perl 0.12-1 > ii libmodule-scandeps-perl 1.13-1 > ii libproc-processtable-perl 0.50-1 > ii libsort-naturally-perl 1.02-1 > ii perl 5.18.2-2+b1 > > needrestart recommends no packages. > > needrestart suggests no packages. > > -- Configuration Files: > /etc/apt/apt.conf.d/99needrestart [Errno 2] No such file or directory: > u'/etc/apt/apt.conf.d/99needrestart' > /etc/needrestart/needrestart.conf changed: > $nrconf{ui} = 'NeedRestart::UI::stdio'; > $nrconf{blacklist} = [ > # ignore sudo (not a daemon) > q(^/usr/bin/sudo$), > # ignore DBus > q(^/usr/bin/dbus-daemon$), > # ignore NetworkManager > q(^/usr/sbin/NetworkManager$), > # ignore display managers > q(^/usr/sbin/gdm3$), > q(^/usr/bin/kdm$), > q(^/usr/sbin/ldm$), > q(^/usr/sbin/nodm$), > q(^/usr/bin/wdm$), > q(^/usr/bin/xdm$), > q(^/usr/sbin/lightdm$), > # Axel Spezial > q(^/usr/sbin/bitlbee$), > ]; > 1; > > > -- no debconf information > -- :: WWW: http://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: http://www.flickr.com/photos/laugufe/ :: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org