unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Shane Sturrock <shane.sturrock@realtimegenomics.com>
To: help-guix@gnu.org
Subject: Squashfs files no longer work with singularity 3.x
Date: Mon, 15 Jul 2019 12:22:14 +1200	[thread overview]
Message-ID: <DE8D3C64-1D94-4588-BF14-B321AFDAACAA@realtimegenomics.com> (raw)

I’ve previously used guix pack -f squashfs to create files that Singularity 3.x would run although it complains about the lack of exec with "WARNING: container does not have /.singularity.d/actions/exec, calling samtools directly” where samtools is the program installed in the file by Guix. That warning can be silenced with the --silent flag when running the singularity exec command.

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’ve still got previously created squashfs files which still work but any new ones I make won’t. The ones that work were made back on May 15th 2019 so the change has happened since then. I’ve confirmed this on multiple systems we have Guix installed on and even did a completely fresh install in a VM just to be sure and that also had the issue.

Here’s the command I used and what happens when I try and run it with Singularity 3.1 (also happens with 3.2) - CentOS 7.6.1810 release:

$ 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
$ singularity --version
singularity version 3.1.1-1.1.el7

Hopefully there’s a solution because one of the big selling points for us was the ability to create these files for running on a cluster with Singularity installed.

Regards,

Shane Sturrock

             reply	other threads:[~2019-07-15  0:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15  0:22 Shane Sturrock [this message]
2019-07-15  2:26 ` Squashfs files no longer work with singularity 3.x Ricardo Wurmus
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=DE8D3C64-1D94-4588-BF14-B321AFDAACAA@realtimegenomics.com \
    --to=shane.sturrock@realtimegenomics.com \
    --cc=help-guix@gnu.org \
    /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).