unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Josh Marshall <Josh.Marshall@jax.org>
Cc: 40043-done@debbugs.gnu.org
Subject: bug#40043: `guix pack --format=squashfs` fails on CentOS7
Date: Tue, 24 Mar 2020 18:55:11 +0100	[thread overview]
Message-ID: <87blolljsw.fsf@gnu.org> (raw)
In-Reply-To: <BL0PR06MB46734E52158D9DA875680143E9FD0@BL0PR06MB4673.namprd06.prod.outlook.com> (Josh Marshall's message of "Thu, 12 Mar 2020 17:47:24 +0000")

Hi Josh,

Josh Marshall <Josh.Marshall@jax.org> skribis:

> `guix pack --format=squashfs bash-minimal ...` fails on CentOS7 with SELinux disabled.
>
> ```
> $ /var/guix/profiles/per-user/marshjo/current-guix/bin/guix describe
> Generation 9	Mar 12 2020 09:28:29	(current)
>   guix a595399
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: a595399230a7b1acb0b096b3d5a7474100014299
> ```

The log you posted reads this:

--8<---------------cut here---------------start------------->8---
Creating 4.0 filesystem on /gnu/store/mhhlqyazyvwz72y6dwh56fs1zlrvrl0h-squashfs-pack.gz.squashfs, block size 131072.

[...]

Number of uids 2
	unknown (0)
	nixbld (987)
Number of gids 2
	unknown (0)
	nixbld (980)
Failed to read existing filesystem - will not overwrite - ABORTING!
--8<---------------cut here---------------end--------------->8---

I was able to reproduce it on a CentOS 7 system and to strace the
‘mksquashfs’ process, and found that this had to do with access to
SELinux extended attributes.

Fixed in commit 53c594cb3f1f783fea18be6da23a863b00c14f5f.

Thanks!

Ludo’.

  parent reply	other threads:[~2020-03-24 17:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 17:47 bug#40043: `guix pack --format=squashfs` fails on CentOS7 Josh Marshall
2020-03-15 21:46 ` Ludovic Courtès
2020-03-16 13:38   ` bug#40043: [EXTERNAL]Re: " Josh Marshall
2020-03-24 17:55 ` Ludovic Courtès [this message]
2020-03-24 17:58   ` Josh Marshall

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=87blolljsw.fsf@gnu.org \
    --to=ludovic.courtes@inria.fr \
    --cc=40043-done@debbugs.gnu.org \
    --cc=Josh.Marshall@jax.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).