Bigtop
  1. Bigtop
  2. BIGTOP-416

run levels for init.d scripts need to be harmonized

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: general
    • Labels:
      None

      Description

      We have a mixture of different run levels specified for our init.d scripts. What complicates the situation is that Debian/Ubuntu don't distinguish between run levels of 2-5 at all, while all RPM-based distros seem to treat run-level 2 as a networkless one. Strictly speaking we should disable all Bigtop services when network is disabled.

      The proposal here is to set these valued in the template (init.d.tmpl) based on the type of the distro where the build is executed.

      1. BIGTOP-416.patch.txt
        7 kB
        Roman Shaposhnik

        Activity

        Roman Shaposhnik created issue -
        Roman Shaposhnik made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12654599 ] patch-available, re-open possible [ 12666107 ]
        Roman Shaposhnik made changes -
        Attachment BIGTOP-416.patch.txt [ 12528753 ]
        Roman Shaposhnik made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Bruno Mahé added a comment -

        Nitpick: In the spec file, I would have spread the command on multiple lines

        +1

        Show
        Bruno Mahé added a comment - Nitpick: In the spec file, I would have spread the command on multiple lines +1
        Hide
        Roman Shaposhnik added a comment -

        Thanks for the review. Makes perfect sense – updated the call as you suggested.

        Show
        Roman Shaposhnik added a comment - Thanks for the review. Makes perfect sense – updated the call as you suggested.
        Roman Shaposhnik made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        89d 21h 11m 1 Roman Shaposhnik 23/May/12 17:43
        Patch Available Patch Available Resolved Resolved
        9d 7h 1m 1 Roman Shaposhnik 02/Jun/12 00:44
        Resolved Resolved Closed Closed
        385d 10m 1 Roman Shaposhnik 22/Jun/13 00:55

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development