Bug 1173871

Summary: devassistant: Wrong source for phpmyadmin config.sample.inc.php conf file
Product: [Fedora] Fedora Reporter: Andrea Perotti <aperotti>
Component: devassistantAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: bkabrda, phracek, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: devassistant-0.9.3-4.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-06 06:13:50 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:
Attachments:
Description Flags
patch with the right source path for config.sample.inc.php none

Description Andrea Perotti 2014-12-13 16:38:51 UTC
Description of problem:

When creating a new php + mysql project, the conf file of phpmyadmin is searched in the wrong path:


Copying AMP source tree to /home/andreamtp/public_html/devass
pkexec /usr/libexec/da_auth &lt;&lt; DA_AS_USER_ROOT
bash /usr/share/devassistant/files/crt/php/lamp/apache_config.sh devass /home/andreamtp
DA_AS_USER_ROOT
Checking SELinux...
SELinux is: Enforcing
Activation httpd.service
Actiovation mysqld.service
Modify /usr/share/phpMyAdmin/config.inc.php
cp: impossibile eseguire stat di "/usr/share/phpMyAdmin/config.sample.inc.php": File o directory non esistente
Problem with setting PHP MyAdmin
Checking SELinux...
SELinux is: Enforcing
Activation httpd.service
Actiovation mysqld.service
Modify /usr/share/phpMyAdmin/config.inc.php
cp: impossibile eseguire stat di "/usr/share/phpMyAdmin/config.sample.inc.php": File o directory non esistente
Problem with setting PHP MyAdmin


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

phpMyAdmin-4.3.1-1.fc21.noarch
devassistant-0.9.3-2.fc21.noarch

How reproducible:
always

Steps to Reproduce:
1. Create a new php project (apache,php, php helper) in devassistant
2. let devassistant install the dependencies
3. see it fail due to the "missing" config.sample.inc.php . In reality the file is present on the system at the path 

Actual results:
The failure in the config part of phpmyadmin doesn't allow the completion of the procedure.

Comment 1 Andrea Perotti 2014-12-13 16:44:27 UTC
Created attachment 968115 [details]
patch with the right source path for config.sample.inc.php

Comment 2 Fedora Update System 2014-12-17 11:23:26 UTC
devassistant-0.9.3-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/devassistant-0.9.3-4.fc21

Comment 3 Fedora Update System 2014-12-18 06:12:08 UTC
Package devassistant-0.9.3-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing devassistant-0.9.3-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17223/devassistant-0.9.3-4.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-01-06 06:13:50 UTC
devassistant-0.9.3-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.