[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768495: marked as done (Upgrade from 2.20.1-5.11 to 2.25.2-2 breaks pam-mount)



Your message dated Fri, 18 Nov 2016 09:33:53 +0000
with message-id <E1c7fYP-000Dxv-5W@fasolo.debian.org>
and subject line Bug#768495: fixed in libpam-mount 2.16-1
has caused the Debian Bug report #768495,
regarding Upgrade from 2.20.1-5.11 to 2.25.2-2 breaks pam-mount
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
768495: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768495
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mount
Version: 2.25.2-2


I am using mount with pam-mount and davfs2 to mount Owncloud WebDAV shares on user accounts. The actual mounting is done by pushing a custom /etc/security/pam_mount.conf.xml file to the clients where the right davfs2 configuration is written.

It looks like this:  <volume user="communications" fstype="davfs" path="SERVER" mountpoint="~/Owncloud" options="uid=communications,file_mode=0777,dir_mode=0777" />

To be clear, the order in which mount, libpam-mount and davfs2 are called is: pam-mount -> mount -> davfs2

Anyway, since I upgraded from 2.20.1-5.11 to 2.25.2-2, I get this error message when a user logs in (system tries to mount the right share automatically):

Nov 7 12:43:49 age3 systemd[2452]: (mount.c:72): Messages from underlying mount program:
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): mount: invalid option -- 'p'
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76):
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): Usage:
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): mount [-lhV]
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): mount -a [options]
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): mount [options] [--source] <source> | [--target] <directory>
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): mount [options] <source> <directory>
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): mount <operation> <mountpoint> [<target>]
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76):
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): Options:
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -a, --all mount all filesystems mentioned in fstab
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -c, --no-canonicalize don't canonicalize paths
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -f, --fake dry run; skip the mount(2) syscall
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -F, --fork fork off for each device (use with -a)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -T, --fstab <path> alternative file to /etc/fstab
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -h, --help display this help text and exit
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -i, --internal-only don't call the mount.<type> helpers
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -l, --show-labels lists all mounts with LABELs
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -n, --no-mtab don't write to /etc/mtab
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -o, --options <list> comma-separated list of mount options
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -O, --test-opts <list> limit the set of filesystems (use with -a)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -r, --read-only mount the filesystem read-only (same as -o ro)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -t, --types <list> limit the set of filesystem types
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --source <src> explicitly specifies source (path, label, uuid)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --target <target> explicitly specifies mountpoint
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -v, --verbose say what is being done
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -V, --version display version information and exit
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -w, --rw, --read-write mount the filesystem read-write (default)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76):
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -h, --help display this help and exit
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -V, --version output version information and exit
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76):
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): Source:
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -L, --label <label> synonym for LABEL=<label>
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -U, --uuid <uuid> synonym for UUID=<uuid>
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): LABEL=<label> specifies device by filesystem label
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): UUID=<uuid> specifies device by filesystem UUID
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): PARTLABEL=<label> specifies device by partition label
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): PARTUUID=<uuid> specifies device by partition UUID
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): <device> specifies device by path
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): <directory> mountpoint for bind mounts (see --bind/rbind)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): <file> regular file for loopdev setup
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76):
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): Operations:
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -B, --bind mount a subtree somewhere else (same as -o bind)
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -M, --move move a subtree to some other place
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): -R, --rbind mount a subtree and all submounts somewhere else
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-shared mark a subtree as shared
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-slave mark a subtree as slave
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-private mark a subtree as private
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-unbindable mark a subtree as unbindable
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-rshared recursively mark a whole subtree as shared
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-rslave recursively mark a whole subtree as slave
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-rprivate recursively mark a whole subtree as private
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): --make-runbindable recursively mark a whole subtree as unbindable
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76):
Nov 7 12:43:49 age3 systemd[2452]: (mount.c:76): For more details see mount(8).
Nov 7 12:43:49 age3 systemd[2452]: (pam_mount.c:522): mount of https://cloud.agebdeb.org/remote.php/webdav/ failed
Nov 7 12:43:49 age3 systemd[2452]: (pam_mount.c:173): conv->conv(...): Conversation error
Nov 7 12:43:49 age3 systemd[2452]: (pam_mount.c:477): warning: could not obtain password interactively either

