cifs-utils apparently installed but not working, reinstalling fixes (no sign of filesystem corruption)

Bug #1247746 reported by Stéphane Gourichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
New
Medium
Unassigned

Bug Description

Something unusual happened on a fresh Ubuntu 13.10.

This might not be a mount.cifs bug but a bug elsewhere.

# Expected behavior

This command worked on 12.10 :

sudo mount -f cifs '//someip/d$' /home/me/validmountpoint -o credentials=/home/me/validcredentialfile.txt,uid=me

# Observed behavior

On a fresh 13.10 it said:

mount : mauvais type de système de fichiers, option erronée, superbloc erroné
        sur //192.168.46.45/d$, page de code ou programme auxiliaire manquant, ou autre erreur
       (pour plusieurs système de fichiers (NFS ou CIFS par exemple), un
        programme /sbin/mount.<type> auxiliaire pourrait être nécessaire)
       Dans quelques cas certaines informations sont utiles dans le journal
        système — essayez « dmesg | tail » ou quelque chose du genre

Issuing dmesg | tail:

[ 3086.625796] Key type cifs.spnego registered
[ 3086.625807] Key type cifs.idmap registered
[ 3086.626002] CIFS VFS: No username specified
[ 3131.708188] CIFS VFS: No username specified
[ 3140.987030] CIFS VFS: No username specified
[ 3181.673731] CIFS VFS: No username specified
[ 3220.421438] CIFS VFS: No username specified
[ 3350.687984] CIFS VFS: No username specified
[ 3611.204837] CIFS VFS: No username specified
[ 3683.110053] CIFS VFS: No username specified

# cifs-utils ? Already installed

The net says: install cifs-utils. But:

sudo aptitude install cifs-utils

Aucun paquet ne va être installé, mis à jour ou enlevé.
0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 0 o seront utilisés.

Indeed it is already installed:

dpkg -l "cifs-utils"

Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-================================-=====================-=====================-======================================================================
ii cifs-utils 2:6.0-1ubuntu2 amd64 Common Internet File System utilities

# Command still fails, what to do ?

I asked aptitude, in interactive mode, to reinstall cifs-utils.

(Lecture de la base de données... 164854 fichiers et répertoires déjà installés.)
Préparation du remplacement de cifs-utils 2:6.0-1ubuntu2 (en utilisant .../cifs-utils_2%3a6.0-1ubuntu2_amd64.deb) ...
Dépaquetage de la mise à jour de cifs-utils ...
Traitement des actions différées (« triggers ») pour « man-db »...
Paramétrage de cifs-utils (2:6.0-1ubuntu2) ...
Appuyez sur Entrée pour continuer.

Then the command works.

dmesg | tail has exactly same output as before.

# Additional information

One might suspect some kind of incomplete install of package.
Besides this, system work normally, was well used for two days without specific problem.
Hardware is sane, no sign of filesystem corruption, UBuntu 12.10 still there and working.

Any idea why it could have failed ?

lsb_release -rd

Description: Ubuntu 13.10
Release: 13.10

The command below is typed after reinstalling the package. Yet aptitude said it was same version.

LC_ALL=C apt-cache policy cifs-utils

cifs-utils:
  Installed: 2:6.0-1ubuntu2
  Candidate: 2:6.0-1ubuntu2
  Version table:
 *** 2:6.0-1ubuntu2 0
        500 http://fr.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

Regards,

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cifs-utils 2:6.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Mon Nov 4 08:30:47 2013
MarkForUpload: True
SourcePackage: cifs-utils
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.request.key.d.cifs.idmap.conf: [deleted]
modified.conffile..etc.request.key.d.cifs.spnego.conf: [deleted]

Revision history for this message
Stéphane Gourichon (stephane-gourichon-lpad) wrote :
Mathew Hodson (mhodson)
Changed in cifs-utils (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.