Red Hat Bugzilla – Bug 984088
allow idmap-plugin symlink to be managed by the "alternatives" system
Last modified: 2014-06-18 03:43:16 EDT
Currently cifs-utils tracks what plugin to use via a symlink in /etc/cifs-utils. We already have another facility for these sorts of symlinks in /etc/alternatives. Change it to use a symlink in that directory instead.
Ok, slight difference here...
The alternatives system relies on double-indirection, so we basically need to change /etc/cifs-utils/idmap-plugin to an "alternative" (a symlink that points into /etc/alternatives). The "alternatives" command takes care of the rest.
The only tricky part is that the old idmap-plugin is listed as a %config(noreplace) in the old package. So we need to change that to a %ghost directive to make sure the removal of the old package doesn't remove the symlink created in the %post script by the alternatives command.
I'll hopefully have this fixed in rawhide today...
Ok, new package pushed to rawhide and it seems to do the right thing. Closing with resolution of RAWHIDE.
cifs-utils-6.1-3.fc19 has been submitted as an update for Fedora 19.
cifs-utils-6.1-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.