Last modified: 2009-08-15 17:18:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22080, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20080 - Fix sync scripts (scap, sync-common-all, etc) to fail fast if ssh-agent not set up
Fix sync scripts (scap, sync-common-all, etc) to fail fast if ssh-agent not s...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-05 22:15 UTC by Brion Vibber
Modified: 2009-08-15 17:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2009-08-05 22:15:48 UTC
The sync scripts using dsh are pretty much useless without a ssh-agent set up as you get asked a billion times for your password. They should check the environment and tell you you're being dumb if it's not there... or else maybe pop you into a temporary ssh-agent so you only need to verify your key passphrase once at the start.
Comment 1 JeLuF 2009-08-15 17:18:03 UTC
Added:

if [ ! -S "$SSH_AUTH_SOCK" ]; then
        echo >&2 "SSH_AUTH_SOCK not set or not pointing to a socket."
        echo >&2 "Did you start your ssh-agent?"
        exit 1
fi


to sync-common-file and scap.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links