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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development