From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#37380: gdm doesn't load pam-limits Date: Wed, 11 Sep 2019 21:48:03 +0200 Message-ID: <87sgp2pqbw.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i88bv-0007qW-9r for bug-guix@gnu.org; Wed, 11 Sep 2019 15:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i88bu-00037h-5h for bug-guix@gnu.org; Wed, 11 Sep 2019 15:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i88bt-00037Q-Ul for bug-guix@gnu.org; Wed, 11 Sep 2019 15:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i88bt-0000mN-QC for bug-guix@gnu.org; Wed, 11 Sep 2019 15:49:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jesse Gibbons Cc: 37380@debbugs.gnu.org Hi Jesse, > I have been trying to set up ardour, but jackd doesn't start in real- > time mode. I made an os definition that replicates this issue when I > use a VM[0]. > [0] https://lists.gnu.org/archive/html/help-guix/2019-09/msg00065.html > I asked the gnome and gdm IRC and found out gdm loads the gdm-password > pam config, which seems untouched by pam-limits-service. My > /etc/pam.d/gdm-password (which should be the default) is attached. I can reproduce this. (I=E2=80=99m sorry for accidentally misleading you earlier. Turns out I us= ed JACK a little longer ago than I initially realized.) I think it should be pretty easy to fix this: 1) we should generate a single file that is used for generic session settings. 2) all login programs (including gdm) should include that file in their PAM settings. 3) the pam-limits-service should extend that single file instead of attempting to update a bunch of PAM files for a selected list of programs. -- Ricardo