Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#828103: needrestart: false positive: pulseaudio: orcexec files in /run

85 views
Skip to first unread message

Paul Wise

unread,
Jun 25, 2016, 1:40:03 AM6/25/16
to
Package: needrestart
Version: 2.8-1
Severity: normal

There is a false positive with pulseaudio and files in /run:

needrestart output:
# needrestart -v
...
[main] #1976 uses deleted /run/user/1000/orcexec.nXwDNz
[main] #1976 is not a child
...
[main] #1976 exe => /usr/bin/pulseaudio
[main] #1976 part of user session: uid=1000 sess=2
...
User sessions running outdated binaries:
 pabs @ session #2: pulseaudio[1976]
...

checkrestart output:
# checkrestart -v
Found 0 processes using old versions of upgraded files

lsof output:
# lsof -p 1976 | grep -i del
pulseaudi 1976 pabs  DEL       REG               0,41             28098 /run/user/1000/orcexec.nXwDNz

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages needrestart depends on:
ii  dpkg                       1.18.7
ii  gettext-base               0.19.8.1-1
ii  libintl-perl               1.24-1
ii  libmodule-find-perl        0.13-1
ii  libmodule-scandeps-perl    1.21-1
ii  libproc-processtable-perl  0.53-1+b1
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.33-1+b1
ii  perl                       5.22.2-1
ii  xz-utils                   5.1.1alpha+20120614-2.1

needrestart recommends no packages.

Versions of packages needrestart suggests:
ii  libnotify-bin        0.7.6-2
ii  needrestart-session  0.3-2

-- no debconf information

--

bye,
pabs

https://wiki.debian.org/PaulWise

signature.asc

Thomas Liske

unread,
Aug 6, 2016, 6:30:02 PM8/6/16
to
tags 828103 upstream fixed-upstream
thanks


Hi Paul,

On Sat, Jun 25, 2016 at 07:36:22AM +0200, Paul Wise wrote:
> There is a false positive with pulseaudio and files in /run:
>
> needrestart output:
> # needrestart -v
> ...
> [main] #1976 uses deleted /run/user/1000/orcexec.nXwDNz

although there was already a detection of Oil Runtime Compiler's JIT
files it did not work for deleted files (due to the suffix '
(deleted)' in /proc/$$/maps). I've extended the regex accordingly.


Thanks & HTH,
Thomas

--

:: WWW: https://fiasko-nw.net/~thomas/ ::
::: Jabber: xmpp:tho...@jabber.fiasko-nw.net :::
:: flickr: https://www.flickr.com/photos/laugufe/ ::

Paul Wise

unread,
Aug 7, 2016, 3:10:03 AM8/7/16
to
On Sun, 2016-08-07 at 00:18 +0200, Thomas Liske wrote:

> although there was already a detection of Oil Runtime Compiler's JIT
> files it did not work for deleted files (due to the suffix '
> (deleted)' in /proc/$$/maps). I've extended the regex accordingly.

I wonder if just ignoring all of /run would be a good idea.
signature.asc
0 new messages