bugzilla-daemon at bugzilla.mindrot.org
2009-Jun-14  19:13 UTC
[Bug 1610] New: LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610
           Summary: LocalCommand is executed to early
           Product: Portable OpenSSH
           Version: 5.1p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: fs-linux_bug at fschueller.eu
If using ssh with "ControlMaster auto" and public key authentication,
the LocalCommand is executed before the control socket is setup. This
results in an endless loop of 'Enter passphrase for key $path/to/key'
questions,
if the LocalCommand is a command that uses ssh (in this case: unison to
automatically sync two folders on every connect).
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Jul-31  02:08 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
             Blocks|                            |1626
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Oct-06  06:01 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1698|                            |ok?
               Flag|                            |
--- Comment #1 from Damien Miller <djm at mindrot.org> 2009-10-06 17:01:39
EST ---
Created an attachment (id=1698)
 --> (https://bugzilla.mindrot.org/attachment.cgi?id=1698)
Delay execution of localcommand a tiny bit
Could you please try this patch?
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Oct-14  17:43 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610 --- Comment #2 from fs-linux_bug at fschueller.eu 2009-10-15 04:43:05 EST --- The patch doesn't help, it only changes the problem. One did not get the "Enter passphrase"-loop now, with this patch unison executes ssh, but this ssh-client, which uses the master, seems not able to use the connection and just hangs (I didn't test how whether there's some kind of timeout if I wait _long_ enough, I killed ssh after 7 minutes) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Oct-15  10:21 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610 --- Comment #3 from Damien Miller <djm at mindrot.org> 2009-10-15 21:21:22 EST --- Could you enable debugging on both the master and slave ssh commands and attach the output? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Oct-18  19:39 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610 --- Comment #4 from fs-linux_bug at fschueller.eu 2009-10-19 06:39:31 EST --- Send via email -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Nov-10  03:04 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
--- Comment #5 from Damien Miller <djm at mindrot.org> 2009-11-10 14:04:01
EST ---
from email discussion: the reporter was running an interactive program
that expected to have access to the up SSH connection. This is outside
the intended usage of LocalCommand, which was provided to allow one-off
initialisation of tunnels, etc. In particular, ssh(1) execution is
blocked while the LocalCommand is executing, so there is no access to
the SSH connection possible.
I have updated the manpage to explain the constraints better, but the
constraints themselves will not be changing.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Mar-25  23:50 UTC
[Bug 1610] LocalCommand is executed to early
https://bugzilla.mindrot.org/show_bug.cgi?id=1610
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #6 from Darren Tucker <dtucker at zip.com.au> 2010-03-26
10:50:57 EST ---
With the release of 5.4p1, this bug is now considered closed.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.