[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#206600: cacti: Creation of user fails on postinst

Package: cacti
Version: 0.6.8a (not installed)
Severity: normal
Tags: patch

In cacti.postinst :
In get_config () :

        db_get cacti/username
        db_get cacti/password

But in create_user()

        GRANT ALL ON ${dbname}.* TO ${dbuser}@localhost IDENTIFIED BY

I presume correcting the name of the vars will make the script working


Second error, the user is only created if the database provided name's
is not existing. But not check is done to verify the user provided is
able to access to the database.

Personally, I call the create_user in all cases.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux asr-sarge 2.4.20ctx-16 #1 Tue Feb 25 13:58:02 CET 2003 i686

Reply to: