Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78806 - [open-iscsi] database location changed
Attached to Project:
Arch Linux
Opened by nl6720 (nl6720) - Friday, 16 June 2023, 08:35 GMT
Last edited by Christian Hesse (eworm) - Friday, 16 June 2023, 10:20 GMT
Opened by nl6720 (nl6720) - Friday, 16 June 2023, 08:35 GMT
Last edited by Christian Hesse (eworm) - Friday, 16 June 2023, 10:20 GMT
|
DetailsDescription:
In open-iscsi 2.1.9-1 the location of the "database" (as they call it) has moved from /etc/iscsi/ to /var/lib/iscsi/. I.e. /etc/iscsi/nodes/ and /etc/iscsi/send_targets/ are now /var/lib/iscsi/nodes/ and /var/lib/iscsi/send_targets/. As I understand, it's because the package was changed to build using meson and coincidentally upstream merged https://github.com/open-iscsi/open-iscsi/pull/395 in this release. Trying to log in to a preexisting node results in: iscsiadm: No records found It can be simply fixed by manually moving the directories ( mv /etc/iscsi/{nodes,send_targets} /var/lib/iscsi/ ), but the need to do so is not very discoverable. I'm not asking to move the database back to /etc, but I think the package's install script should either move /etc/iscsi/{nodes,send_targets} to /var/lib/iscsi/ or at least show a message in post_upgrade. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any open-iscsi 2.1.9-1 Steps to reproduce: Try to connect to a configured node that was added to the database with open-iscsi 2.1.8-2 or older. |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 16 June 2023, 10:20 GMT
Reason for closing: Fixed
Additional comments about closing: open-iscsi to 2.1.9-2
Friday, 16 June 2023, 10:20 GMT
Reason for closing: Fixed
Additional comments about closing: open-iscsi to 2.1.9-2
Comment by Christian Hesse (eworm) -
Friday, 16 June 2023, 10:20 GMT
I will not risk to do the migration while the old `iscsid` process is running... Not idea what happens.