Package: libpam-mount
Version: 2.14-1.1+b1
Severity: normal

I installed libpam-mount in order to mount my encrypted extra disk in a
user specific directory. Now when the system is going into suspend
state, it always takes many seconds instead of immediate suspending as
it used to be before. I looked for system activities in this time period
and I see:

mount -tauto /dev/disk/by-uuid/7cc91167-664b-4bb5-b4b7-...

So, why does it have to mount a HDD again, which was already mounted
before? And how can I configure it to not mount/umount stuff when doing
suspend?

By the way, I also noticed a similar lag when the user is already logged
in locally and tries to login via SSH. Does it try something like the
things above and hangs around while disk is spinning up for no reason?

Best Regards,
Eduard.


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

Kernel: Linux 4.4.0+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages libpam-mount depends on:
ii  base-files      9.5
ii  libc6           2.21-7
ii  libcryptsetup4  2:1.7.0-2
ii  libhx28         3.22-1
ii  libmount1       2.27.1-3
ii  libpam-runtime  1.1.8-3.2
ii  libpam0g        1.1.8-3.2
ii  libpcre3        2:8.38-1
ii  libssl1.0.2     1.0.2f-2
ii  libxml2         2.9.3+dfsg1-1
ii  mount           2.27.1-3

libpam-mount recommends no packages.

Versions of packages libpam-mount suggests:
ii  cifs-utils  2:6.4-1
ii  davfs2      1.5.2-1.2
ii  fuse        2.9.5-1
ii  lsof        4.89+dfsg-0.1
pn  ncpfs       <none>
ii  openssl     1.0.2f-2
ii  psmisc      22.21-2.1+b1
ii  sshfs       2.5-1
pn  tc-utils    <none>
ii  xfsprogs    4.3.0

-- Configuration Files:
/etc/security/pam_mount.conf.xml changed:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
        See pam_mount.conf(5) for a description.
-->
<pam_mount>
                <!-- debug should come before everything else,
                since this file is still processed in a single pass
                from top-to-bottom -->
<debug enable="0" />
                <!-- Volume definitions -->
                <!-- pam_mount parameters: General tunables -->
<luserconf name=".pam_mount.conf.xml" />
<!-- Note that commenting out mntoptions will give you the defaults.
     You will need to explicitly initialize it with the empty string
     to reset the defaults to nothing. -->
<mntoptions 
allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<logout wait="0" hup="0" term="0" kill="0" />
                <!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
<volume user="anon" 
path="/dev/disk/by-uuid/7cc91167-664b-4bb5-b4b7-0b61787d832c" 
mountpoint="/home/anon/data" />
</pam_mount>


-- no debconf information

-- 
"Lassen Sie sich 'Sklaventreiber' auf die Stirn tätowieren. Das ist
ehrlich, da wissen wir alle woran wir sind".
                                                    -- Volker Pispers

Reply via email to