Hello,

I have a few packages that would require an interactive post-install
script. For example, MySQL could ask for the database password to
create, Frontpage could ask for the name of a virtual host. Some
packages, like Postgresql, should ask the user if it should create the
sample database, etc...

I haven't found the perfect way to do it yet. Assuming defaults is very
dangerous regarding security when it comes to passwords, and we all know
the PITA we had with Postgresql over-writing a poor user's database when
upgrading.

Right now, I solve the problem by creating a script (eg:
/root/install-frontpage.sh) and echoing a message for the user. But with
gnorpm or kdepackage, you don't see it.

What would be great is a special attribute to the %post section,
something like "%post --interactive" that could start an xterm or pause
the execution of rpm while the script asks for the information and
configures the package.

Maybe there is a better solution. If any of you has an idea,  just let
me know.

Jean-Michel Dault
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to