Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250699

Summary: dev-lang/php-5.2.8 php.ini hard link
Product: Gentoo Linux Reporter: crucify <shj>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: VERIFIED NEEDINFO    
Severity: minor CC: pchrist
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description crucify 2008-12-12 13:21:10 UTC
/etc/php/cli-php5/php.ini == /etc/php/apache2-php5/php.ini

Reproducible: Always

Steps to Reproduce:
edit to 'ln -s' ?
Comment 1 crucify 2008-12-12 13:23:07 UTC
oops, ln -> cp
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-14 19:20:15 UTC
Please, explain NOT so briefly the issue here. 
Comment 3 crucify 2008-12-15 04:23:24 UTC
Sorry.
/etc/php/cli-php5/php.ini equal /etc/php/apache2-php5/php.ini
hard linked same file.

# cp /etc/php/cli-php5/php.ini /etc/php/apache2-php5/php.ini
cp: `/etc/php/cli-php5/php.ini' and `/etc/php/apache2-php5/php.ini' are the same file

thank you.
Comment 4 Christian Hoffmann (RETIRED) gentoo-dev 2008-12-16 12:18:55 UTC
I'm unable to see this issue here, and if there is an issue at all, I highly doubt that it is 5.2.8-specific, as I haven't done any changes with regards to ini handling.
Anyway, I need some more information please.
What makes you think that we are talking about a hard link here? The given cp output might as well (or only?) happen with symlinks. Please paste output of
ls -la /etc/php/{cli,apache2}-php5/php.ini

Assuming these are symlinks to the same file on your system, I still don't see why. Are you absolutely sure that you haven't added this symlink yourself? I know multiple sysadmins who do not need our seperation between these different SAPIs and have created such a symlink by themselves.
Comment 5 crucify 2008-12-19 07:51:29 UTC
5.2.8-r1 solved. thank you :)