banner in groupadd/useradd macro

Elan Ruusamäe glen at delfi.ee
Tue May 17 19:55:30 CEST 2005


On Tuesday 17 May 2005 15:35, Jakub Bogusz wrote:
> What about using %banner in %groupadd/%useradd?
> IMO at least "Adding..." message should be configurable, as such
> information is logged anyway and one may want to have less verbose
> installation.
that's nice, but imho %banner should be fixed before.

for example the %userremove/%groupremove logs the message to banner by append 
method, and if you're testing ie by removing user constantly then the 
appended message is displayed to you, thus the message is displayed twice.

expected %banner behaviour would be that
1. message is appended, but not displayed if -a option is enabled
2. if message display is requested only the new message is displayed (not the 
whole log)

is there way to configure via /etc/sysconfig/rpm which messages you want to 
see on screen? imho no, and your idea seems like such feature is needed.

-- 
glen



More information about the pld-devel-en mailing list