** Changed in: postgresql-common (Debian)
Status: Unknown => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862138
Title:
"systemctl stop postgresql" fails to stop postgresql
To ma
Currently ordering is only done by the per Cluster services listing
Before=postgresql.service
Further the generator adds symlinks in
/run/systemd/generator/postgresql.service.wants/.
That makes it work on startup in terms of ordering.
There is: /usr/share/doc/postgresql-common/README.systemd
So far to odd, but we have to remember that:
root@f:~# systemctl cat postgresql
# /lib/systemd/system/postgresql.service
# systemd service for managing all PostgreSQL clusters on the system. This
# service is actually a systemd target, but we are using a service since
# targets cannot be reloaded.
At the time stop finish it already counts as inactive which seems wrong.
While the processes still are up I got:
$ systemctl is-active postgresql
inactive
$ systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vend
Start by default seems synchronous, but stop isn't:
root@f:~# systemctl start postgresql; echo STARTED; ps auxw | grep ^postgre;
systemctl stop postgresql; echo STOPPED; ps auxw | grep ^postgre; sleep 5s;
echo LATER; ps auxw | grep ^postgre;STARTED
postgres 31731 0.0 0.0 216444 24764 ?S
bug 870379 to me seems not related, that was never stopping the
processes - while here we only have to wait a bit.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862138
Title:
"systemctl stop postgr
To be clear - the services are stopped eventually, the issue is about
`systemctl stop postgresql` coming back while still some processes are
up.
I can confirm that behavior and agree that it might break e.g.
automation that wants to do stop/change/start for changes known to break
with the service
maybe somewhat related to bug 870379 ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862138
Title:
"systemctl stop postgresql" fails to stop postgresql
To manage notifications about this bug go to