Skip to content

Update openssh #2051

Merged
merged 2 commits into from
Mar 15, 2021
Merged

Update openssh #2051

merged 2 commits into from
Mar 15, 2021

Conversation

donald
Copy link
Collaborator

@donald donald commented Mar 15, 2021

Update openssh.
After update, sshd needs to be restarted (best think of that before locking yourself out)
Works with new glibc, too (#2049)

@donald
Copy link
Collaborator Author

donald commented Mar 15, 2021

Tested on dose. pubkey, correct password, wrong password, x11 forwading, server and client... old and new glibc...

@pmenzel
Copy link
Collaborator

pmenzel commented Mar 15, 2021

Tested on serotimor.

LGTM

@donald
Copy link
Collaborator Author

donald commented Mar 15, 2021

On the running systems I can update and restart sshd. But firstchoice, kimchi , and weissweiler are down. If they come back up at a later time and their sshd is update by pdist, it won't be restated and sshd would stop working.

@donald donald merged commit eb0ea4f into master Mar 15, 2021
@pmenzel
Copy link
Collaborator

pmenzel commented Mar 16, 2021

SFTP does not work anymore.

debug1: subsystem: cannot stat /usr/lib/openssh/sftp-server: No such file or directory

But:

$ sudo bee query sftp-server
openssh-8.5_p1-0.x86_64
  /usr/share/man/man8/sftp-server.8
  /usr/libexec/sftp-server

Copying that file to the expected location, makes it work again.


SYSCONFDIR=/etc/ssh
DATADIR=/usr/share/sshd
LIBEXECDIR=/usr/lib/openssh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be needed after all.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, LIBEXECDIR is probably used by bee_configure. I still have the list files without and with the changes here. The yhow the difference, I just overlooked it.

@pmenzel
Copy link
Collaborator

pmenzel commented Mar 16, 2021

I am going to rebuild the package.

@wwwutz
Copy link
Collaborator

wwwutz commented Mar 16, 2021

that ok but not the fix. the path is coded in the config file. which is not oart of the package

@pmenzel
Copy link
Collaborator

pmenzel commented Mar 16, 2021

Updating the configuration file is also a fix.

@wwwutz
Copy link
Collaborator

wwwutz commented Mar 16, 2021

welll it is configuredf to this path and the config file is not part of the package. so...

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants