Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-345

Hue package init script for RedHat/CentOS does not set proper lock file under /var/lock/subsys on condrestart stage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3u2
    • Fix Version/s: CDH3u3
    • Component/s: Hue, Packaging
    • Labels:
    • Environment:
      RHEL 5/6 RPMs: hue-common-1.2.0.0+99-1.x86_64

      Description

      There is a syntax issue present in /etc/init.d/hue residing in the hue-common package:

      condrestart) 
       [ -f /var/lock/subsys/<service> ] && restart || : 
      ;; 
      

      Instead of using <service> should be replaced with the actual service, hue.

      The fix is fairly simple, attaching the patch.

        Attachments

          Activity

            People

            • Assignee:
              bruno Bruno Mahé
              Reporter:
              anthony Anthony Rojas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: