[Rpm-maint] [rpm-software-management/rpm] RFE: Fully automate ldconfig handling within rpm (#405)

Jeff Johnson notifications at github.com
Sat Mar 3 10:48:58 UTC 2018


Yuck: file triggers are prefix match only, with no path canonicalization (I.e. removal of multiple slashes etc). You could/should try using fnmatch through rpmio/mire, which could be flipped to using glob/regex patterns by changing an argument.

You likely also should forbid partial dir/file path matches so, say, /liberal /libation /lib64 are not all matched by /lib. One easy way to do that (with prefixes) is by appending a /.

Further yuck: there are way too many matches retrieved by file triggers that are uniqified down to a single trigger execution.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/405#issuecomment-370138233
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180303/4447efbf/attachment.html>


More information about the Rpm-maint mailing list