Page MenuHomePhabricator
Feed Advanced Search

Fri, Nov 20

epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 12:21 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 12:10 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 12:03 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 11:55 AM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 11:52 AM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 11:46 AM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Fri, Nov 20, 11:40 AM · Security, Phacility

Sun, Nov 1

epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Sun, Nov 1, 1:02 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Sun, Nov 1, 1:01 PM · Security, Phacility

Sat, Oct 24

epriestley updated the task description for T13706: php2shell: Phacility Cluster ops notes.
Sat, Oct 24, 2:49 AM · Phacility

Oct 23 2026

epriestley added a comment to T13706: php2shell: Phacility Cluster ops notes.

Piledriver sequence is roughly:

Oct 23 2026, 10:55 PM · Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 23 2026, 4:30 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

Found one, creating a new project returns:

Oct 23 2026, 4:26 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 23 2026, 4:23 PM · Security, Phacility
epriestley triaged T13706: php2shell: Phacility Cluster ops notes as Normal priority.
Oct 23 2026, 3:44 PM · Phacility
holmboe added a comment to T13704: PHP2Shell.

Found one, creating a new project returns:

Oct 23 2026, 3:30 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

I suspect a lot of behavior is still broken, but at least some things should be working now. I'm working on restoring SSH access to repositories (which I suspect is just an ops/config issue) and then I'll fix whatever shows up in the error log.

Oct 23 2026, 3:23 PM · Security, Phacility
holmboe added a comment to T13704: PHP2Shell.

We are live! Thank you Evan for your relentless work. 🙏

