unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Shane Sturrock <shane.sturrock@realtimegenomics.com>
Cc: help-guix@gnu.org
Subject: Re: Squashfs files no longer work with singularity 3.x
Date: Mon, 15 Jul 2019 04:26:19 +0200	[thread overview]
Message-ID: <87lfx0hw38.fsf@elephly.net> (raw)
In-Reply-To: <DE8D3C64-1D94-4588-BF14-B321AFDAACAA@realtimegenomics.com>


Hi Shane,

> However, the most recent updates/installs of Guix produce a file that
> fails with "FATAL: exec /.singularity.d/actions/exec failed: no such
> file or directory”.

I can reproduce this with singularity version 3.1.0-1.el7.centos.

> $ guix pack -f squashfs -S /bin=bin samtools
> /gnu/store/7wpn9a4nlpyr0hgzcl65qi8fqmqz6swg-squashfs-pack.gz.squashfs
> $ singularity exec /gnu/store/7wpn9a4nlpyr0hgzcl65qi8fqmqz6swg-squashfs-pack.gz.squashfs samtools
> WARNING: passwd file doesn't exist in container, not updating
> WARNING: group file doesn't exist in container, not updating
> FATAL:   exec /.singularity.d/actions/exec failed: no such file or directory

This works for me:

    image=$(guixr pack -f squashfs --entry-point=bin/sh -S /bin=bin samtools bash)
    singularity exec $image /bin/samtools

Hope this helps!

--
Ricardo

  reply	other threads:[~2019-07-15  2:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15  0:22 Squashfs files no longer work with singularity 3.x Shane Sturrock
2019-07-15  2:26 ` Ricardo Wurmus [this message]
2019-07-15  3:37   ` Shane Sturrock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfx0hw38.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=shane.sturrock@realtimegenomics.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).