Comment 15 for bug 1615694

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Clayton,
I'm cleaning up bugs that work was going on but were forgotten for whatever reason.
Sorry for the delay (again I should say).

To build and use from source you can:
# Build from git
$ git clone https://github.com/open-iscsi/open-iscsi.git
$ sudo apt build-dep open-iscsi
$ sudo apt-get install libssl-dev
$ cd open-iscsi
# Now this step depends on compiler, libs and more - e.g. I had to comment a few lines in include/iscsi_proto.h whicih were now in the linux-headers before being able to build correctly
$ make
$ make install
# Remove the packages version, but backup config
$ cp -a /etc/iscsi ~/iscsi-etc-backup
$ apt remove --purge open-iscsi
# Install what you just built and make it usable
$ systemctl daemon-reload
$ systemctl start open-iscsi
$ systemctl status open-iscsi

As usual you have the config in "/etc/iscsi/" and can try to experiment with that.
Use your backup at ~/iscsi-etc-backup to configure it as similar as possible to the former case.