olindata / puppet-mariadb

A puppet module to manage mariadb
Apache License 2.0
2 stars 0 forks source link

mariadb:users - multiple privs not working #6

Open grooverdan opened 12 years ago

grooverdan commented 12 years ago

A bug of mine:

The informationschema user_priv table contains an entry per privilege. The create mariadb:user resource will be created multiple times if multiple privs are listed.

unsure of fix.

walterheck commented 12 years ago

well, the best idea is to not mess with user_priv directly but go through the grant system. I have known the module as it is now has a bit of a weak spot when it comes to enforcing/checking of specific grants. I guess we can't do more then some really wicked execs that check everything.