From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OPPaEpn3LmThIgEASxT56A (envelope-from ) for ; Thu, 06 Apr 2023 18:47:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MO7iEpn3LmQkCgAA9RJhRA (envelope-from ) for ; Thu, 06 Apr 2023 18:47:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 18799DFA0 for ; Thu, 6 Apr 2023 18:47:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkSlM-0000YB-K7; Thu, 06 Apr 2023 12:47:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkSlK-0000X6-Ot for guix-patches@gnu.org; Thu, 06 Apr 2023 12:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkSlK-0001On-Fd for guix-patches@gnu.org; Thu, 06 Apr 2023 12:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkSlK-0002Iu-BS for guix-patches@gnu.org; Thu, 06 Apr 2023 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62699] [PATCH] services: add pam-mount-volume-service-type Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Apr 2023 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62699 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62699@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16807996188841 (code B ref -1); Thu, 06 Apr 2023 16:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Apr 2023 16:46:58 +0000 Received: from localhost ([127.0.0.1]:54905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkSlG-0002IX-CY for submit@debbugs.gnu.org; Thu, 06 Apr 2023 12:46:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:58526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkSlC-0002IN-KL for submit@debbugs.gnu.org; Thu, 06 Apr 2023 12:46:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkSl8-0000VY-R7 for guix-patches@gnu.org; Thu, 06 Apr 2023 12:46:52 -0400 Received: from coleridge.kublai.com ([166.84.7.167] helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkSl4-00018w-QN for guix-patches@gnu.org; Thu, 06 Apr 2023 12:46:50 -0400 Received: from psyduck (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id C196AA6A3 for ; Thu, 6 Apr 2023 12:46:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1680799586; bh=zCzknVUEYAEUsQwfYmv08DeiZYlwrCtOUqivo4TPFh8=; h=From:To:Subject:Date; b=R5aqH++eB1NtjypUC4kcxcFXeWzrtZEdZG7yjcH0qzz5gAj7RwSnVhvcmoqeIV9pL /H6+03ohB0ylK0+jB8Af8K17zNSu8s7fWyin/HimLR/PtRXU7QshKj+7fVlIYV64Nr s+xP7gG/9DmliChOqynR80OtFh8DkVpm9yn3vH7I= User-agent: mu4e 1.10.0; emacs 28.2 Date: Thu, 06 Apr 2023 12:43:55 -0400 Message-ID: <87lej5x8ke.fsf@psyduck.jhoto.kublai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Brian Cully X-ACL-Warn: , Brian Cully via Guix-patches From: Brian Cully via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680799641; a=rsa-sha256; cv=none; b=sDscdfh3R4MlNHtH8Ma9eV9i/QxAxftKtpAR5057V38ITcTcoak+uFYIflKYdRVr490pUI Fot2XNXXVaj+P9vxd6C3Kvkp0T+XesecNxh5RLZb3+wNoHtSqEBbldeoVtN/Eg6l9GsCA2 qoZ9GmJEEvYEPXXyqHfZO5ATTFJ6DwfZEjuGELMi2FAZRs5zhPuQR+NRo2BHHNW+KkWA+O O4mHh/FXnan8vBVcd3k1CPPsVlot9kr5kh8WQasfc1UV1ABDh+Z3IXRqE3+ODjnu4MraKl yUCUuDiujfyKQr63R5d4L2UjebmDji0bxWSboNghOgelfmLa7uGvCzFoUkFXhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=R5aqH++e; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680799641; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zCzknVUEYAEUsQwfYmv08DeiZYlwrCtOUqivo4TPFh8=; b=YXAyEDwgR88Vn70xfxzK3eHSr5LS0FF1EAQOTTJ/6BDH/8J9KeZdn3WythuGDd1U/WBDWC NfdUUXYN6XTrkPgXocKOlCfGd9GS0d6HI+xvZMnon+zjB7yTIUqXQ1UMUikeSpQjKzOjsr RFI0Pg4AUTVOMpoJy1WEZHPxgbs7Re9bZbPWaRBbX+IM22tqFp6Z2TGz1l42FXJipASy4X HFK9JFBhWZpqyPyU/Tny8UBrbs1QBV9V7wClzzgW/UQa78N4beeIaUT4GyQ0ZXzv69azSd TctI3BH6DGit2DJ/+8veZWCOp7yGQkSP7aEVJkYcnmwXEXmaZNk4c5ATJclb5A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=R5aqH++e; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.72 X-Spam-Score: -4.72 X-Migadu-Queue-Id: 18799DFA0 X-TUID: tPoF8SLpab2Q This patch allows adding additional volumes to be mounted at login=20 time via PAM by way of =E2=80=98pam-mount-volume-service-type=E2=80=99. As = an=20 example usage, I use it to mount a CIFS share which requires=20 authentication automatically on login without having to type my=20 password twice (since my local system has the same username and=20 password as the system hosting my CIFS share). -bjc