tags 750589 upstream
severity 750589 minor
thanks

Hi Cristian,

ist the system still available? If so could you please provide `needrestart -v`? If you were able to find the PID triggering the warnings could you please provide `ls -lha /proc/<pid>/exec` and the content of /proc/<pid>/cmdline?

I'm trying to understand why $path gets an undefined value at all.


Thanks for reporting,
Thomas


On 06/04/2014 09:53 PM, Cristian Ionescu-Idbohrn wrote:
Package: needrestart
Version: 0.9-1
Severity: normal

While upgrading these packages:

   binutils binutils-dev binutils-doc cups-filters cups-filters-core-drivers
   glances libcupsfilters1 libfontembed1 otp python-gdbm python-tk

I noticed this:

Scanning processes...
---------------------

..10%
..20%
..30%
..40%
..50%
..60%
..70%
Use of uninitialized value $path in scalar chomp at 
/usr/share/perl5/NeedRestart/Interp/Python.pm line 160.
Use of uninitialized value $path in substitution (s///) at 
/usr/share/perl5/NeedRestart/Interp/Python.pm line 161.
Use of uninitialized value $path in substitution (s///) at 
/usr/share/perl5/NeedRestart/Interp/Python.pm line 162.
Use of uninitialized value $path in split at 
/usr/share/perl5/NeedRestart/Interp/Python.pm line 163.
..80%
..90%
..100%

Looking at the /usr/share/perl5/NeedRestart/Interp/Python.pm source:

     159     # look for module source files
     160     chomp($path);
     161     $path =~ s/^\['//;
     162     $path =~ s/'\$//;
     163     my @path = split("', '", $path);

I see no test on $path prior to using it, so this looks like a bug to me.

-- Package-specific info:
needrestart output:
Scanning processes
Scanning candidates
Running kernel seems to be up-to-date.
No services required to be restarted.

checkrestart output:


-- System Information:
Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages needrestart depends on:
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.03-1
ii  perl                       5.18.2-4

needrestart recommends no packages.

needrestart suggests no packages.

-- no debconf information


Cheers,



--

    ::  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

Reply via email to