Bug 688053

Summary: mysql lens doesn't contain /etc/my.cnf
Product: [Fedora] Fedora Reporter: Michael Metz <metz>
Component: augeasAssignee: David Lutterkort <lutter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: apevec, hbrock, lutter, mbooth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: augeas-0.8.1-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-30 23:21:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Metz 2011-03-16 07:25:56 UTC
Description of problem:
With augeas it's not possible to parse /etc/my.cnf in it's default path used by default mysql-server-package

Version-Release number of selected component (if applicable):
0.8.0-1.fc14

How reproducible:
# augtool print /files/etc/my.cnf
=> not parsed

same config file in different directory:
# augtool print /files/etc/mysql/my.cnf

/files/etc/mysql/my.cnf
/files/etc/mysql/my.cnf/target[1] = "mysqld"
/files/etc/mysql/my.cnf/target[1]/datadir = "/var/lib/mysql"
/files/etc/mysql/my.cnf/target[1]/socket = "/var/lib/mysql/mysql.sock"
/files/etc/mysql/my.cnf/target[1]/user = "mysql"
/files/etc/mysql/my.cnf/target[1]/#comment = "Disabling symbolic-links is recommended to prevent assorted security risks"
/files/etc/mysql/my.cnf/target[1]/symbolic-links = "0"
/files/etc/mysql/my.cnf/target[2] = "mysqld_safe"
/files/etc/mysql/my.cnf/target[2]/log-error = "/var/log/mysqld.log"
/files/etc/mysql/my.cnf/target[2]/pid-file = "/var/run/mysqld/mysqld.pid"

Comment 1 David Lutterkort 2011-03-23 22:26:24 UTC
Fixed by commit bbd690ab upstream

Comment 2 Fedora Update System 2011-04-21 16:34:51 UTC
augeas-0.8.1-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/augeas-0.8.1-1.fc14

Comment 3 Fedora Update System 2011-04-21 22:27:07 UTC
Package augeas-0.8.1-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing augeas-0.8.1-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/augeas-0.8.1-1.fc14
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-04-30 23:21:20 UTC
augeas-0.8.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.