From owner-freebsd-gnome@FreeBSD.ORG Mon Apr 23 03:06:42 2012 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2FAA1065670 for ; Mon, 23 Apr 2012 03:06:42 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 78B668FC0C for ; Mon, 23 Apr 2012 03:06:42 +0000 (UTC) Received: by iahk25 with SMTP id k25so20834410iah.13 for ; Sun, 22 Apr 2012 20:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BIJbSklGfwcbnbLusKWFWcf9a+xQclwgyVAqKNXyGhE=; b=KdwxA155/VSpHhI/voLTNFsnceM8CKW1NONmnK3ekCbWKLuIUukTLEJs/7rNbOhzKm BgO5W4tYESbYHxly2Bv1qsiC2zrVuk9j3efMRDUkuH7WmSEajY+T5a4U3QgjbFYcKOBm ybCfmmK7YWfymC36pA1XZRhHd7+ilSihieG4PEBP/VEM1AZOZePyMctw3ehY2qsXDpWK 6j0FCyiOgNgmAClFQVy+igpwdqccHjW/gkRHMZXChz4cuuLgdi3J1d+1MHmTCfZX8amx r+M4FHGfbTqrSFUvxAQy3SJHkY1OyVN6pixazr3X/NPc9RLAFm7H2x//qoYLLlI2mIci 14uQ== MIME-Version: 1.0 Received: by 10.50.140.71 with SMTP id re7mr4912142igb.67.1335150401946; Sun, 22 Apr 2012 20:06:41 -0700 (PDT) Received: by 10.42.153.4 with HTTP; Sun, 22 Apr 2012 20:06:41 -0700 (PDT) In-Reply-To: References: Date: Sun, 22 Apr 2012 22:06:41 -0500 Message-ID: From: Jeremy Messenger To: AN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gnome@freebsd.org Subject: Re: Unable to allocate secure memory from gnome-keyring X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 03:06:42 -0000 On Sun, Apr 22, 2012 at 9:12 PM, AN wrote: > After a recent portupgrade (Sun Apr 22 22:03:42 EDT 2012), I see the > following in /var/log/messages and from the command line. > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r234399: Tue Apr 17 > 18:15:12 EDT 2012 =A0 =A0 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL =A0am= d64 > > seahorse-2.32.0_6 =A0 GNOME application for managing encryption keys (PGP= , > SSH) > seahorse-plugins-2.30.1_6 Plug-ins for the Seahorse key and password > management appli > gnome-keyring-2.32.1_1 A program that keeps passwords and other secrets > libgnome-keyring-2.32.0_1 A program that keeps passwords and other secret= s > > Apr 22 18:46:06 FBSD10 gnome-keyring-daemon[954]: couldn't allocate secur= e > memory to keep passwords and or keys from being written to the disk > Apr 22 18:46:07 FBSD10 gnome-keyring-prompt: could not grab keyboard: 3 > Apr 22 18:46:07 FBSD10 gnome-keyring-daemon[954]: ** Message: could not g= rab > keyboard: 3 > Apr 22 18:46:11 FBSD10 gnome-keyring-prompt: couldn't allocate secure mem= ory > to keep passwords and or keys from being written to the disk > Apr 22 18:46:11 FBSD10 gnome-keyring-daemon[954]: couldn't lock 16384 byt= es > of private memory: Resource temporarily unavailable > Apr 22 18:46:11 FBSD10 gnome-keyring-daemon[954]: ** Message: couldn't > allocate secure memory to keep passwords and or keys from being written t= o > the disk > > =A0seahorse-daemon > couldn't lock 16384 bytes of private memory: Resource temporarily > unavailable Don't think I have seen this before, but I never use seahorse though. You should update your -CURRENT as Jason has committed numbers of fix in the jemalloc. > ** (process:42587): WARNING **: Unable to allocate secure memory from > gnome-keyring. > > > ** (process:42587): WARNING **: Proceeding using insecure memory for > password fields. Both of warnings here are known for age. I don't remember exactly why, I think it's something that FreeBSD lacks of what Linux has or maybe just need to complete port to FreeBSD. I am not sure. Cheers, Mezz --=20 mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org