misleading error message if cifs-utils not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 16.04.2: If cifs-utils is not installed the following command gives error messages making no sense:
sudo mount -t cifs -o credentials=
The message is:
mount: wrong fs type, bad option, bad superblock on //192.168.
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so.
The dmesg output is:
[2408337.346794] CIFS VFS: No username specified
But the username is specified in .credentials. It should better say: "cifs-utils needed, but not installed - Install it now? [Y/n]"
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mount 2.27.1-6ubuntu3.2
ProcVersionSign
Uname: Linux 4.4.0-81-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 29 13:25:41 2017
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)
That's not something that mount is going to do.