open-iscsi upgrade fails to stop iscsid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: open-iscsi
On an upgrade from open-iscsi=
Work around is to forcibly kill the iscsid processes before upgrade:
root@file01:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
aspell-en ispell ibritish cupsys-common aspell g++-4.2 qstat nagios-
libtiff4 libjpeg62 libcupsimage2 libcupsys2 iamerican libaspell15
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
open-iscsi
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/572kB of archives.
After this operation, 950kB of additional disk space will be used.
(Reading database ... 56874 files and directories currently installed.)
Preparing to replace open-iscsi 2.0.865-1ubuntu4 (using .../open-
* Disconnecting iSCSI targets [ OK ]
* Stopping iSCSI initiator service [ OK ]
Unpacking replacement open-iscsi ...
Processing triggers for man-db ...
Setting up open-iscsi (2.0.870.
Installing new version of config file /etc/init.
Installing new version of config file /etc/iscsi/
update-rc.d: /etc/init.d/remove: file does not exist
* Starting iSCSI initiator service iscsid [fail]
* Setting up iSCSI targets [ OK ]
invoke-rc.d: initscript open-iscsi, action "start" failed.
dpkg: error processing open-iscsi (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
open-iscsi
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@file01:
root@file01:
Reading package lists... Done
Building dependency tree
Reading state information... Done
open-iscsi is already the newest version.
The following packages were automatically installed and are no longer required:
aspell-en ispell ibritish cupsys-common aspell g++-4.2 qstat nagios-
libtiff4 libjpeg62 libcupsimage2 libcupsys2 iamerican libaspell15
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up open-iscsi (2.0.870.
update-rc.d: /etc/init.d/remove: file does not exist
* Starting iSCSI initiator service iscsid [ OK ]
ln: creating symbolic link `/lib/init/
* Setting up iSCSI targets [ OK ]
# uname -a
Linux file01 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
# lsb_release -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
#306678 is a problem with the update-rc.d line triggered by an upgrade in the postinst script.
If this is a duplicate of anything, I think it's #181188, which resolves iscsid not stopping correctly. However the fix for this bug requires an upgrade and the upgrade path is not clean due to what I've reported in this bug.