Red Hat Bugzilla – Bug 49572
Access to template1 database prevents all users from creating databases.
Last modified: 2013-03-04 09:00:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12smp i686)
Description of problem:
A user connected to database template1 prevents all database creation
attempts, until said user disconnects from the table. (Lock related?)
Steps to Reproduce:
1. Connect as user with access to database template1 to template1.
2. While that user is connected attempt to create a database -- creation
Actual Results: Error level results:
$ createdb phil
ERROR: CREATE DATABASE: source database "template1" is being accessed by
createdb: database creation failed
Expected Results: No user should be able to impair database creation for
users authorized to create databases.
Yes, this is the current situation. We will defer this bug until kernel
work starts on the next release. I will bring this matter to the attention of
community in the interim. Thank you and have a pleasant day.