Bug 1267321 - rh-postgresql94-postgresql.service fails to start on RHEL7
rh-postgresql94-postgresql.service fails to start on RHEL7
Status: CLOSED NOTABUG
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-postgresql94 (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: alpha
: 2.1
Assigned To: Databases Maintanance List
BaseOS QE - Apps
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-29 11:52 EDT by Matthew Gyurgyik
Modified: 2015-09-29 13:01 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-29 13:01:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew Gyurgyik 2015-09-29 11:52:20 EDT
Description of problem:

systemctl start rh-postgresql94-postgresql.service fails on RHEL7


Version-Release number of selected component (if applicable):

rh-postgresql94-postgresql-9.4.4-1.el7.x86_64
redhat-release-server-7.1-1.el7.x86_64

How reproducible: Always


Actual results:
# systemctl start rh-postgresql94-postgresql.service
Failed to issue method call: Unit rh-postgresql94-postgresql.service failed to load: Invalid argument. See system logs and 'systemctl status rh-postgresql94-postgresql.service' for details.

# systemctl status rh-postgresql94-postgresql.service
rh-postgresql94-postgresql.service
   Loaded: error (Reason: Invalid argument)
   Active: inactive (dead)

Sep 29 11:15:52 puppetdb2.testbed.ccs.ornl.gov systemd[1]: rh-postgresql94-postgresql.service lacks ExecStart setting. Refusing.
Sep 29 11:16:47 puppetdb2.testbed.ccs.ornl.gov systemd[1]: rh-postgresql94-postgresql.service lacks ExecStart setting. Refusing.

# systemctl show rh-postgresql94-postgresql.service
Id=rh-postgresql94-postgresql.service
Names=rh-postgresql94-postgresql.service
Requires=basic.target
Conflicts=shutdown.target
Before=shutdown.target
After=systemd-journald.socket basic.target
Description=rh-postgresql94-postgresql.service
LoadState=error
ActiveState=inactive
SubState=dead
FragmentPath=/etc/systemd/system/rh-postgresql94-postgresql.service
UnitFileState=static
InactiveExitTimestampMonotonic=0
ActiveEnterTimestampMonotonic=0
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestampMonotonic=0
ConditionResult=no
LoadError=org.freedesktop.DBus.Error.InvalidArgs "Invalid argument"
Transient=no
Slice=system.slice
Type=simple
Restart=no
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
WatchdogUSec=0
WatchdogTimestampMonotonic=0
StartLimitInterval=10000000
StartLimitBurst=5
StartLimitAction=none
PermissionsStartOnly=no



Expected results:
$ systemctl start rh-postgresql94-postgresql
$

Additional info:

Patch:
--- /etc/systemd/system/rh-postgresql94-postgresql.service	2015-09-29 11:35:18.949217591 -0400
+++ /tmp/rh-postgresql94-postgresql.service.broken	2015-09-29 11:34:50.679971159 -0400
@@ -1,4 +1,4 @@
-.include /usr/lib/systemd/system/rh-postgresql94-postgresql.service
+.include /lib/systemd/system/postgresql-9.4.service
 [Service]
 Environment=PGPORT=5432
 Environment=PGDATA=/var/opt/rh/rh-postgresql94/lib/pgsql/data
Comment 1 Matthew Gyurgyik 2015-09-29 12:49:08 EDT
Foo bared the patch

$ diff -rNup /tmp/rh-postgresql94-postgresql.service.broken /etc/systemd/system/rh-postgresql94-postgresql.service
--- /tmp/rh-postgresql94-postgresql.service.broken	2015-09-29 11:34:50.679971159 -0400
+++ /etc/systemd/system/rh-postgresql94-postgresql.service	2015-09-29 12:48:26.774247290 -0400
@@ -1,4 +1,4 @@
-.include /lib/systemd/system/postgresql-9.4.service
+.include /lib/systemd/system/rh-postgresql94-postgresql.service
 [Service]
 Environment=PGPORT=5432
 Environment=PGDATA=/var/opt/rh/rh-postgresql94/lib/pgsql/data
Comment 2 Matthew Gyurgyik 2015-09-29 13:01:12 EDT
Sorry for the noise. This appears to have been caused due to an overbearing puppet module.

Note You need to log in before you can comment on or make changes to this bug.