Bug 1002482 - missing = in apc.ini causes warnings in augeas
missing = in apc.ini causes warnings in augeas
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: php-pecl-apc (Show other bugs)
6.4
Unspecified Linux
unspecified Severity low
: rc
: ---
Assigned To: Web Stack Team
BaseOS QE - Apps
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-29 05:58 EDT by Niek Beernink
Modified: 2013-09-03 03:16 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-03 03:16:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Niek Beernink 2013-08-29 05:58:47 EDT
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 06:07:49 EDT
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 03:16:55 EDT
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.