The only package of the 3 that has been upgraded is mount. I thus think it might be a problem with the lastest update.
I was able to replicate the problem twice by upgrading to the newest version of mount.

I'm still pretty new with bug reports. If you need something else please ask.

--
Louis-Philippe Véronneau

--- End Message ---
--- Begin Message ---
Source: libpam-mount
Source-Version: 2.16-1

We believe that the bug you reported is fixed in the latest version of
libpam-mount, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 768495@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspricke@debian.org> (supplier of updated libpam-mount package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 18 Nov 2016 09:33:22 +0100
Source: libpam-mount
Binary: libpam-mount
Architecture: source
Version: 2.16-1
Distribution: unstable
Urgency: medium
Maintainer: Jochen Sprickerhof <jspricke@debian.org>
Changed-By: Jochen Sprickerhof <jspricke@debian.org>
Description:
 libpam-mount - PAM module that can mount volumes for a user session
Closes: 768495 774991 828404
Changes:
 libpam-mount (2.16-1) unstable; urgency=medium
 .
   * Update watch file
   * New upstream version 2.16 (Closes: #828404, #768495)
   * Update patches
   * Add patch for array declaration
   * New maintainer (Closes: #774991)
Checksums-Sha1:
 b93e496be4f60c6eafeb49826012ecfb91cf7f89 2118 libpam-mount_2.16-1.dsc
 83c54a5544752ef4aa5a032ebe3cc8a995b0d71f 312316 libpam-mount_2.16.orig.tar.xz
 1d77fa5d982d998ca32a449352a731a68f60f679 30856 libpam-mount_2.16-1.debian.tar.xz
Checksums-Sha256:
 38190335c16d4a2d79dd083c78d4f46c6bbc9efe06395edc7a459b80d7f0c72e 2118 libpam-mount_2.16-1.dsc
 ae0207ea6c96189414f906a7b0880abc7751a98e26b3d0375c9afab3722471e7 312316 libpam-mount_2.16.orig.tar.xz
 725a05d41659cc088dbee79c4c619102379136cad61bf1174f6d8e93cacc6f26 30856 libpam-mount_2.16-1.debian.tar.xz
Files:
 4a0ad9b4464bdf7c57211a17fe82a9e9 2118 admin extra libpam-mount_2.16-1.dsc
 53f0233c0e7cfb8d35f5bc5b279aa6b8 312316 admin extra libpam-mount_2.16.orig.tar.xz
 cae36222e8efefbaec516ae7eda6e4a0 30856 admin extra libpam-mount_2.16-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAlguxeAUHGpzcHJpY2tl
QGRlYmlhbi5vcmcACgkQW//cwljmlDPn2Q/9GbGsDuxxCFuRypgpNHyUJ9hyrqS+
pd80zwX/BLCeK2aXIT2+0MqQm7HbrkoavPlqMN+uDLFKjTDN8vmpdEr2Qa8raJJy
p+33zy9RRzyTaABMNIYdUWxqAlzgaXzb4pepbslmTcEXDoJrPP3s3IYmuNe4is75
udLW1PN4LleZky0CZbqDuJEpmIrikjQUmX1P342x323znVcxLqCbFzfa4/N6fy6p
u8CKGHhZbt09ES7Qa9tGU36hkqn/zVZpgi6NT4v9TEsFvwI/xYpZM3vnkPShSxIX
r6y72z51EJSX5H6xQCVgZhoTjdO2hnAW87CA7lkOTpKAjibqaRxD7VYphx9P4znu
gWEjsp+/ndn5KIRTJayQhb3VbC9Q4ezuiukLK559MUx1gc1u6b2MYNK9GiYtw/Jq
yxp0+gzQisxFaIwohLeeZW/dSiuAoaqbuD2iLVXkFerPzyKPGDUHwkAsN4I84QyC
Kk5imdAqlJd6sAYH/UvGup8KOHTajHnFVf6ZCMOlap65Y2Ua9oThaJIgDyDIG006
rL6fBrDZm9doWHV4Okz2dvPV0kjo14XjuCHKEOLwYGRime69E4ygDIUP77wkQfIu
PbpN23CAxQEezmywmhcIB2vO3mSuC9Xoq6iE/aeVqIVfB3MN09blOKknp9qjOd1F
vZIXF7chZAIZEAs=
=MIIe
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: