Description of problem: katello-service do not handle PostgreSQL service Version-Release number of selected component (if applicable): Satellite-6.1.0-RHEL-6-20150220.0-Satellite-x86_64 How reproducible: always Steps to Reproduce: 1. # katello-service stop 2. # service postgresql status Actual results: PostgreSQL is still running Expected results: PostgreSQL should be stopped by `katello-service stop`
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Created redmine issue http://projects.theforeman.org/issues/11648 from this bug
katello-packing PR: https://github.com/Katello/katello-packaging/pull/76
Upstream bug component is Content Management
Moving to POST since upstream bug http://projects.theforeman.org/issues/11648 has been closed
Verified in upstream. katello-service now includes postgres. [root@qe-blade-12 ~]# katello-service stop Redirecting to /bin/systemctl stop mongod.service Redirecting to /bin/systemctl stop postgresql.service Redirecting to /bin/systemctl stop qpidd.service Redirecting to /bin/systemctl stop qdrouterd.service Redirecting to /bin/systemctl stop tomcat.service Redirecting to /bin/systemctl stop foreman-proxy.service Redirecting to /bin/systemctl stop pulp_workers.service Redirecting to /bin/systemctl stop pulp_celerybeat.service Redirecting to /bin/systemctl stop pulp_resource_manager.service Stopping elasticsearch (via systemctl): [ OK ] Redirecting to /bin/systemctl stop httpd.service Redirecting to /bin/systemctl stop foreman-tasks.service Success! [root@qe-blade-12 ~]# service postgresql status Redirecting to /bin/systemctl status postgresql.service postgresql.service - PostgreSQL database server Loaded: loaded (/etc/systemd/system/postgresql.service; enabled) Active: inactive (dead) since Tue 2015-11-10 16:30:27 EST; 57s ago Process: 7974 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast (code=exited, status=0/SUCCESS) Process: 25059 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=0/SUCCESS) Process: 25051 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS) Main PID: 25066 (code=exited, status=0/SUCCESS) CGroup: /system.slice/postgresql.service Nov 09 10:55:10 qe-blade-12.idmqe.lab.eng.bos.redhat.com systemd[1]: Started PostgreSQL database server. Nov 10 16:30:26 qe-blade-12.idmqe.lab.eng.bos.redhat.com systemd[1]: Stopping PostgreSQL database server... Nov 10 16:30:27 qe-blade-12.idmqe.lab.eng.bos.redhat.com systemd[1]: Stopped PostgreSQL database server.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501