On Thu, Oct 19, 2006 at 12:38:25PM -0400, Bill Nottingham wrote:
Thorsten Leemhuis (fedora(a)leemhuis.info) said:
> I strongly agree with the last sentence. Should we write it somewhere
> into the policies that %pre/%post script should never print stuff?
Yes. But that means filing a bug against glibc for visibly restarting
ssh for example.
Honestly, I thought it was already part of the policies. %pre/%post
can not be interactive.
I think this is already strongly deprecated at the pure rpm level. We
could add a note on this in the guide, but it shouldn't suggest we
really ever had another choice. :)
Just as a side note: It's been a debate for several years now that
dpkg allows licenses to be displayed in non-batch mode, and that rpm
only has batch mode and thus no means for licenses to be
displayed. Not that it's actually a drawback.
In general most higher level rpm tool assume output on stderr/stdout
from rpm packages to be an error and present it that way.
Axel.Thimm at ATrpms.net