Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
another potential workaround is to change the real root of the aegir install, by changing the home of the aegir user, this seemed to work in another instance here.
i am not sure we can completely fix this in aegir: /var/aegir is managed by the debian package, and while we could mess around and make it created in preinst, that is messy. besides, with the new "distributions-based" system, we are likely to ship the hostmaster source code directly in the debian package, in which case we need to hardcode that path.
still, I have made *some* fix here, by getting the path from the aegir user's $HOME variable. we can review that decision later if we change packaging, but for now the change is localised so it will be easy to change.
Comments
Comment #1
ergonlogicIs this only in the .deb, or are we talking about something in upgrade.sh or hostmaster-migrate?
Comment #2
anarcat commentedanother potential workaround is to change the real root of the aegir install, by changing the home of the aegir user, this seemed to work in another instance here.
Comment #3
ergonlogicIt looks like we're hard-coding the aegir home in aegir2-hostmaster.postinst:
Am I mis-reading that? How could one even go about installing with the .debs using a different home? But, I'm not even sure that matters here...
Comment #4
anarcat commentedi am not sure we can completely fix this in aegir: /var/aegir is managed by the debian package, and while we could mess around and make it created in preinst, that is messy. besides, with the new "distributions-based" system, we are likely to ship the hostmaster source code directly in the debian package, in which case we need to hardcode that path.
still, I have made *some* fix here, by getting the path from the aegir user's $HOME variable. we can review that decision later if we change packaging, but for now the change is localised so it will be easy to change.