[Bug 1884321] Re: open-iscsi - check upgrade paths for failures

Rafael David Tinoco 1884321 at bugs.launchpad.net
Thu Aug 20 18:23:20 UTC 2020


*** This bug is a duplicate of bug 1833586 ***
    https://bugs.launchpad.net/bugs/1833586

 
This upgrade path:
  
  configure)
        # We switched over to modules-load.d logic, so we have to take
        # care of this in postinst now.
        MODULES_FILE=/lib/modules-load.d/open-iscsi.conf
        if [ -f /etc/modules-load.d/open-iscsi.conf ] ; then
            MODULES_FILE=/etc/modules-load.d/open-iscsi.conf
        fi
        grep '^[^#]' $MODULES_FILE | while read module args ; do
            [ "$module" ] || continue
            modprobe $module $args >/dev/null 2>&1 || true
        done

should make sure MODULES_FILE exists before trying to grep things out of
it.

Unfortunately I'm not entirely convinced this worths a SRU.

I'll mark this as a duplicate of: LP: #1833586


** No longer affects: open-iscsi (Ubuntu Focal)

** This bug has been marked a duplicate of bug 1833586
   open-iscsi unconditionally requires ib_iser module which is not built on all Ubuntu kernels

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

Title:
  open-iscsi - check upgrade paths for failures

Status in open-iscsi package in Ubuntu:
  Fix Released

Bug description:
  17:27 <andreas> rafaeldtinoco: I was upgrading my irc proxy and saw this:
  17:27 <andreas> Setting up open-iscsi (2.0.874-7.1ubuntu6.1) ...
  17:27 <andreas> Installing new version of config file /etc/iscsi/iscsid.conf ...
  17:27 <andreas> grep: /lib/modules-load.d/open-iscsi.conf: No such file or directory
  17:27 <andreas> it didn't fail the upgrade, though
  17:27 <andreas> that was on focal
  17:30 <andreas> looks like that grep has been there since 2015

  ----

  Since I'm merging new open-iscsi version from Debian I thought about
  giving a look in previous versions and see if there is anything worth
  SRUing, like the issue pointed out by @ahasenack.

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



More information about the foundations-bugs mailing list