Comment 2 for bug 403599

Revision history for this message
Andreas Olsson (andol) wrote :

Discovered something rather interesting/confusing...

First I did a rebuild of php5, modifying libapache2-mod-php5.postinst to make it abort (exit 1) just before it had time to run its invoke-rc.d apache2 force-reload.

Turned out that after installation the new packages, and having libapache2-mod-php5 abort during postinst, I had to run "invoke-rc.d apache2 force-reload" twice before apache2 would parse php files. If I instead used "invoke-rc.d apache2 restart", then once was enough.

I guess that kind of goes along with my observation in the previous comment. Then there was one reload during the postinst and yet another manually afterwards; still two reloads in other words.

Still, kind of confused by my finding. Why would one reload differ from two reloads?

Would be nice to see if anyone could try to verify my results.