unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40043: `guix pack --format=squashfs` fails on CentOS7
@ 2020-03-12 17:47 Josh Marshall
  2020-03-15 21:46 ` Ludovic Courtès
  2020-03-24 17:55 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Josh Marshall @ 2020-03-12 17:47 UTC (permalink / raw)
  To: 40043

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

`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 information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.

[-- Attachment #2: centos-packages.txt.zst --]
[-- Type: application/octet-stream, Size: 359883 bytes --]

[-- Attachment #3: ar594fgxibr6vkrpjq2n2l5mpyycpp-squashfs-pack.gz.squashfs.drv.bz2 --]
[-- Type: application/x-bzip, Size: 1218 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#40043: `guix pack --format=squashfs` fails on CentOS7
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2020-03-15 21:46 UTC (permalink / raw)
  To: Josh Marshall; +Cc: 40043

Hi Josh,

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

> `guix pack --format=squashfs bash-minimal ...` fails on CentOS7 with SELinux disabled.

The error message normally says something like:

  View build log at /var/log/guix/drvs/…

Could you post that file?

Also, what is the output of “uname -sr” on this machine?

Thanks in advance!

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#40043: [EXTERNAL]Re: bug#40043: `guix pack --format=squashfs` fails on CentOS7
  2020-03-15 21:46 ` Ludovic Courtès
@ 2020-03-16 13:38   ` Josh Marshall
  0 siblings, 0 replies; 5+ messages in thread
From: Josh Marshall @ 2020-03-16 13:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40043@debbugs.gnu.org

Already included as an attachment on the first email.

```
$ uname -sr
Linux 3.10.0-1062.12.1.el7.x86_64
```

________________________________________
From: Ludovic Courtès <ludovic.courtes@inria.fr>
Sent: Sunday, March 15, 2020 5:46 PM
To: Josh Marshall
Cc: 40043@debbugs.gnu.org
Subject: [EXTERNAL]Re: bug#40043: `guix pack --format=squashfs` fails on CentOS7

Hi Josh,

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

> `guix pack --format=squashfs bash-minimal ...` fails on CentOS7 with SELinux disabled.

The error message normally says something like:

  View build log at /var/log/guix/drvs/…

Could you post that file?

Also, what is the output of “uname -sr” on this machine?

Thanks in advance!

Ludo’.
---

The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#40043: `guix pack --format=squashfs` fails on CentOS7
  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-24 17:55 ` Ludovic Courtès
  2020-03-24 17:58   ` bug#40043: [EXTERNAL]Re: " Josh Marshall
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2020-03-24 17:55 UTC (permalink / raw)
  To: Josh Marshall; +Cc: 40043-done

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#40043: [EXTERNAL]Re: bug#40043: `guix pack --format=squashfs` fails on CentOS7
  2020-03-24 17:55 ` Ludovic Courtès
@ 2020-03-24 17:58   ` Josh Marshall
  0 siblings, 0 replies; 5+ messages in thread
From: Josh Marshall @ 2020-03-24 17:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40043-done@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1812 bytes --]

Thanks!  I look forward to my increased use of `guix` 😊

________________________________
From: Ludovic Courtès <ludovic.courtes@inria.fr>
Sent: Tuesday, March 24, 2020 1:55:11 PM
To: Josh Marshall <Josh.Marshall@jax.org>
Cc: 40043-done@debbugs.gnu.org <40043-done@debbugs.gnu.org>
Subject: [EXTERNAL]Re: bug#40043: `guix pack --format=squashfs` fails on CentOS7

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

The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.

[-- Attachment #2: Type: text/html, Size: 3810 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-24 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-03-24 17:58   ` bug#40043: [EXTERNAL]Re: " Josh Marshall

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