Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68500 - [mc] Midnight Commander should probably not be compiled with --enable-vfs-smb

Attached to Project: Community Packages
Opened by Riccardo Paolo Bestetti (vmsh0) - Monday, 02 November 2020, 09:24 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 16 November 2020, 17:45 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Jakob Gruber (schuay)
Alad Wenter (Alad)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
From the PKGBUILD for Midnight Commander (mc package):

./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--enable-vfs-smb \
--with-screen=slang \
--with-x

The --enable-vfs-smb flag enables SMB support, which has been broken for a really long time[1], since apparently[2] it still uses an SMB implementation copied straight from Samba, dated 1995. This is of course a security risk. Also, in my experience, it just doesn't work most of the time when using with recent SMB servers, giving generic error messages such as "Cannot chdir to /smb://[share name]".

[1]: https://midnight-commander.org/ticket/1
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520114#12

Additional info:
* package version(s): 4.8.25-3
* link to upstream bug report, if any: https://midnight-commander.org/ticket/1

Steps to reproduce:
n/a
This task depends upon

Comment by Riccardo Paolo Bestetti (vmsh0) - Monday, 02 November 2020, 11:02 GMT
(apologies, I forgot to put the package name in the title - maybe someone could fix that.)

Loading...