• Bug#267285: libpam-mount: mount expects mount.crypt to be in sbin

    From Vance Lankhaar@1:229/2 to All on Sat Aug 21 21:30:21 2004
    From: [email protected]

    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    Package: libpam-mount
    Version: 0.9.20-1
    Severity: normal
    Tags: patch

    the mount command expects mount.crypt to be in /sbin/ but it gets
    installed to /usr/bin/ instead. Included is a patch to make a symlink
    from /sbin/mount.crypt to /usr/bin/mount.crypt. I know that the link
    should be the other direction in reality, and the patch isn't doing it
    in the automake way of specifying the target as
    $(DESTDIR)$(bindir)/mount.crypt because that didn't work with the debian
    way. I would do it properly, but automake is all Greek to me (and I'm
    not Greek ;)). Hence, consider the patch to be an ugly hack.

    Cheers,
    Vance Lankhaar

    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.8-x1
    Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)

    Versions of packages libpam-mount depends on:
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
    ii libglib2.0-0 2.4.4-1 The GLib library of C routines
    ii libssl0.9.7 0.9.7d-4 SSL shared libraries
    ii mount 2.12-3 Tools for mounting and manipulatin
    ii zlib1g 1:1.2.1.1-5 compression library - runtime

    -- no debconf information

    --- libpam-mount-0.9.20.old/debian/libpam-mount.dirs 2004-08-21 13:58:46.000000000 -0400
    +++ libpam-mount-0.9.20/debian/libpam-mount.dirs 2004-08-21 13:36:34.000000000 -0400
    @@ -1,3 +1,4 @@
    usr/bin
    +sbin
    etc/security
    etc/pam.d
    --- libpam-mount-0.9.20.old/scripts/Makefile.am 2004-04-25 23:17:41.000000000 -0400
    +++ libpam-mount-0.9.20/scripts/Makefile.am 2004-08-21 13:55:34.000000000 -0400
    @@ -24,3 +24,7 @@
    bin_SCRIPTS = mkehd autoehd passwdehd mount_ehd mount.crypt umount.crypt

    EXTRA_DIST = mkehd autoehd passwdehd mount_ehd mount.crypt umount.crypt
    +
    +install-exec-hook:
    + $(LN_S) $(bindir)/mount.crypt $(DESTDIR)/sbin/mount.crypt
    + $(LN_S) $(bindir)/umount.crypt $(DESTDIR)/sbin/umount.crypt
    \ No newline at end of file

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)