FS#32616 - [gcr] ulimit -l too small for gcr in arch

Attached to Project: Arch Linux
Opened by Fritz Heinrichmeyer (Heinrichmeyer) - Monday, 12 November 2012, 12:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 12 November 2012, 21:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

i invoked gcr-viewer from command line and got an error

couldn't lock 16384 bytes of memory (attributes): Cannot allocate memory

a gnome developer responded (https://bugzilla.gnome.org/show_bug.cgi?id=688161) that locked memory may be too small. I cite:

<start citing>
It's likely that the limit on your machine is lower than the above. You can
increase it in a distro specific manner (often /etc/security/limits.conf) or
open a bug with you distro about changing the default to be higher in order to
accomodate gcr, gnome-keyring, libsecret and seahorse.
</stop citing>

this error message vanishes here if i raise the limit to 128
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 12 November 2012, 21:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcr 3.6.2-2
Comment by Alexander F. Rødseth (xyproto) - Monday, 12 November 2012, 19:15 GMT
@assignee The package is currently an orphan. Assigning to last packager. If this is unwanted, please assign to the maintainers of the packages that depends on this package. Thanks
Comment by Jan Alexander Steffens (heftig) - Monday, 12 November 2012, 21:04 GMT
I guess the sensible thing to do be adding a file to /etc/security/limits.d with:
@users - memlock 1024

Loading...