From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 finch.gentoo.org (Postfix) with ESMTPS id 77EDF158041 for ; Thu, 11 Apr 2024 15:53:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89D0BE2A33; Thu, 11 Apr 2024 15:53:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 36625E2A2C for ; Thu, 11 Apr 2024 15:53:37 +0000 (UTC) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-56e2ac1c16aso8458826a12.0 for ; Thu, 11 Apr 2024 08:53:36 -0700 (PDT) X-Gm-Message-State: AOJu0YzYA+PZV5Udmb7Qa18El/ID8YK3HJYZV7Bi4E5sfM6I7os0enJe 1vePvKIHPhW7PId4sniuZ3hCmNb13pDVjo3yMZP6N7pp6Tu5+N0G6yIoEyJHZdmz3hDQjyksuZi DHbx65KpXgNWahrNmlM1CwCKVMAE= X-Google-Smtp-Source: AGHT+IFKq+0WSuNWX6p9LgqBoNsF4ceuhIb9uHlFFIOuryAJV6KnHLliZWNpomIHaLXhJQMtV7Y1uQwNL9CyCayvWEY= X-Received: by 2002:a17:906:6851:b0:a51:99b8:9dc1 with SMTP id a17-20020a170906685100b00a5199b89dc1mr69159ejs.51.1712850813704; Thu, 11 Apr 2024 08:53:33 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Mike Gilbert Date: Thu, 11 Apr 2024 11:53:22 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] netmount and glusterfs (fuse) dependency management To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d01c23e2-d49b-4d86-8bdd-22c7ea1e6760 X-Archives-Hash: c79a0be8dfe23a8fe8273da9acb0767e On Mon, Apr 8, 2024 at 5:51=E2=80=AFAM Jaco Kroon wrote: > > Hi All, > > I was hoping for some advise regarding how I could improve the glusterfs > package for users (and myself). At least those using openrc, but I > suspect similar may be applicable to systemd, but I have no idea how > systemd handles network mounts so perhaps someone could chip in here on > that front too. > > Specifically the mounting of glusterfs file systems currently has a few > problems (glusterd if server=3Dlocalhost, network, dns(?) and fuse > availability). For now the focus is on the fuse aspect since that's the > biggest annoyance by far. > > Mounting happens via the netmount service. > > In order for glusterfs to mount successfully the fuse module needs to be > available when mount.glusterfs is invoked. This can be achieved in one > of two ways: > > 1. Compile the module statically into the kernel. > 2. Arrange for fuse service to be started prior to netmount (using say > /etc/conf.d/netmount rc_need=3D"fuse") This doesn't sound right. Why does the kernel module need to be loaded explicitly? The kernel should auto-load the module when /dev/fuse is opened for the first time. /dev/fuse should get created via tmpfiles.d via kmod-static-nodes.