https://bugzilla.wikimedia.org/show_bug.cgi?id=71343

--- Comment #1 from Bryan Davis <[email protected]> ---
Partially fixed in 3.3.0-20140925+wmf2:

$ strace php hello.php 2>&1 | grep '/etc/hhvm'
access("/etc/hhvm/php.ini", R_OK)       = 0
access("/etc/hhvm/config.hdf", R_OK)    = 0
open("/etc/hhvm/php.ini", O_RDONLY)     = 4
stat("/etc/hhvm/config.hdf", {st_mode=S_IFREG|0644, st_size=139, ...}) = 0
open("/etc/hhvm/config.hdf", O_RDONLY)  = 4
open("/etc/hhvm/php.ini", O_RDONLY)     = 4
open("/etc/hhvm/config.hdf", O_RDONLY)  = 4
open("/etc/hhvm/php.ini", O_RDONLY)     = 7
open("/etc/hhvm/config.hdf", O_RDONLY)  = 7

$ strace hhvm hello.php 2>&1 | grep '/etc/hhvm'
access("/usr/etc/hhvm/php.ini", R_OK)   = -1 ENOENT (No such file or directory)
access("/usr/etc/hhvm/config.hdf", R_OK) = -1 ENOENT (No such file or
directory)

In this test, `php` id /usr/bin/php -> /etc/alternatives/php -> /usr/bin/hhvm

This should be enough to fix the jobrunner, but is still not completely
optimal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to