[Bug 1417668] [NEW] update-rc.d fails to create start script in runlevel

Andy 1417668 at bugs.launchpad.net
Tue Feb 3 17:07:58 UTC 2015


Public bug reported:

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.

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


** Tags: open-iscsi update-rc.d

** Description changed:

- The "Default-Start:" line 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 "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.
+  System start/stop links for /etc/init.d/open-iscsi already exist.

-- 
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/1417668

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

Status in open-iscsi package in Ubuntu:
  New

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.

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



More information about the foundations-bugs mailing list