Debian Bug report logs - #967972
cifs-utils: fails to mount filesystem when keyutils is not installed

version graph

Package: cifs-utils; Maintainer for cifs-utils is Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>; Source for cifs-utils is src:cifs-utils (PTS, buildd, popcon).

Reported by: fabien <debian@tachatte.org>

Date: Thu, 6 Aug 2020 06:54:01 UTC

Severity: normal

Found in version cifs-utils/2:6.9-1

Fixed in version 2:6.11-3

Done: Mathieu Parent <math.parent@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian@tachatte.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#967972; Package cifs-utils. (Thu, 06 Aug 2020 06:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to fabien <debian@tachatte.org>:
New Bug report received and forwarded. Copy sent to debian@tachatte.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Thu, 06 Aug 2020 06:54:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: fabien <debian@tachatte.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cifs-utils: fails to mount filesystem when keyutils is not installed
Date: Thu, 06 Aug 2020 08:50:26 +0200
Package: cifs-utils
Version: 2:6.9-1
Severity: normal
X-Debbugs-Cc: debian@tachatte.org

Dear Maintainer,

when mounting a cifs filesystem I got a "No such file or directory" error
message. This was solved by installing keyutils (but this is not
documented anywhere).


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cifs-utils depends on:
ii  libc6         2.31-3
ii  libcap-ng0    0.7.9-2.2
ii  libkeyutils1  1.6.1-2
ii  libkrb5-3     1.17-10
ii  libpam0g      1.3.1-5
ii  libtalloc2    2.3.1-1
ii  libwbclient0  2:4.12.5+dfsg-3

cifs-utils recommends no packages.

Versions of packages cifs-utils suggests:
ii  keyutils   1.6.1-2
pn  smbclient  <none>
pn  winbind    <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#967972; Package cifs-utils. (Mon, 07 Jun 2021 04:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jonathon Reinhart <jonathon.reinhart@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Mon, 07 Jun 2021 04:36:03 GMT) (full text, mbox, link).


Message #10 received at 967972@bugs.debian.org (full text, mbox, reply):

From: Jonathon Reinhart <jonathon.reinhart@gmail.com>
To: 967972@bugs.debian.org
Subject: Re: cifs-utils: fails to mount filesystem when keyutils is not installed
Date: Mon, 7 Jun 2021 00:33:05 -0400
Some sources incorrectly indicate that keyutils is only needed with
DFS, but keyutils is also needed when using CIFS w/ Kerberos
authentication.

When trying to mount a CIFS share using kerberos (sec=krb5), the
kernel invokes /sbin/request-key to request a key from userspace. Then
cifs.upcall (from cifs-utils) is executed to handle the SPNEGO
authentication.

If keyutils is not installed, then /sbin/request-key is absent, and
the kernel is completely silent about this.

[  +0.497021] CIFS VFS: Send error in SessSetup = -2
[  +0.000992] CIFS VFS: cifs_mount failed w/return code = -2

Thus, I strongly agree with the proposal for cifs-utils to *Recommend*
keyutils, rather than merely *Suggesting* it.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#967972; Package cifs-utils. (Mon, 07 Jun 2021 07:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to L.P.H. van Belle <belle@bazuin.nl>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Mon, 07 Jun 2021 07:03:03 GMT) (full text, mbox, link).


Message #15 received at 967972@bugs.debian.org (full text, mbox, reply):

From: L.P.H. van Belle <belle@bazuin.nl>
To: Jonathon Reinhart <jonathon.reinhart@gmail.com>, 967972@bugs.debian.org <967972@bugs.debian.org>
Subject: RE: [Pkg-samba-maint] Bug#967972: cifs-utils: fails to mount filesystem when keyutils is not installed
Date: Mon, 7 Jun 2021 08:54:31 +0200
That is already set 
See closed bug in cifs-utils, bugnr.: #986867  

Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: Pkg-samba-maint 
> [mailto:pkg-samba-maint-bounces+belle=bazuin.nl@alioth-lists.d
ebian.net] Namens Jonathon Reinhart
> Verzonden: maandag 7 juni 2021 6:33
> Aan: 967972@bugs.debian.org
> Onderwerp: [Pkg-samba-maint] Bug#967972: cifs-utils: fails to 
> mount filesystem when keyutils is not installed
> 
> Some sources incorrectly indicate that keyutils is only needed with
> DFS, but keyutils is also needed when using CIFS w/ Kerberos
> authentication.
> 
> When trying to mount a CIFS share using kerberos (sec=krb5), the
> kernel invokes /sbin/request-key to request a key from userspace. Then
> cifs.upcall (from cifs-utils) is executed to handle the SPNEGO
> authentication.
> 
> If keyutils is not installed, then /sbin/request-key is absent, and
> the kernel is completely silent about this.
> 
> [  +0.497021] CIFS VFS: Send error in SessSetup = -2
> [  +0.000992] CIFS VFS: cifs_mount failed w/return code = -2
> 
> Thus, I strongly agree with the proposal for cifs-utils to *Recommend*
> keyutils, rather than merely *Suggesting* it.
> 
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-s
> amba-maint
> 
> 




Reply sent to Mathieu Parent <math.parent@gmail.com>:
You have taken responsibility. (Wed, 09 Jun 2021 14:48:03 GMT) (full text, mbox, link).


Notification sent to fabien <debian@tachatte.org>:
Bug acknowledged by developer. (Wed, 09 Jun 2021 14:48:03 GMT) (full text, mbox, link).


Message #20 received at 967972-done@bugs.debian.org (full text, mbox, reply):

From: Mathieu Parent <math.parent@gmail.com>
To: Jonathon Reinhart <jonathon.reinhart@gmail.com>, 967972-done@bugs.debian.org
Subject: Re: [Pkg-samba-maint] Bug#967972: cifs-utils: fails to mount filesystem when keyutils is not installed
Date: Wed, 9 Jun 2021 16:45:12 +0200
Version: 2:6.11-3

Hi,


This bug is a dup of #987308 which was closed in 2:6.11-3.

Regards

Le lun. 7 juin 2021 à 06:36, Jonathon Reinhart
<jonathon.reinhart@gmail.com> a écrit :
>
> Some sources incorrectly indicate that keyutils is only needed with
> DFS, but keyutils is also needed when using CIFS w/ Kerberos
> authentication.
>
> When trying to mount a CIFS share using kerberos (sec=krb5), the
> kernel invokes /sbin/request-key to request a key from userspace. Then
> cifs.upcall (from cifs-utils) is executed to handle the SPNEGO
> authentication.
>
> If keyutils is not installed, then /sbin/request-key is absent, and
> the kernel is completely silent about this.
>
> [  +0.497021] CIFS VFS: Send error in SessSetup = -2
> [  +0.000992] CIFS VFS: cifs_mount failed w/return code = -2
>
> Thus, I strongly agree with the proposal for cifs-utils to *Recommend*
> keyutils, rather than merely *Suggesting* it.
>
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-samba-maint



-- 
Mathieu



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 08 Jul 2021 07:25:21 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:25:27 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.