Bug 1177456 - Wrong path for sftp-server in sshd_config
Summary: Wrong path for sftp-server in sshd_config
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hans Petter Jansson
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-08 02:42 UTC by Mitch Frazier
Modified: 2020-10-08 14:48 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mitch Frazier 2020-10-08 02:42:34 UTC
The initial sshd_config file contains the following configuration option:

  Subsystem  sftp  /usr/lib/ssh/sftp-server

The correct path is:

  Subsystem  sftp  /usr/libexec/ssh/sftp-server
Comment 1 Neil Rickert 2020-10-08 13:53:03 UTC
You should have a file "/etc/ssh/sshd_config.rpmnew" which contains the change.  It is there as a ".rpmnew" file so that you will merge this change into your local configuration.

It's a good idea with Tumbleweed to run

 rpmconfigcheck

from time to time.  That should report such configuration changes, so that you can take care of them.
Comment 2 Mitch Frazier 2020-10-08 14:37:07 UTC
Shortly after filing the bug that idea occured to me.  Although, I just checked it now and I don't see that change.  If there are multiple changes across multiple upgrades should I see multiple rpmnew* files?  Or could I end up missing changes?
Comment 3 Mitch Frazier 2020-10-08 14:48:59 UTC
Ignore that.  Did a diff with the fixed file so it's in there.