Bug 1032377

Summary: Minor admin guide corrections.
Product: [Retired] Beaker Reporter: Raymond Mancy <rmancy>
Component: DocAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED CURRENTRELEASE QA Contact: Amit Saha <asaha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.14CC: aigao, asaha, dcallagh, ebaak, llim, qwan, rmancy, tflink
Target Milestone: 0.14.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 05:09:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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