bugzilla-daemon at mindrot.org
2025-Jun-23 20:18 UTC
[Bug 3842] New: Match !final triggers re-parsing round
https://bugzilla.mindrot.org/show_bug.cgi?id=3842
Bug ID: 3842
Summary: Match !final triggers re-parsing round
Product: Portable OpenSSH
Version: 10.0p2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: nix-muell at gmx.net
Created attachment 3885
--> https://bugzilla.mindrot.org/attachment.cgi?id=3885&action=edit
trivial fix
I do weird things with 'Match exec'. Sometimes re-parsing happens
because hostname canonicalization. Sometimes I force it with 'Match
final' when debugging my 'exec's. But overall, I try to avoid it.
Some 'exec's I want only executed once (if at all), so I write them as
'Match !final exec'. This works as expected, but I noticed that it also
triggers a re-parse round (and only because it takes a lot longer to
process in cygwin).
Seems like a trivial oversight/bug to me.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Jun-24 00:49 UTC
[Bug 3842] Match !final triggers re-parsing round
https://bugzilla.mindrot.org/show_bug.cgi?id=3842
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Attachment #3885|0 |1
is patch| |
Attachment #3885|application/octet-stream |text/plain
mime type| |
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Jun-24 00:51 UTC
[Bug 3842] Match !final triggers re-parsing round
https://bugzilla.mindrot.org/show_bug.cgi?id=3842
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
CC| |dtucker at dtucker.net
Attachment #3886| |ok?(dtucker at dtucker.net)
Flags| |
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3886
--> https://bugzilla.mindrot.org/attachment.cgi?id=3886&action=edit
Similar fix
I actually sent a similar fix that I sent to a few people recently
(attached)
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Jun-24 00:56 UTC
[Bug 3842] Match !final triggers re-parsing round
https://bugzilla.mindrot.org/show_bug.cgi?id=3842
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3886|ok?(dtucker at dtucker.net) |ok+
Flags| |
--
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 mindrot.org
2025-Jun-24 09:25 UTC
[Bug 3842] Match !final triggers re-parsing round
https://bugzilla.mindrot.org/show_bug.cgi?id=3842
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Fix committed as 688fa02728f2e
--
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.