help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Squashfs files no longer work with singularity 3.x


From: Ricardo Wurmus
Subject: Re: Squashfs files no longer work with singularity 3.x
Date: Mon, 15 Jul 2019 04:26:19 +0200
User-agent: mu4e 1.2.0; emacs 26.2

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 via email to

[Prev in Thread] Current Thread [Next in Thread]