Bug 1470746 - rh-nginx112: unexpected initscpript action
rh-nginx112: unexpected initscpript action
Status: NEW
Product: Red Hat Software Collections
Classification: Red Hat
Component: nginx (Show other bugs)
rh-nginx112
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.2
Assigned To: Luboš Uhliarik
BaseOS QE - Apps
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-13 10:44 EDT by Ondřej Pták
Modified: 2018-02-28 08:31 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
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 Ondřej Pták 2017-07-13 10:44:44 EDT
Description of problem:
There is /usr/libexec/initscripts/legacy-actions/rh-nginx112-nginx/upgrade
in in rh-nginx112-nginx package.

According to doc, "upgrade" action is relevant for nginx:
http://nginx.org/en/docs/control.html#upgrade

I'n not sure if this is needed at all, because it's not called from rpm scriptlet and the only occurences I found in whole collections are: 
/opt/rh/rh-nginx112/deregister.d/50.rh-nginx112-nginx.content-remove:rm -f /usr/libexec/initscripts/legacy-actions/rh-nginx112-nginx/upgrade

/opt/rh/rh-nginx112/register.d/50.rh-nginx112-nginx.content-create:cp -n /opt/rh/rh-nginx112/register.content/usr/libexec/initscripts/legacy-actions/rh-nginx112-nginx/upgrade /usr/libexec/initscripts/legacy-actions/rh-nginx112-nginx/upgrade

Another complain is about "service" and initscripts:
rh-nginx112 is for RHEL-7 only, so there should be systemctl used instead of service.

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