Bug 128875 - gpg does not work with default non-root mlock settings
Summary: gpg does not work with default non-root mlock settings
Alias: None
Product: Fedora
Classification: Fedora
Component: gnupg
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Mike McLean
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
Reported: 2004-07-30 19:28 UTC by Bill Nottingham
Modified: 2014-03-17 02:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-09-26 18:58:45 UTC

Attachments (Terms of Use)

Description Bill Nottingham 2004-07-30 19:28:04 UTC
By default, we permit non-root mlock of up to 4k.

gpg tries to lock 32k, and fails.

We could either:

a) try to fix gpg to work with 4k
b) bump the limit in /etc/security/limits.conf

Comment 1 Rik van Riel 2004-08-17 15:41:49 UTC
The limit should probably be bumped to 32kB, in /etc/security/limits.conf

That way we can:
1) test the mlock patch better
2) see if there are issues with eg. sshd not obeying the limits in

Comment 2 Arjan van de Ven 2004-09-26 13:17:59 UTC
kernel defaults to 32k btw

Comment 3 Bill Nottingham 2004-09-26 18:58:45 UTC
And, it actually works now.

Note You need to log in before you can comment on or make changes to this bug.