Bug 1032377 - Minor admin guide corrections.
Summary: Minor admin guide corrections.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: Doc
Version: 0.14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.14.4
Assignee: Nick Coghlan
QA Contact: Amit Saha
URL:
Whiteboard:
: 1004064 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 04:27 UTC by Raymond Mancy
Modified: 2018-02-06 00:41 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-19 05:09:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Raymond Mancy 2013-11-20 04:27:55 UTC
Description of problem:

Couple of slight problems in the admin guide.

Version-Release number of selected component (if applicable):

I think the following <password> should be wrapped in '':

  $ echo "grant all on <db_name>.* to <user_name> IDENTIFIED BY <password>;"| mysql

(this was tested against mysql 5.5.31)

The following:

  su apache -c 'beaker-init -u admin -p testing -e root@localhost'

Does not work on Fedora18. Instead su apache -s /bin/bash -c needs to be used.
If this also works on RHEL6, then we should update it.

Comment 2 Dan Callaghan 2013-11-20 05:21:10 UTC
(In reply to Raymond Mancy from comment #0)
> The following:
> 
>   su apache -c 'beaker-init -u admin -p testing -e root@localhost'
> 
> Does not work on Fedora18. Instead su apache -s /bin/bash -c needs to be
> used.
> If this also works on RHEL6, then we should update it.

I don't think we need to run beaker-init as apache anymore. The original reason was because it would touch log files and leave them owned root, but that doesn't happen anymore since Beaker writes to syslog instead of directly to the log files.

Comment 3 Nick Coghlan 2013-11-27 05:16:29 UTC
Second part is already covered by bug 1004064, but we still need the quotes around the password.

Comment 4 Raymond Mancy 2013-11-27 05:17:51 UTC
*** Bug 1004064 has been marked as a duplicate of this bug. ***

Comment 5 Nick Coghlan 2013-11-27 07:20:24 UTC
On Gerrit: http://gerrit.beaker-project.org/2556

Comment 6 Nick Coghlan 2013-11-28 04:23:06 UTC
These changes have been included in the updated installation instructions at:

http://beaker-project.org/docs-release-0.14/admin-guide/installation.html


Note You need to log in before you can comment on or make changes to this bug.