Oct 23 2026, 3:17 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 23 2026, 3:16 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.
  • Restoring MySQL from backup took a very long time (partly because I didn't realize the volume was an ancient gp2 volume with a tight limit on iops) but succeeded.
  • admin is back up and cluster directory services are mostly working.
  • I'm working on redeploying web now; this tier is stateless and doesn't need to load backups.
  • The most recent available backup was slightly out of date (Oct 16th IIRC). If this caused issues (e.g., double-billing or deleting recently-invited user accounts) I'll sort everything out once services are back up.
Oct 23 2026, 3:01 PM · Security, Phacility

Oct 22 2026

epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 11:21 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 11:18 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 11:14 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

One issue I'm struggling with is that some daemon parsing is failing...

Oct 22 2026, 11:08 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 10:23 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 10:17 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

One issue I'm struggling with is that some daemon parsing is failing:

Oct 22 2026, 10:13 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

Actually, Phabricator uses static::class since D21744 and it works in older PHP per 3v4l.org, so I think I'm incorrect that this requires PHP 8.

Oct 22 2026, 9:35 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 9:32 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

See T13637. See T13588. In PHP 8.1, the behavior of static variables in methods changed, per this snippet from the PHP Documentation:

Oct 22 2026, 9:19 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 8:59 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 8:44 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 8:25 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

I do want $array[null] to kill the server in the general case so all the high-quality Phabricator code I write in the future can't do it, but I realize I may need to concede and silence the error. I am going to give up on this one:

Oct 22 2026, 7:09 PM · Security, Phacility
avivey added a comment to T13704: PHP2Shell.

also maybe copy https://we.phorge.it/D25387, which makes it so deprecation
messages don't kill the server.

Oct 22 2026, 7:04 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.
  • AWS now has over 800 instance types???
  • I believe I've launched a new admin with a patched PHP that is surviving a least some of the deployment process. MySQL can't upgrade databases across major versions, so I'm restoring from backup now.
  • @jmeador oh hi there
  • @avivey Yeah, like half the pages are working for me while logged in but things are still pretty rough.
Oct 22 2026, 7:04 PM · Security, Phacility
avivey added a comment to T13704: PHP2Shell.

Hi Evan,

Oct 22 2026, 6:52 PM · Security, Phacility
jmeador added a comment to T13704: PHP2Shell.

A wild epriestley appears!

Oct 22 2026, 6:33 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

Typical state-of-the-art software upgrade process:

Oct 22 2026, 5:52 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 3:46 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 3:20 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 3:11 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 3:09 PM · Security, Phacility
epriestley added a comment to T13704: PHP2Shell.

General state of affairs:

Oct 22 2026, 2:46 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 2:28 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 9:58 AM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 9:20 AM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 2:13 AM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 22 2026, 12:46 AM · Security, Phacility

Oct 21 2026

epriestley added a comment to T13704: PHP2Shell.

Recent versions of Ubuntu default to a sudo implemented in Rust which doesn't support -E to pass the entire environment. A quick fix for this is to select sudo.ws as an alternative:

Oct 21 2026, 11:09 PM · Security, Phacility
epriestley added a revision to T13704: PHP2Shell: Restricted Differential Revision.
Oct 21 2026, 11:06 PM · Security, Phacility
epriestley triaged T13704: PHP2Shell as High priority.
Oct 21 2026, 10:44 PM · Security, Phacility
epriestley triaged T13704: PHP2Shell as High priority.
Oct 21 2026, 10:44 PM · Security, Phacility

Feb 13 2024

epriestley closed T13701: Perform a large data export from Phacility as Resolved.

(Of course, it'll probably just work the first time now...)

Feb 13 2024, 8:04 PM · Files, Phacility

Feb 12 2024

epriestley added a comment to T13701: Perform a large data export from Phacility.

The export process is already robust at a coarse level: the dump is retained on disk and the process can be retried at the "upload the whole file again" level, then picked up with bin/host export using the --database or --database-file flags (probably with --keep-file).

Feb 12 2024, 11:29 PM · Files, Phacility
epriestley added a comment to T13701: Perform a large data export from Phacility.

The (anonymized) error the process encountered occurred while transferring the dump to central storage was:

Feb 12 2024, 11:19 PM · Files, Phacility
epriestley triaged T13701: Perform a large data export from Phacility as Low priority.
Feb 12 2024, 11:10 PM · Files, Phacility

Nov 13 2023

epriestley updated the task description for T13700: Notes to Self, Late 2023.
Nov 13 2023, 7:10 PM · Phacility
epriestley closed T13700: Notes to Self, Late 2023 as Resolved.

See D21862.

Nov 13 2023, 7:10 PM · Phacility
epriestley added a revision to T13700: Notes to Self, Late 2023: Restricted Differential Revision.
Nov 13 2023, 7:00 PM · Phacility
epriestley added a comment to T13700: Notes to Self, Late 2023.

Next issue: can't pull from secure.

Nov 13 2023, 6:49 PM · Phacility
epriestley added a comment to T13700: Notes to Self, Late 2023.

Issue 3:

Nov 13 2023, 6:44 PM · Phacility
epriestley added a revision to T13700: Notes to Self, Late 2023: Restricted Differential Revision.
Nov 13 2023, 6:43 PM · Phacility
epriestley added a comment to T13700: Notes to Self, Late 2023.

With bin/provision events working again:

Nov 13 2023, 6:29 PM · Phacility
epriestley triaged T13700: Notes to Self, Late 2023 as Wishlist priority.
Nov 13 2023, 6:28 PM · Phacility

Oct 26 2022

epriestley closed T13686: Disable Ubuntu unattended upgrades as Resolved.

I patched and partially deployed this in early August. Another unattended MySQL upgrade went out on Monday night, also didn't restart MySQL on affected hosts, and caused some downtime on hosts that didn't have the patch (to "disable unattended upgrades"). I've now deployed this everywhere, and am presuming this is fixed until evidence arises to the contrary.

Oct 26 2022, 7:53 PM · Phacility

Oct 25 2022

epriestley added a comment to T13686: Disable Ubuntu unattended upgrades.

See also PHI2219, PHI2220.

Oct 25 2022, 12:17 PM · Phacility

Jul 29 2022

epriestley triaged T13686: Disable Ubuntu unattended upgrades as Normal priority.
Jul 29 2022, 12:16 PM · Phacility

Apr 20 2022

epriestley lowered the priority of T11132: New Phabricator NUX from High to Wishlist.
Apr 20 2022, 10:43 PM · Design, Phacility, NUX
epriestley lowered the priority of T11456: Don't lose user in NUX flow because of Timezone issues from High to Wishlist.
Apr 20 2022, 10:43 PM · Design, Phacility, NUX
epriestley closed T10847: 30GB Phacility instance caused a series of cascading failures which left web services unreachable as Resolved.

There's nothing particularly useful or actionable here now, so closing it out. (I believe this was the most severe incident Phacility ever experienced while actively maintained.)

Apr 20 2022, 10:43 PM · Ops, Phacility
epriestley closed T12610: Audit behavior of LB healthchecks against *.phacility.com and secure.phabricator.com as Wontfix.

This hasn't caused any more problems in like 4 years, so I guess it's kind of whatever.

Apr 20 2022, 10:30 PM · Ops, Phacility
epriestley closed T13537: Support local port forwarding through Phacility cluster bastion hosts as Wontfix.

This isn't really resolved, but almost certainly does not make sense to pursue given the Phacility wind-down.

Apr 20 2022, 9:09 PM · Phacility
epriestley closed T13630: Move Phacility provisioning to Piledriver as Resolved.

Almost every host currently in production was provisioned with Piledriver and things have been stable for quite a while, so I'm calling this resolved. See elsewhere for issues with Ubuntu20, mail, etc.

Apr 20 2022, 7:10 PM · Almanac, Infrastructure, Phacility
epriestley closed T13641: Support "Disabled" devices in Almanac, a subtask of T13630: Move Phacility provisioning to Piledriver, as Resolved.
Apr 20 2022, 6:39 PM · Almanac, Infrastructure, Phacility
epriestley closed T13646: Add "E" to "variables_order" in Phacility environments as Resolved.

Moved the rest of this to T13640.

Apr 20 2022, 6:36 PM · Phacility, Infrastructure

Apr 19 2022

epriestley closed T13661: Give Phame configurable interact policies as Resolved.

I deployed this and it seems to be working properly.

Apr 19 2022, 9:07 PM · Phacility, Phame
epriestley closed T13674: Ubuntu20 systemd restart script does not reliably execute on Ubuntu20/m4 chassis hosts as Resolved.

Hey, it worked once. Good enough for me!

Apr 19 2022, 5:55 PM · Phacility
epriestley added a comment to T13674: Ubuntu20 systemd restart script does not reliably execute on Ubuntu20/m4 chassis hosts.

No dice. We need bin/upgrade to run before mysql because it has to mount the data volume. So now I'm trying this:

Apr 19 2022, 5:48 PM · Phacility
epriestley added a comment to T13674: Ubuntu20 systemd restart script does not reliably execute on Ubuntu20/m4 chassis hosts.

... service ... start rather than service ... restart ...

Apr 19 2022, 5:27 PM · Phacility
epriestley added a comment to T13674: Ubuntu20 systemd restart script does not reliably execute on Ubuntu20/m4 chassis hosts.

...probably tested...

Apr 19 2022, 5:22 PM · Phacility
epriestley triaged T13674: Ubuntu20 systemd restart script does not reliably execute on Ubuntu20/m4 chassis hosts as Low priority.
Apr 19 2022, 4:30 PM · Phacility

Apr 1 2022

epriestley added a comment to T13661: Give Phame configurable interact policies.

This has some rough edges that I'm not going to deal with for now:

Apr 1 2022, 7:52 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 7:49 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 7:41 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 7:16 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 7:05 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 6:48 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 6:46 PM · Phacility, Phame
epriestley added a revision to T13661: Give Phame configurable interact policies: Restricted Differential Revision.
Apr 1 2022, 6:43 PM · Phacility, Phame

Dec 19 2021

epriestley closed T11230: Phacility: Private Clusters as Wontfix.

See T12847. All the technical parts of this are now solved except for billing, but since Phacility is winding down I no longer plan to pursue it.

Dec 19 2021, 8:45 PM · Phacility
epriestley closed T8688: Attach and initialize backup volumes during `remote deploy` workflow as Resolved.

I resolved this in rCORE320b2854.

Dec 19 2021, 8:43 PM · Phacility
epriestley closed T12847: A Pathway Towards Private Clusters as Wontfix.

After T13630:

Dec 19 2021, 8:39 PM · Plans, Ops, Phacility
epriestley closed T12847: A Pathway Towards Private Clusters, a subtask of T11230: Phacility: Private Clusters, as Wontfix.
Dec 19 2021, 8:39 PM · Phacility
epriestley closed T13601: Support "SCA" / "3D Secure 2" in billing workflows as Wontfix.

Only one instance was impacted by this and I just credited them until 2099. I don't currently expect to pursue this.

Dec 19 2021, 8:26 PM · Phacility, Phortune
epriestley closed T13610: Support per-node billing for hosted Phacility instances as Wontfix.

I no longer expect to pursue this.

Dec 19 2021, 8:25 PM · Phortune, Phacility
epriestley closed T13618: When a Phacility "rbak" device does not exist, backups can run twice and converge to a "successful" but inconsistent state as Wontfix.
  • Hosts in the repo class are now build by Piledriver (see T13630), which automatically creates the rbak device entries, so this error isn't likely to occur again.
  • I also don't expect to launch any more hosts.
Dec 19 2021, 8:25 PM · Phacility
epriestley closed T13654: Wind Down Phacility Operations as Resolved.

I compacted secure onto new hardware (T13671) and shut down saux001 ("Land Revision") and sbuild001 (Harbormaster remote builds). I think all the remaining work is covered under T13630 (largely, just a handful of large database migrations remain).

Dec 19 2021, 8:23 PM · Phacility
epriestley closed T13671: Merge "secure003.phacility.net" into "secure001.phacility.net", then migrate to "m4.large" hardware as Resolved.

I just swapped configs over without merging the LBs, since it wasn't immediately obvious to me what the Application vs Classic state of the world is and swapping was good enough.

Dec 19 2021, 7:35 PM · Phacility
epriestley added a comment to T13671: Merge "secure003.phacility.net" into "secure001.phacility.net", then migrate to "m4.large" hardware.

The aphlict/notify stuff still needs to be tweaked. I think the snlb + slb setup can be merged into a single slb with "TCP (Secure)" forwarding now.

Dec 19 2021, 4:19 AM · Phacility