Package: libpam-modules
Version: 1.0.1-4+b1
Severity: normal

Problem is this:
$ /sbin/losetup -e twofish -k 128 /dev/loop4 /el_dir/das_filu
memlock: Cannot allocate memory
Couldn't lock into memory, exiting.
$

it seems like initially 

$ ulimit -a
core file size          (blocks, -c) 1000000
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 8183
max locked memory       (kbytes, -l) 32
...

even tought there is no limit specified in /etc/security/limits.conf
for max locked memory. I have no clue where this 32k is coming from,
I'm filing this bugreport againts pam-modules as problem may be fixed
there by setting max locked mem limit to bignum or unlimited, see:

$ ulimit -a
...
max locked memory       (kbytes, -l) unlimited
...
$ /sbin/losetup -e twofish -k 128 /dev/loop4 /el_dir/das_filu
Password: 

e.g. the work-around is to edit /etc/security/limits.conf. 

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpam-modules depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-11  Berkeley v4.6 Database Libraries [
ii  libpam0g                      1.0.1-4+b1 Pluggable Authentication Modules l
ii  libselinux1                   2.0.65-5   SELinux shared libraries

libpam-modules recommends no packages.

libpam-modules suggests no packages.

-- no debconf information


--
Antti



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to