Bug 688053 - mysql lens doesn't contain /etc/my.cnf
Summary: mysql lens doesn't contain /etc/my.cnf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: augeas
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lutterkort
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-16 07:25 UTC by Michael Metz
Modified: 2013-04-30 23:42 UTC (History)
4 users (show)

Fixed In Version: augeas-0.8.1-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-30 23:21:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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