Bug 42830 - /etc/php.ini should be %config(noreplace)
Summary: /etc/php.ini should be %config(noreplace)
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: php   
(Show other bugs)
Version: 1.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Phil Copeland
QA Contact:
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2001-05-30 10:43 UTC by Enrico Scholz
Modified: 2007-03-27 03:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-07 23:58:18 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Enrico Scholz 2001-05-30 10:43:40 UTC
Description of Problem:

/etc/php.ini will be overridden at every update and so e.g. a global
`safe_mode = On' will be disabled.

I suggest to mark this file as '%config(noreplace) /etc/php.ini'

Additional Information:
$ rpm -q php

Comment 1 Bill Nottingham 2001-12-08 03:41:07 UTC
This is fixed in current packages.

Comment 2 Dan Elder 2004-08-05 18:07:25 UTC
This is still a problem with RHEL 3 (x86) with the latest php rpms
built from the srpm.  Instead of saving the new php.ini at
php.ini.rpmnew it overwrites it and moves it to php.ini.rpmsave.

Comment 3 Joe Orton 2004-08-10 15:44:47 UTC
Dan, could you open a new bug against PHP in RHEL3 if you are seeing
issues with php.ini over upgrades?

php.ini is marked %config(noreplace) in the RHEL package.

%config(noreplace) %{_sysconfdir}/php.ini

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