Bug #10961
closedWP cannot write .htaccess files on blog_public changes, including site creation
0%
Description
Sonja reported that the system hangs when creating a site. I did some digging and discovered that it only happens when setting a privacy level lower than 0. It turns out that anything lower than 0 triggers an .htaccess write from our CAC_File_Protection system, and .htaccess writes are hanging because insert_with_markers() calls fclose(), and fclose() is somehow broken.
My guess is that this is due to this weekend's maintenance, which involved a filesystem change. I'm unsure how to patch the Commons without creating privacy issues, so I'm going to contact Lihua to see if he can help.
Updated by Boone Gorges almost 6 years ago
I've written to Lihua.
I've also commented out references to flock() in insert_with_markers() as a temporary fix. This increases the possibility of race conditions that might result in a corrupted .htaccess file, but I don't think this is a serious concern for now.
Updated by Boone Gorges almost 6 years ago
- Status changed from New to Resolved
It appears that this was due to a firewall issue on the GC's internal networks. It's been resolved.