needrestart
needrestart copied to clipboard
Possible false positive when using lxc-attach
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?