Package: libpam-mount Version: 2.1+git20100509-1 Severity: serious Justification: this version must not enter testing
Hi, The current version of libpam-mount install a broken umount.crypt. Whatever arguments I put on the command line, I got an error: For example: eyak:/home/vdanjean# /sbin/mount.crypt /srv/vdanjean/crypt/ /sbin/mount.crypt: You need to specify the mountpoint eyak:/home/vdanjean# /sbin/mount.crypt --umount /srv/vdanjean/crypt/ Unknown option: --umount Usage: mount.crypt [-fnrv] [-?|--help] [--usage] eyak:/home/vdanjean# Looking at the code, this behavior can be explained (but is wrong :-) ). In the main function of mtcrypt.c: /* primitive test, but %HXOPT_PTHRU blows up */ if (argc >= 2 && strcmp(argv[1], "--umount") == 0) { struct umount_options opt; memset(&opt, 0, sizeof(opt)); if (!mtcr_get_umount_options(&argc, &argv, &opt)) return EXIT_FAILURE; return mtcr_umount(&opt) > 0 ? EXIT_SUCCESS : EXIT_FAILURE; } else { So, if the first argument is not --umount, we continue (as if it is a mount invocation). If the first argument is --umount, then we parse umount arguments but --umount is not one of them (not show on this part of code, see the file). In the testing version of libpam-mount, the parsing in main was done differently: if (strncmp(HX_basename(*argv), "umount", strlen("umount")) == 0) { struct umount_options opt; memset(&opt, 0, sizeof(opt)); if (!mtcr_get_umount_options(&argc, &argv, &opt)) return EXIT_FAILURE; return mtcr_umount(&opt) > 0 ? EXIT_SUCCESS : EXIT_FAILURE; } else { and was working. I set severity to grave to avoid a testing migration. Regards, Vincent -- System Information: Debian Release: squeeze/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libpam-mount depends on: ii libc6 2.11-0exp6 Embedded GNU C Library: Shared lib ii libcryptsetup1 2:1.1.0-2.1 libcryptsetup shared library ii libhx22 3.4-1 A library providing queue, tree, I ii libpam-runtime 1.1.1-3 Runtime support for the PAM librar ii libpam0g 1.1.1-3 Pluggable Authentication Modules l ii libssl0.9.8 0.9.8n-1 SSL shared libraries ii libxml2 2.7.7.dfsg-2 GNOME XML library ii mount 2.17.2-1 Tools for mounting and manipulatin libpam-mount recommends no packages. Versions of packages libpam-mount suggests: pn davfs2 <none> (no description available) ii fuse-utils 2.8.1-1.2 Filesystem in USErspace (utilities ii lsof 4.81.dfsg.1-1 List open files pn ncpfs <none> (no description available) ii openssl 0.9.8n-1 Secure Socket Layer (SSL) binary a ii psmisc 22.11-1 utilities that use the proc file s pn smbfs <none> (no description available) ii sshfs 2.2-1 filesystem client based on SSH Fil pn tc-utils <none> (no description available) pn xfsprogs <none> (no description available) -- debconf information: * libpam-mount/convert-xml-config: false -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org