needrestart icon indicating copy to clipboard operation
needrestart copied to clipboard

Possible false positive when using lxc-attach

Open flisk opened this issue 2 years ago • 0 comments

When I run needrestart on a system with a shell started via lxc-attach, a memfd is detected as an obsolete binary:

[main] #1615012 uses obsolete binary /memfd:lxc-attach
[main] #1615012 is a child of #1614739
[main] #1614739 exe => /usr/bin/bash
[main] #1614739 part of user session: uid=0 sess=260

I'm currently suppressing this like so:

push @{$nrconf{blacklist}}, qr(^/memfd:lxc-attach$);

Should this blacklist entry be part of the default config?

flisk avatar Oct 27 '23 11:10 flisk