I've got a unique server that has a separate hostmaster-ish site in a non-standard location.

I'm not sure how this happened, as it was working fine for a while.

Running verify tasks on some of my Drupal 8 sites fails because it's trying to write Provision_Config_Drushrc_Aegir(), when it should only do that on verify of @hostmaster.

Debugging with drush @alias php:

>>> d()->root . ' should not be the same as ' . d('@hostmaster')->root
/var/aegir/platformpath should not be the same as /var/aegir/platformpath

I can't figure out why this is happening, but I figured we should change the way we detect hostmaster to something more reliable.

CommentFileSizeAuthor
#3 2948114-hostmaster-detect.patch707 bytesJon Pugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jon Pugh created an issue. See original summary.

  • Jon Pugh committed 60f0c1a on 2948114-hostmaster-detect-on-verify
    Issue #2948114: In rare case, current hostmaster detection throws false...
Jon Pugh’s picture

helmo’s picture

The patch looks OK to apply, but I'm curious to what's in the hostmaster-ish site alias.

Jon Pugh’s picture

Status: Needs review » Fixed

  • Jon Pugh committed 60f0c1a on 7.x-3.x
    Issue #2948114: In rare case, current hostmaster detection throws false...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.