The attachment "needrestart-2.6-fix-erroneous-assignation-in-if-
statements.diff" seems to be a patch. If it isn't, please remove the
"patch" flag from the attachment, remove the "patch" tag, and if you are
a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message
I gave a quick look at the `/usr/sbin/needrestart` and the problem seems
to be with one (or two) erroneous `if()` statements that performs an
affectation to the `$value` instead of doing a regexp match test.
After applying the attached patch, the `postgresql@9.6-main.service`
service is correctly
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: needrestart (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1746871
Title:
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