Public bug reported:
Binary package hint: open-iscsi
On an upgrade from open-iscsi=2.0.865-1ubuntu4 to open-
iscsi=2.0.870.1-0ubuntu1, the postrm script for 2.0.865-1ubuntu4 stops
iscsid via the initscript, which fails to to all iscsid processes. When
apt then tries to run the postinstall script, the init script for open-
iscsi fails to start due to the existing process.
Work around is to forcibly kill the iscsid processes before upgrade:
[EMAIL PROTECTED]:/etc/init.d# apt-get install open-iscsi=2.0.870.1-0ubuntu1
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-plugins-extra libck-connector0 cups-common openssh-blacklist fping
libstdc++6-4.2-dev
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-iscsi_2.0.870.1-0ubuntu1_i386.deb) ...
* 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.1-0ubuntu1) ...
Installing new version of config file /etc/init.d/open-iscsi ...
Installing new version of config file /etc/iscsi/iscsid.conf ...
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)
[EMAIL PROTECTED]:/etc/init.d# killall -9 iscsid
[EMAIL PROTECTED]:/etc/init.d# apt-get install open-iscsi=2.0.870.1-0ubuntu1
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-plugins-extra libck-connector0 cups-common openssh-blacklist fping
libstdc++6-4.2-dev
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.1-0ubuntu1) ...
update-rc.d: /etc/init.d/remove: file does not exist
* Starting iSCSI initiator service iscsid
[ OK ]
ln: creating symbolic link `/lib/init/rw/sendsigs.omit.d/iscsid.pid': File
exists
* 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.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
** Affects: open-iscsi (Ubuntu)
Importance: Undecided
Status: New
--
open-iscsi upgrade fails to stop iscsid
https://bugs.launchpad.net/bugs/306693
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs