[Pkg-fcoe-general] Bug#796609: Bug#796609: fcoe-utils: Has init script in runlevel S but no matching service file

Christian Hofstaedtler zeha at debian.org
Sun Jul 3 23:44:28 UTC 2016


Control: tags -1 + patch

* Jacob Luna Lundberg <jacob at gnifty.net> [160703 18:41]:
> On Sun, Jul 03, 2016 at 03:26:46PM +0200, Christian Hofstaedtler wrote:
> > It'd look like converting the init script to a native unit should be
> > quite simple!
> 
> Probably so, but the init script doesn't really work, so it's tough to 
> say how well the systemd unit would.  There are order-of-operations 
> issues; the init script does not seem to wait until discovery is 
> complete, and even if it did, right now the system tries to mount 
> earlier than it runs the init script.
> 
> The situation is somewhat similar to NFS except even more constrained; 
> networking needs to be up before the init script is run, then after some 
> undefinied amount of time I haven't figured out yet how to detect, the 
> system will have discovered all of the paths and you can assemble 
> devices and then you can mount.

Right. Maybe the systemd integration can work a bit nicer there.
I've noticed upstream already ships some (unfinished) systemd units.

> My employer has HP FlexFabrics and I can test things, although we do not 
> use systemd, so testing that would take me a while to get an 
> audit-compliant testing system installed.  If you need something tested, 
> let me know and I'll see what I can do.

Attached you'll find a patch that should apply cleanly on top of the
current fcoe-utils.git. It enables the upstream units (with some
patches) and installs cleanly for me. The ordering /looks/ right,
but without any hardware I really don't know if that will work.

Testing welcome :-)

-- 
 ,''`.  Christian Hofstaedtler <zeha at debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Install-systemd-unit-files.patch
Type: text/x-diff
Size: 6155 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fcoe-general/attachments/20160704/b41dfa6d/attachment-0001.patch>


More information about the Pkg-fcoe-general mailing list