<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><refsremotesoriginoihipster _class='hudson.plugins.git.util.Build'><buildNumber>3784</buildNumber><marked><SHA1>6c9484d6ccc2745c1c00282483c0af63228d063f</SHA1><branch><SHA1>6c9484d6ccc2745c1c00282483c0af63228d063f</SHA1><name>refs/remotes/origin/oi/hipster</name></branch></marked><revision><SHA1>6c9484d6ccc2745c1c00282483c0af63228d063f</SHA1><branch><SHA1>6c9484d6ccc2745c1c00282483c0af63228d063f</SHA1><name>refs/remotes/origin/oi/hipster</name></branch></revision></refsremotesoriginoihipster></buildsByBranchName><lastBuiltRevision><SHA1>6c9484d6ccc2745c1c00282483c0af63228d063f</SHA1><branch><SHA1>6c9484d6ccc2745c1c00282483c0af63228d063f</SHA1><name>refs/remotes/origin/oi/hipster</name></branch></lastBuiltRevision><remoteUrl>https://github.com/OpenIndiana/oi-userland.git</remoteUrl><scmName></scmName></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'><artifactsUrl>https://hipster.openindiana.org/jenkins/view/all/job/oi-encumbered/3784/artifact</artifactsUrl><changesUrl>https://hipster.openindiana.org/jenkins/view/all/job/oi-encumbered/changes</changesUrl><displayUrl>https://hipster.openindiana.org/jenkins/view/all/job/oi-encumbered/3784/</displayUrl><testsUrl>https://hipster.openindiana.org/jenkins/view/all/job/oi-encumbered/3784/testReport</testsUrl></action><building>false</building><displayName>#3784</displayName><duration>252538</duration><estimatedDuration>139137</estimatedDuration><fullDisplayName>oi-encumbered #3784</fullDisplayName><id>3784</id><inProgress>false</inProgress><keepLog>false</keepLog><number>3784</number><queueId>1659</queueId><result>SUCCESS</result><timestamp>1791953464641</timestamp><url>https://hipster.openindiana.org/jenkins/view/all/job/oi-encumbered/3784/</url><builtOn>encumbered_node</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>components/network/openssh/patches/1007-mkdir-path-autofs-existing-dirs.patch</affectedPath><affectedPath>components/network/openssh/Makefile</affectedPath><affectedPath>components/network/openssh/README</affectedPath><commitId>6c9484d6ccc2745c1c00282483c0af63228d063f</commitId><timestamp>1791953374000</timestamp><author><absoluteUrl>https://hipster.openindiana.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>openssh: fix agent forwarding for automounted home directories

OpenSSH 10.6 creates the forwarded-agent socket directory (default
AgentSocketPath user:.ssh/agent) with the new mkdir_path() helper,
which calls mkdirat(2) for every component of the absolute path,
including the home directory itself. On illumos, mkdir(2) of an entry
in an autofs indirect map such as the default /home returns ENOSYS
("Operation not applicable") instead of EEXIST, so since 10.6p1 every
user with an automounted home gets

  sshd-session[...]: error: mkdir_path: mkdir("/home/klausz"): Operation not applicable
  sshd-session[...]: error: agent_listener_user: failed to create agent socket parent directory

and no SSH_AUTH_SOCK. ssh-agent(1) started by such a user fails the
same way, as does sftp "lmkdir -p". 10.5 only created ~/.ssh and
~/.ssh/agent and was not affected.

Add 1007-mkdir-path-autofs-existing-dirs.patch: remember a non-EEXIST
mkdir error, open the component as a directory anyway and only fail
with the original mkdir error if that fails too. Same for the
non-openat fallback via stat(2). To be submitted upstream.

Tested on OpenIndiana Hipster 2026.04 with a lofs-automounted
/home/sshtest: unpatched 10.6p1 logs the errors above on "ssh -A" and
the session has no agent; with this patch the socket is created under
~/.ssh/agent (0700) and "ssh-add -l" lists the forwarded key. Logins
without -A and "AgentSocketPath shared:/tmp" work with both builds.
</comment><date>2026-10-14 06:49:34 +0200</date><id>6c9484d6ccc2745c1c00282483c0af63228d063f</id><msg>openssh: fix agent forwarding for automounted home directories</msg><path><editType>edit</editType><file>components/network/openssh/Makefile</file></path><path><editType>add</editType><file>components/network/openssh/patches/1007-mkdir-path-autofs-existing-dirs.patch</file></path><path><editType>edit</editType><file>components/network/openssh/README</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://hipster.openindiana.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName><id>noreply</id></culprit></freeStyleBuild>