[Bug 1746871] Re: Postgresql service unit name wrongly cutted

2018-06-11 Thread Ubuntu Foundations Team Bug Bot
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

[Bug 1746871] Re: Postgresql service unit name wrongly cutted

2018-06-11 Thread Jérôme
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

[Bug 1746871] Re: Postgresql service unit name wrongly cutted

2018-04-10 Thread Launchpad Bug Tracker
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:

[Bug 1746871] Re: Postgresql service unit name wrongly cutted

2018-04-10 Thread Lienhart Woitok
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