Bug 42830 - /etc/php.ini should be %config(noreplace)
Summary: /etc/php.ini should be %config(noreplace)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: php
Version: 1.0
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Phil Copeland
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2001-12-07 23:58:18 UTC
Embargoed:


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
php-4.0.5-1

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.