RPM

Comment 1 for bug 660406

Revision history for this message
Jeff Johnson (n3npq) wrote :

(my offhand comment to the commit ... the commit is perfectly fine)

Ick ... but adding --setfscontext as an alias is exactly the right approach.

My "Ick" has more to do with the fact that SELinux has flat zippo to do
with "packaging", and the RPM CLI has all sorts of other issues rather
than adding --setfscontext smoke and mirrors alternative to invoking
/sbin/restorecon. OTOH, hurts nothing at all.

I have exactly the same "Ick" opinion wrto recent changes @rpm.org to split
package signing into a separate "rpmsign" executable, and then adding popt aliases
to pass ooptions from "rpmsign" to gpg; I'm just not sure what purpose is
being served.

Meanwhile its utterly trivial to add/delete popt aliases to extend RPM functionality.
My "ick" here is largely from experience with meeting expectations: there's only so
much info and functionality that can be hidden behind an option. Precise/specific
behavior needs a better programming paradigm than pipe fitting.