From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40043: `guix pack --format=squashfs` fails on CentOS7 Date: Tue, 24 Mar 2020 18:55:11 +0100 Message-ID: <87blolljsw.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33427) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGnmW-0006ja-C6 for bug-guix@gnu.org; Tue, 24 Mar 2020 13:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGnmU-00050J-U9 for bug-guix@gnu.org; Tue, 24 Mar 2020 13:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49605) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGnmU-00050D-Q5 for bug-guix@gnu.org; Tue, 24 Mar 2020 13:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGnmU-0000BX-OM for bug-guix@gnu.org; Tue, 24 Mar 2020 13:56:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (Josh Marshall's message of "Thu, 12 Mar 2020 17:47:24 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Josh Marshall Cc: 40043-done@debbugs.gnu.org Hi Josh, Josh Marshall skribis: > `guix pack --format=3Dsquashfs bash-minimal ...` fails on CentOS7 with SE= Linux 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-squa= shfs-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 =E2=80=98mksquashfs=E2=80=99 process, and found that this had to do with ac= cess to SELinux extended attributes. Fixed in commit 53c594cb3f1f783fea18be6da23a863b00c14f5f. Thanks! Ludo=E2=80=99.