Bug 22340 - Mga5 -> 6 upgrade breaks sshfs
Summary: Mga5 -> 6 upgrade breaks sshfs
Status: RESOLVED DUPLICATE of bug 21884
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA6
Depends on:
Blocks:
 
Reported: 2018-01-07 11:33 CET by Barry Jackson
Modified: 2018-08-24 22:30 CEST (History)
3 users (show)

See Also:
Source RPM: openssh-7.5p1-2.1.mga6
CVE:
Status comment:


Attachments

Description Barry Jackson 2018-01-07 11:33:35 CET
Description of problem:
After upgrade from Mga5 to Mga6 on a server, sshfs can not mount directories on the server.

The path to sftp-server set in /etc/ssh/sshd_config which was /usr/lib64/ssh/sftp-server is changed in Mga6 to /usr/libexec/openssh/sftp-server.

Editing /etc/ssh/sshd_config with the new path fixes the issue.

Maybe a symlink from the old location to the new created on install of the new package in Mga6 would resolve this?



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Barry Jackson 2018-01-07 12:18:14 CET

Version: Cauldron => 6

Comment 1 Marja Van Waes 2018-01-08 20:05:33 CET
Assigning to the registered openssh maintainer.

CC: (none) => luigiwalser, marja11
Source RPM: openssh-server-7.5p1-2.1.mga6 => openssh-7.5p1-2.1.mga6
Assignee: bugsquad => guillomovitch

Comment 2 David Walser 2018-01-08 20:11:36 CET
You need to integrate changes from the default  (rpmnew) config file into yours, this is nothing new.  It might be nice to have a post scriplet fix this case automatically though.  In fact, didn't some one else already report this?
Comment 3 papoteur 2018-08-24 12:04:09 CEST
Hello,
This problem is also reported here :
https://www.mageialinux-online.org/forum/topic-25342+perte-du-sftp-lors-de-l-upgrade-de-mageia-5-vers-mageia-6.php

The soluce is to replace 
 Subsystem sftp /usr/lib64/ssh/sftp-server
by
 Subsystem sftp /usr/libexec/openssh/sftp-server
in /etc/ssh/sshd_config

Hope this help.

CC: (none) => yves.brungard_mageia

Comment 4 katnatek 2018-08-24 22:13:20 CEST
This bug is duplicate of bug#21884

*** This bug has been marked as a duplicate of bug 21884 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

katnatek 2018-08-24 22:30:42 CEST

Keywords: (none) => IN_ERRATA6


Note You need to log in before you can comment on or make changes to this bug.