update-rc.d fails to create start script in runlevel

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

Bug Description

The "Default-Start:" line in the start script "/etc/init.d/open-iscsi" is incorrect on Ubuntu 12.04 LTS. It's set to "S" and needs to be changed to the line below :
  # Default-Start: 2 3 4 5

The current version will fail to create the Starts scripts for the runlevels 2,3,4 and 5. It does create the STOP scripts correctly.

# head /etc/init.d/open-iscsi
#! /bin/sh
### BEGIN INIT INFO
# Provides: iscsi
# Required-Start: $local_fs
# Required-Stop: $remote_fs sendsigs networking
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Starts and stops the iSCSI initiator services and logs in to default targets
### END INIT INFO

# update-rc.d open-iscsi defaults
update-rc.d: warning: open-iscsi start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S)
update-rc.d: warning: open-iscsi stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)
 System start/stop links for /etc/init.d/open-iscsi already exist.

Andy (biohazd)
description: updated
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.