[Pkg-iscsi-maintainers] Bug#775778: Bug#776276: unblock: open-iscsi/2.0.873+git0.3b4b4500-4

Michael Biebl biebl at debian.org
Tue Jan 27 05:19:41 UTC 2015


Am 26.01.2015 um 17:00 schrieb Christian Seiler:

> Of course, if you have a better idea of how to do this?

Aside from shipping real native unit files, that's probably the least
invasive change:

- Drop $remote_fs from the open-isci LSB header and replace it with
$local_fs. That looks wrong anyway.

- Ship a file like the following in drop-in directory to call
umountiscsi.sh on stop and adding the ordering for remote-fs-pre.target


 # cat /etc/systemd/system/open-iscsi.service.d/foo.conf
[Unit]
Wants=remote-fs-pre.target
Before=remote-fs-pre.target

[Service]
ExecStop=
ExecStop=/etc/init.d/umountiscsi.sh stop
ExecStop=/etc/init.d/open-iscsi stop



If this file is shipped as part of the package, it should be placed in
/lib/systemd/system/open-iscsi.service.d/ and probably have a better
name then foo.conf :-)



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20150127/cfb5bfb1/attachment-0001.sig>


More information about the Pkg-iscsi-maintainers mailing list