[Bug 1701242] [NEW] misleading error message if cifs-utils not installed

Stefan Helmert helst_listen at aol.de
Thu Jun 29 11:32:12 UTC 2017


Public bug reported:

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=~/.credentials //192.168.1.2/austausch
/media/austausch

The message is:

mount: wrong fs type, bad option, bad superblock on //192.168.1.2/austausch,
       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
ProcVersionSignature: Ubuntu 4.4.0-81.104-generic 4.4.67
Uname: Linux 4.4.0-81-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
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)

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1701242

Title:
  misleading error message if cifs-utils not installed

Status in util-linux package in Ubuntu:
  New

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=~/.credentials
  //192.168.1.2/austausch /media/austausch

  The message is:

  mount: wrong fs type, bad option, bad superblock on //192.168.1.2/austausch,
         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
  ProcVersionSignature: Ubuntu 4.4.0-81.104-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1701242/+subscriptions



More information about the foundations-bugs mailing list