[Bug 414986] Re: open-iscsi causes FTBFS for anything that Build-Depends on it
Jamie Strandboge
jamie at ubuntu.com
Tue Aug 18 00:16:33 BST 2009
My last change didn't fix anything because the 'ln' didn't cause the
script to fail (the initscript does not use the recommended '#!/bin/sh
-e' which through me.
The problem is that in pbuilder and presumably the buildd's, /sysfs is
mounted. This allows open-iscsi to continue trying to start itself, and
we end up with:
start-stop-daemon --start --quiet --exec $DAEMON
RETVAL=$?
start-stop-daemon ends up returning non-zero, and at the end of the script we have:
exit $RETVAL
One way to fix this would be to use a /etc/default/open-iscsi file that
is read by the initscript. (eg 'START_DEVICES=no' is the default, and
the script only continues if 'START_DEVICES=yes'). I do not know the
ramifications of that for the installer, etc, so I am not going to make
that change.
** Changed in: open-iscsi (Ubuntu)
Status: Fix Released => Triaged
** Changed in: open-iscsi (Ubuntu)
Assignee: Jamie Strandboge (jdstrand) => (unassigned)
--
open-iscsi causes FTBFS for anything that Build-Depends on it
https://bugs.launchpad.net/bugs/414986
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.
More information about the Ubuntu-server-bugs
mailing list