Ubuntu 14.04 contains buggy init script for open-iscsi

Bug #1621085 reported by Dmitriy Stremkovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
open-iscsi (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.