← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1596474] Re: openipmi adding to autoload fail

 

** Also affects: openipmi (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1596474

Title:
  openipmi adding to autoload fail

Status in openipmi package in Ubuntu:
  Triaged
Status in openipmi source package in Xenial:
  New
Status in openipmi package in Debian:
  Unknown

Bug description:
  [Impact]

   * Attempting to set the openipmi service to autostart (or any other
  systemd manipulation of that service) results in:

  /bin/systemctl enable openipmi
  openipmi.service is not a native service, redirecting to systemd-sysv-install
  Executing /lib/systemd/systemd-sysv-install enable openipmi
  update-rc.d: error: openipmi Default-Start contains no runlevels, aborting.

    * The fix specifies the common default values for Default-Start and
  Default-Stop in the init-script.

  [Test Case]

   * Install openipmi and execute `systemctl enable openipmi`. A
  successful execution indicates the issue has been fixed.

  [Regression Potential]

   * Currently, the init-script provides no Default-Start or Default-
  Stop value. I believe the chance for regression by adding these is
  very low, as they are expected to be specified by systemd (at least).

  
  I tried to add openipmi service to autostart and I've got following error:

  /bin/systemctl enable openipmi
  openipmi.service is not a native service, redirecting to systemd-sysv-install
  Executing /lib/systemd/systemd-sysv-install enable openipmi
  update-rc.d: error: openipmi Default-Start contains no runlevels, aborting.
  echo $?
  1

  update-rc.d openipmi enable
  update-rc.d: error: openipmi Default-Start contains no runlevels, aborting.

  grep Default-Start /etc/init.d/openipmi
  # Default-Start:

  lsb_release -rd
  Description:    Ubuntu 16.04 LTS
  Release:        16.04

  apt-cache policy openipmi
  openipmi:
    Installed: 2.0.18-0ubuntu11
    Candidate: 2.0.18-0ubuntu11
    Version table:
   *** 2.0.18-0ubuntu11 500
          500 mirror://<OUR CORPORATE UP-TO-DATE MIRROR>/ubuntu/lists/archive.ubuntu.com-list-<OUR CORPORATE ID> xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  Angle brackets and text inside changed manually while bug reporting.

  After changing /etc/init.d/openipmi line above to
  # Default-Start: 2 3 4 5
  problem was solved.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1596474/+subscriptions