MESSAGE
DATE | 2021-05-12 |
FROM | Javier
|
SUBJECT | Re: [Hangout - NYLXS] [artix-general] [s6] autofs-s6
|
From hangout-bounces-at-nylxs.com Mon May 17 09:12:06 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 21147163FE3; Mon, 17 May 2021 09:12:05 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 67997163FD4; Mon, 17 May 2021 09:11:00 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Mon, 17 May 2021 09:11:00 -0400 Resent-Message-ID: <20210517131100.GK23595-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mail.artixlinux.org (mail.artixlinux.org [144.91.88.22]) by mrbrklyn.com (Postfix) with ESMTP id A4C21163FA7 for ; Wed, 12 May 2021 00:14:27 -0400 (EDT) Received: by mail.artixlinux.org (Postfix, from userid 182) id BB704A287E1; Wed, 12 May 2021 06:14:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on endymion X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.4 Received: from localhost.localdomain (localhost [127.0.0.1]) by mail.artixlinux.org (Postfix) with ESMTP id 4FECBA287E9; Wed, 12 May 2021 06:14:15 +0200 (CEST) X-Original-To: artix-general-at-localhost Delivered-To: artix-general-at-localhost Received: by mail.artixlinux.org (Postfix, from userid 182) id 3FC76A287E1; Wed, 12 May 2021 06:14:13 +0200 (CEST) Received: from mail.ecloud.global (mail.ecloud.global [135.181.85.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.artixlinux.org (Postfix) with ESMTPS id 496DDA2430B for ; Wed, 12 May 2021 06:14:03 +0200 (CEST) Received: from authenticated-user (mail.ecloud.global [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.ecloud.global (Postfix) with ESMTPSA id CE1122000011E59B for ; Wed, 12 May 2021 04:14:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e.email; s=mail1; t=1620792843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HVA1eWqZAP5YV3r0xoDdvscohz4ahwBuxZ4cw5kLIG4=; b=meulsAMla+qeM3k8n74ZPtswFt1G53M9JlI0ktjGmR89BwM2bZg7oYF1al6O99BjZe4+75 /jRL8+s83nLTh5OrtI98auoVjhG8alMCOYHJaxpMRi1xrVPH12rKZ3gA4O8MIAZcdWpNYC OtCscDrpeKRCI581D5mBsPkUPibBOFc= To: artix-general-at-artixlinux.org References: <649dc234-35e7-6434-099c-51f656d0a108-at-e.email> From: Javier Message-ID: Date: Tue, 11 May 2021 22:13:59 -0600 MIME-Version: 1.0 In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=e.email; s=mail1; t=1620792843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HVA1eWqZAP5YV3r0xoDdvscohz4ahwBuxZ4cw5kLIG4=; b=GutmKs325yqoBZJmMXCaySP85rEBnlVQ4eoCTh3bI++5EJwKC0RuS/4z7eT/mxTAt1gcox uwABpFW8EMJvuffyPZLe4ZabYk94cTZROI15EGbs7rCDs76OjlBAviLClktpdG3+YybkfW yZEZwEBIBa4acU5xZ5txv1cgWN/nTuE= ARC-Seal: i=1; s=mail1; d=e.email; t=1620792843; a=rsa-sha256; cv=none; b=L24/L/cPbOTqkviG0tf3XfeaDvDc0rlK4CPUvIkIQ7IRLo6pIXhJumnkPxXuPry4mB/9Pj H6RagOv/eBYUkz3eusZgRIRsaVI4FEQFIi27GRlRNVsVvo+7IgRxMNq76T0BIpdIOwwMaB RGfoVP0lr4VOe62K63WW0brziFh4Qs4= ARC-Authentication-Results: i=1; mail.ecloud.global; auth=pass smtp.mailfrom=je-vv-at-e.email X-BeenThere: artix-general-at-artixlinux.org X-Mailman-Version: 2.1.34 Precedence: list Content-Type: multipart/mixed; boundary="===============0359229669820042084==" Subject: Re: [Hangout - NYLXS] [artix-general] [s6] autofs-s6 X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0359229669820042084== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K7YlMRzlfBh9W7qVlTDMvzrzYYzOOllkt"
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K7YlMRzlfBh9W7qVlTDMvzrzYYzOOllkt Content-Type: multipart/mixed; boundary="1XqwAn1J9zOEb2CBGlduAESDjxDmPmnFJ"; protected-headers="v1" From: Javier To: artix-general-at-artixlinux.org Message-ID: Subject: Re: [artix-general] [s6] autofs-s6 References: <649dc234-35e7-6434-099c-51f656d0a108-at-e.email> In-Reply-To:
--1XqwAn1J9zOEb2CBGlduAESDjxDmPmnFJ Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable
On 5/11/21 9:42 PM, Dudemanguy wrote: > Arch was doing a cleanup of their repos, and we sort of just followed > suit. It's true that perhaps autofs may still be useful for Artix > though. I personally use udiskie, but my automounting needs aren't very=
> complicated so maybe it's limited in some way I'm not aware of. As for > the autofs-s6 script, it's planned to be added. Currently, the s6 > backend is undergoing a major refactor/rewrite so after that's settled > in, the script in universe can be added.
Thanks a lot for answering.
I used udiskie, particularly when I didn't use a DE, just a plain WM, but= it works well for physical devices, and only when logged in, again, pret= ty suitable for a GUI space (I've been using lxqt for some time now, thou= gh this might change given its lack of Wayland support)...
Always on a logged in scenario, I use autofs for cifs, and certain sshfs = network mounts. So I can replace autofs for those cases as well.
But I haven't found an alternative for autofs + sshfs on a headless syste= m, for example, I can login remotely, start my ssh agent, start something= playing on mpd though its ncmpc client, adjust volume through alsamixer,= and then logout, leaving the system without anyone logged in, and playin= g music, :) That's why I never liked solutions like pulse audio for exam= ple, since once you're logged out, then there's no joy... Coming back to= autofs, I do have some sort of non simple autofs setup. I don't use ssh= directly, but instead something like:
> -fstype=3Dsshfs,,ssh_command=3Dssh-user-age= nt,reconnect :\:
where ssh-user-agent contents are something like (it's combined with my ~= /.bash_profile and my ~/.xinitrc):
> #!/usr/bin/env bash >=20 > export SSH_ASKPASS=3D/usr/bin/lxqt-openssh-askpass > if ! pgrep -u "" ssh-agent > /dev/null; then > su -c '/usr/bin/ssh-agent > /tmp/ssh-agent--env= -vars' > eval "$(-env-vars)" > else > if [[ "$SSH_AGENT_PID" =3D=3D "" ]]; then > eval "$(-env-vars)" > fi =20 > fi > ssh $-at-
And then I have on /root/.ssh/config:
> Host > User > IdentityFile ~/.ssh/
This allows me to still keep my ssh private key encrypted, and still use = autofs to auto mount with sshfs, being logged out, as long as the ssh age= nt is up, which it is until a reboot/poweroff.
If there's a simpler, yet secure approach, which doesn't force someone to= be always logged in, then I'm willing to try that out... Particularly i= f such solutions do not require GUI interfaces either. I was exploring g= vfs for remote locations which I use when logged in any ways, but it's no= t totally CLI friendly, particularly out of Xorg/Wayland...
On a side note, one thing I like better on the systemd auto mount mechani= sm, is that the config is /etc/fstab. I don't see why autofs never tried= moving its config there. It's more intuitive and centralized on /etc/fs= tab, :)
Thanks a lot !
--=20 Javier
--1XqwAn1J9zOEb2CBGlduAESDjxDmPmnFJ--
--K7YlMRzlfBh9W7qVlTDMvzrzYYzOOllkt Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature"
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQRXp3SNby6/vn/a4v9NbI1YrThcqgUCYJtWBwAKCRBNbI1YrThc qitLAQD0L0Yh6ORz+ErI0bAvYJ19sY7hYtDy12iOL7E+6fF3ZgEAlSNq2ix64pAH K3NOHV8Gx5yDnXgP/ybCrc1CrAaVQAY= =yRlV -----END PGP SIGNATURE-----
--K7YlMRzlfBh9W7qVlTDMvzrzYYzOOllkt--
--===============0359229669820042084== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
-- artix-general mailing list artix-general-at-artixlinux.org https://lists.artixlinux.org/listinfo/artix-general
--===============0359229669820042084== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============0359229669820042084==--
|
|