Bugzilla – Bug 811533
Iscsitarget postinstall needs to handle config file moving from /etc to /etc/iet
Last modified: 2013-04-17 15:06:03 UTC
Iscsitarget package was updated to move all config file from /etc to /etc/iet, as per upstream, but this broke install. A post-instal script needs to be added to handle the upgrade case where config file will move from /etc/ietd.conf to /etc/iet/ietd.conf.
Note: this is also a problem in openSUSE 12.3, so this bug is for both OSes (even if bugzilla don't grok that). The same fix should apply both places.
Adding code to spec file %post (post-install) section to make sure user config-file changes are not lost.
In testing, I found that I needed to add post-uninstall code to remove the symlink in /etc/ietd.conf. Changes submitted to build as request id 161680.
Note: previous comment is for openSUSE:Factory. Just submitted maint. req. for openSUSE:12.3:Update: Request: #161687. Also, for openSUSE:12.2:Update: Request: #161688.
This is an autogenerated message for OBS integration: This bug (811533) was mentioned in https://build.opensuse.org/request/show/161687 Maintenance / https://build.opensuse.org/request/show/161688 Maintenance /
This is an autogenerated message for OBS integration: This bug (811533) was mentioned in https://build.opensuse.org/request/show/161742 Factory / iscsitarget
Removed block for bnc#800956 since the bugs are related but do not strictly depend on each other. Fixing yast2-iscsi-server in Factory to use new path /etc/iet/ietd.conf can be done independently of fixing this bug.
*** Bug 809961 has been marked as a duplicate of this bug. ***
Update released for openSUSE 12.2, 12.3 and checked in into Factory. Resolved fixed.
openSUSE-RU-2013:0695-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 811533 CVE References: Sources used: openSUSE 12.3 (src): iscsitarget-1.4.20.3-8.4.1 openSUSE 12.2 (src): iscsitarget-1.4.20.3-2.16.1