https://bugzilla.suse.com/show_bug.cgi?id=1220818
https://bugzilla.suse.com/show_bug.cgi?id=1220818#c40
Petr Gajdos changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ImageMagick and |ImageMagick uses
|ImageMagick-config-7-SUSE |update-alternatives (was:
|file conflict |ImageMagick and
| |ImageMagick-config-7-SUSE
| |file conflict)
--- Comment #40 from Petr Gajdos ---
For the information, the revert of update-alternatives removal is now in
Factory trough https://build.opensuse.org/request/show/1176179
(unfortunately, I have realized that post-mortem as I missed the obs
notification mail)
In
https://build.opensuse.org/project/show/home:pgajdos:magick-no-ua
there is a variant without update alternatives. To summarize, it:
1. uses a new /etc/IMagick-7 dir (question is, whether this is reasonable,
given that the revert is in factory yet)
2. ships policies under %{_datadir}/libMagickCore%{libspec}%{clibver}/policies
together with imagick-set-policy helper script which is supposed make a
link /etc/IMagick-7/policy.xml to one of that policy
3. policies can be installed in parallel, imagick-set-policy will choose the
'most secure one' even if they can not be exactly linearly ordered to
provide /etc/IMagick-7/policy.xml; other policies installed on the same
system can be used together with MAGICK_CONFIGURE_PATH
4. imagick-set-policy is run from %post/%postun of individual configuration
variant packages and the main package; it can be used even directly, for
testing purposes
We can choose (again, given that the revert is in factory already) the less
intrusive change and replace the update-alternaives with the script analogous
to imagick-set-policy to provide the /etc/ImageMagick-7 link to variants
instead of update-alternatives.
--
You are receiving this mail because:
You are on the CC list for the bug.