| Summary: | Machine is not accessible via sftp after update from mga5 to mga6. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Viktor Mojr <viktormojr> |
| Component: | RPM Packages | Assignee: | Guillaume Rousse <guillomovitch> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | j.alberto.vc, mageia, marja11, zen25000 |
| Version: | 6 | Keywords: | IN_ERRATA6 |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | http://www.unix.com/unix-for-dummies-questions-and-answers/165675-sftp-issue-connection-closed-2.html?s=d181a0918345b4e6c7a25f2277733350 | ||
| Whiteboard: | |||
| Source RPM: | openssh | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 21340 | ||
|
Description
Viktor Mojr
2017-10-17 06:50:45 CEST
The sftp-server file did indeed move between Mga5 and Mga6 versions of openssh-server
<marja> :findfile -v5 /usr/lib64/ssh/sftp-server
<Sophie> find in (Mga, 5, x86_64) : openssh-server
<marja> :findfile -v6 /usr/lib64/ssh/sftp-server
<Sophie> Sorry, no file /usr/lib64/ssh/sftp-server found in (Mga, 6, x86_64)
<marja> :findfile -v5 /usr/libexec/openssh/sftp-server
<Sophie> Sorry, no file /usr/libexec/openssh/sftp-server found in (Mga, 5,..
<marja> :findfile -v6 /usr/libexec/openssh/sftp-server
<Sophie> find in (Mga, 6, x86_64) : openssh-server
Assigning to our registered openssh maintainerCC:
(none) =>
marja11 I'd say it's not a bug. /etc/ssh/sshd_config is installed as /etc/ssh/sshd_config.rpmnew during upgrade. It's up to the system administrator to diff current conf against the new one and apply changes if needed. CC:
(none) =>
mageia That's true. For a case like this, it probably wouldn't hurt to have a install trigger that replaces the old value if it's in your config. First, that's not the first time an executable change location between release, especially since we started to use /usr/libexec path. Second, I'm not confortable with the idea of automatically changing content of configuration files after initial installation, even with the best intent, as it seems far most susceptible to cause unexpected troubles for everybody than anything else. Users have been expected to review configuration changes after update since the beginning of the distribution (they are even tools to make this easier), why should we change this assumption now ? Closing as wontfix. Status:
NEW =>
RESOLVED WorkArround https://bugs.mageia.org/show_bug.cgi?id=21255#c1
katnatek
2018-03-15 00:12:23 CET
Blocks:
(none) =>
21340 |