This also affects other services containing a dot in the name, like php7.0-fpm.service, which gets truncated to "0-fpm.service" which obviously can't be found.
This has been fixed in needrestart 2.7, see https://github.com/liske/needrestart/pull/19.
As the fix seems trivial to me maybe this can be fixed in ubuntu Xenial version of needrestart, as I'm sure many people face this bug.
This also affects other services containing a dot in the name, like php7.0-fpm.service, which gets truncated to "0-fpm.service" which obviously can't be found.
This has been fixed in needrestart 2.7, see https:/ /github. com/liske/ needrestart/ pull/19.
As the fix seems trivial to me maybe this can be fixed in ubuntu Xenial version of needrestart, as I'm sure many people face this bug.