On Tue, 2019-07-02 at 10:22 +0000, Zbigniew Jędrzejewski-Szmek wrote:
I love the goal, but this document says very little about the means
to achieve that goal. I would like to see specific solutions
described for each class of scriptlets that is present, including
approximate numbers of packages that are affected. As often, the
devil is in the details, and there indeed are classes of scriptlets
which have been successfully made obsolete and we now only need to
get rid of the usage usage in spec files, but then there are other
classes of scriptlets which might be very hard to replace.
Yes, we've had a spreadsheet for a bit with that data (raw data
generated by[1]), I'll try to get that into html/wiki this week.
For a significant portion of the work the plan is:
1. ldconfig => delete them as not needed
2. adduser/group/etc. => sysusers files
3. touch/mv/cp/etc. => systemd-tmpfiles
...there have been ideas for some of the exceptional cases, but if we
don't it all of them for F31 we'll still be in a better place for F32.
[1]
https://github.com/james-antill/scriptlets-monitor
Also, this certainly is not a "self contained" change.
Please upgrade
it to "system wide".
Although we'd change multiple packages, we don't need to co-ordinate
much between packages and there won't be any big flag day like event
which is why I chose self contained.