Just saw this on a new installation:

[...]
Created symlink /var/aegir/clients/admin/aegir.example.com [success]
to /var/aegir/hostmaster-7.x-3.9/sites/aegir.example.com
sudo: no tty present and no askpass program specified                [warning]
sudo: no tty present and no askpass program specified                [warning]
Changed permissions of                                               [success]
/var/aegir/hostmaster-7.x-3.9/sites/aegir.example.com/drushrc.php
to 640
[...]

Comments

colan created an issue.

Dustin@PI’s picture

We're also getting this on platform "verify". For us this is happening when importing a platform on the local machine.

We're using ubuntu '16.04.2 LTS' with PHP 7.1

helmo’s picture

The test on Gitlab is also showing this warning ...

Any function problems that could be caused by this?

There is a hint about using 'ssh -t' on http://stackoverflow.com/questions/21659637/how-to-fix-sudo-no-tty-prese...

pmunch’s picture

Same pb here on a fresh Aegir3.10 install using deb packages.

Pb showed immediately after install on verify hostmaster task:

Calling hook drush_zz_fix_ownership_post_provision_verify	
sudo: no tty present and no askpass program specified	
Returned from hook drush_zz_fix_ownership_post_provision_verify	
Calling hook drush_zz_fix_permissions_post_provision_verify	
sudo: no tty present and no askpass program specified	
Returned from hook drush_zz_fix_permissions_post_provision_verify

Disable "Fix Permissions" and "Fix Ownership" features in Hosting/Experimental to discard messages.

This pb is discussed here: https://www.drupal.org/node/2616426#comment-11867530