Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1873] (New) BUG where the database init script
      ignores the DB_NETDOT_HOST setting in Site.conf
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Jul 2015 11:45:21 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1873] (New) BUG where the
        database        init script ignores the DB_NETDOT_HOST setting in 
Site.conf
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1873 has been reported by Niklas Sk?ldmark.

----------------------------------------
Bug #1873: BUG where the database init script ignores the DB_NETDOT_HOST 
setting in Site.conf
https://osl.uoregon.edu/redmine/issues/1873

Author: Niklas Sk?ldmark
Status: New
Priority: Normal
Assignee: 
Category: Netdot
Target version: 
Resolution: worksforme


Hi i think i found a bug in the initdb script, 

netdot/lib/DBUTIL.pm
    sub initacls_mysql
        LINE 394
Should probably be :

    push @acl, "GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON 
$CONFIG{DB_DATABASE}.* TO $CONFIG{DB_NETDOT_USER}\@$CONFIG{DB_NETDOT_HOST} 
IDENTIFIED BY '$CONFIG{DB_NETDOT_PASS}';";

Instead of :

    push @acl, "GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON 
$CONFIG{DB_DATABASE}.* TO $CONFIG{DB_NETDOT_USER}\@$CONFIG{DB_HOST} IDENTIFIED 
BY '$CONFIG{DB_NETDOT_PASS}';";

I couldn't find anywhere else in the project where DB_NETDOT_HOST is used, 
except for the config files.
I know I should probably make a pull request but i haven't figured out how to 
do that yet...


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 100, Issue 10
*********************************************

Reply via email to