mount.cifs with sec=krb5 fails with No such file or directory

Bug #1774645 reported by Gerald Hochegger
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ubuntu 18.04 fresh installation
cifs-utils 2:6.4-1ubuntu1

mount.cifs fails when the option sec=krb5 is given.

The error message "No such file or directory" is not very helpful.

After searching for some time for the reason, I found the /sbin/request-key program was missing, so cifs.upcall was not called and no kerberos key could be loaded. Installing the keyutils package fixes the problem.

Please add a dependency on keyutils to the package cifs-utils.

This is a duplicate of bug #1734700 in ubuntu 17.10 - but still present in 18.04
Bug #1772148 also needs keyutils installed when cifs-utils is installed.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cifs-utils 2:6.8-1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Jun 1 15:28:18 2018
InstallationDate: Installed on 2018-05-09 (22 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: cifs-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gerald Hochegger (gerald-hochegger) wrote :
Revision history for this message
Gerard Fowley (gfowley) wrote :

Thanks for the solution, this was no fun to debug on multiple servers.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cifs-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822841 is what downgraded keyutils from a Recommends to a Suggests

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

keyutils is a Recommends since cifs-utils 2:6.11-2

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.