Bug 1002482 - missing = in apc.ini causes warnings in augeas
Summary: missing = in apc.ini causes warnings in augeas
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: php-pecl-apc
Version: 6.4
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Remi Collet
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-29 09:58 UTC by Niek Beernink
Modified: 2021-01-14 09:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-03 07:16:55 UTC
Target Upstream Version:


Attachments (Terms of Use)
apc.ini diff (633 bytes, patch)
2013-08-29 09:58 UTC, Niek Beernink
no flags Details | Diff

Description Niek Beernink 2013-08-29 09:58:47 UTC
Created attachment 791672 [details]
apc.ini diff

Description of problem:
We manage php-pecl-apc using puppet and modify apc.ini via augeas. Because the ini file is missing 2 = characters for two of the options, augeas can't make sense of the file.

Warning: Augeas[PHP settings](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output
Debug: Augeas[PHP settings](provider=augeas): /augeas/files/etc/php.d/apc.ini/error/pos = 1421
Debug: Augeas[PHP settings](provider=augeas): /augeas/files/etc/php.d/apc.ini/error/line = 33
Debug: Augeas[PHP settings](provider=augeas): /augeas/files/etc/php.d/apc.ini/error/char = 0
Debug: Augeas[PHP settings](provider=augeas): /augeas/files/etc/php.d/apc.ini/error/lens = /usr/share/augeas/lenses/dist/php.aug:44.13-.35:
Debug: Augeas[PHP settings](provider=augeas): /augeas/files/etc/php.d/apc.ini/error/message = Get did not match entire input
Debug: Augeas[PHP settings](provider=augeas): Will attempt to save and only run if files changed

line 33 of apc.ini contains: apc.filters
appending an = fixed the augeas warning. After that auges also complained about line 70: apc.preload_path
appending an = fixed all the warnings for that line as well.

Attached is a diff of the file that causes no augeas warnings.

Can this be fixed in a next release?

Version-Release number of selected component (if applicable):
php-pecl-apc-3.1.9-2.el6.src.rpm

Comment 1 Remi Collet 2013-08-29 10:07:49 UTC
php-pecl-apc is not part of EPEL-6 but of base repository.

So closing as CANTFIX (in Fedora EPEL)

Feel free to open a bug against RHEL, or raise a ticket through your regular Red Hat support channels to make certain  it receives the proper attention and prioritization to assure a timely resolution.

Comment 3 Remi Collet 2013-09-03 07:16:55 UTC
The current APC provided configuration is correctly parsed by PHP. The apc.filters and apc.preload_path directives are set to default values.

The configuration have been fixed in more recent products.
Changing configuration can create issue for people already using this extension.

If I read correctly the problem description, this are only warnings, raised by augeas parser, which can be ignored.

If this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain  it receives the proper attention and prioritization to assure a timely resolution. 

For information on how to contact the Red Hat production support team, please visit:
https://www.redhat.com/support/process/production/#howto


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