[Bug 1621085] [NEW] Ubuntu 14.04 contains buggy init script for open-iscsi

Dmitriy Stremkovskiy dstremkouski at mirantis.com
Wed Sep 7 13:55:12 UTC 2016


Public bug reported:

Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

open-iscsi 2.0.873-3ubuntu9

/etc/init.d/open-iscsi contains
# Default-Start:     S

but should contain
# Default-Start:     2 3 5

Current script prevents open-iscsi to start at boot time on 2,3,5th runlevels
Expected: open-iscsi should be able to start on 2,3,5th runlevels

Workaround(fix) as root:
sed -i -re 's/^#[\ \t]*Default-Start:[\ \t]*S[\ \t]*$/# Default-Start:     2 3 5/' /etc/init.d/open-iscsi
update-rc.d -f open-iscsi remove
update-rc.d open-iscsi start 20 2 3 5 . stop 20 0 1 6 .
update-rc.d open-iscsi enable

** Affects: open-iscsi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1621085

Title:
  Ubuntu 14.04 contains  buggy init script for open-iscsi

Status in open-iscsi package in Ubuntu:
  New

Bug description:
  Distributor ID:	Ubuntu
  Description:	Ubuntu 14.04.5 LTS
  Release:	14.04
  Codename:	trusty

  open-iscsi 2.0.873-3ubuntu9

  /etc/init.d/open-iscsi contains
  # Default-Start:     S

  but should contain
  # Default-Start:     2 3 5

  Current script prevents open-iscsi to start at boot time on 2,3,5th runlevels
  Expected: open-iscsi should be able to start on 2,3,5th runlevels

  Workaround(fix) as root:
  sed -i -re 's/^#[\ \t]*Default-Start:[\ \t]*S[\ \t]*$/# Default-Start:     2 3 5/' /etc/init.d/open-iscsi
  update-rc.d -f open-iscsi remove
  update-rc.d open-iscsi start 20 2 3 5 . stop 20 0 1 6 .
  update-rc.d open-iscsi enable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1621085/+subscriptions



More information about the foundations-bugs mailing list