From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: No luck with singularity (/var/singularity/mnt/container not found) Date: Thu, 21 Nov 2019 00:29:38 -0500 (EST) Message-ID: <1796292865.5115504.1574314178500.JavaMail.zimbra@centurylink.net> References: <20191114153719.4qfwdd2pacyryen6@wz.localdomain> 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]:34813) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXf2F-0008JB-FE for help-guix@gnu.org; Thu, 21 Nov 2019 00:29:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXf2C-0007HX-Fs for help-guix@gnu.org; Thu, 21 Nov 2019 00:29:43 -0500 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:48057 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iXf2C-0007F6-9O for help-guix@gnu.org; Thu, 21 Nov 2019 00:29:40 -0500 In-Reply-To: <20191114153719.4qfwdd2pacyryen6@wz.localdomain> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Wiktor =?utf-8?Q?=C5=BBelazny?= Cc: help-guix Hello Wiktor, ----- On Nov 14, 2019, at 3:37 PM, Wiktor =C5=BBelazny wz@freeshell.de wrot= e: > Hi all, >=20 > I=E2=80=99ve never worked with singularity before. Reading =E2=80=9CUsing= Guix > Without Being root=E2=80=9D on GuixHPC blog convinced me to give it a try= . > With system-wide (/etc/config.scm) singularity installation (per-user > installation gave the same errors, and sudo does not help, either): >=20 > $ singularity selftest ... > + test -u /run/setuid-programs/singularity-action-helper (retval=3D1) = ERROR > Full output in: /tmp/tmp.mll6ICopmA Did you add a singularity service to your config.scm? That should handle d= eclaring the helper programs as setuid, and creating the container mount di= rectory in /var/singularity/mnt (see "Miscellaneous Services" in the manual= ). You'll add the service via, e.g.: (operating-system ;; ... (services (cons (service singularity-service-type) %base-services))) --=20 `~Eric