Closed (fixed)
Project:
Provision
Version:
5.x-0.1-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Nov 2008 at 16:28 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
acUpon further testing it seems it does work with a FQDN so the only issue is two users.
Comment #2
anarcat commentedI think that we can remove the FQDN, the % is sufficient. However, this should be configurable in the db_server platform.
Comment #3
adrian commentedUpon removing the second grant, i get an error.
Comment #4
adrian commentedOn our multi-front end system, we added user accounts for each of the front ends, and a wildcard for 64.55.119.%
Comment #5
adrian commentedWhen i removed the @dbhost line, i get an error on install even on my local test environment.
Comment #6
anarcat commentedhttp://drupal.org/cvs?commit=154335 fixes this issue, mostly. I think it would still be good to add documentation regarding the fact that no host-based access control is configured by Aegir, which can be a security issue if the mysql server is publicly accessible.
Also, the issues described here by Adrian and Acbot are not related to Aegir. Acbot's issue was unreproducable, and adrian's was related to an entry in the mysql.user table like this:
If such a row is present, all clients from Host 'localhost' will be authenticated as anonymous users and have no permissions. Just dropping the row is sufficient to restore proper access.
Leaving this as 'needs work' as I think we need to update the documentation.
Comment #7
anarcat commentedAlso note that the committed patch doesn't update existing users (since it can't through update.php), so that may also be something that needs to be documented in the release notes or something.
Comment #8
anarcat commentedSee also http://drupal.org/node/337485
Comment #9
adrian commentedI also just changed the documentation to create the hostmaster account using @% instead of @localhost.
Comment #10
adrian commentedI think i can close this.
There's nothing we can do for existing clients created, but they won't harm or otherwise affect the running of the system.
Comment #11
anarcat commentedWe need to say somewhere in the docs that we create a % host wildcard, which is a security issue... In the relnotes?
Comment #12
anarcat commentedI'm closing this. There's now a more specific issue regarding this in http://drupal.org/node/354050
Comment #14
anarcat commentedtagging this old issue