From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: 23970@debbugs.gnu.org
Subject: bug#23970: colordiff glitch
Date: Wed, 13 Jul 2016 23:39:31 +0200 [thread overview]
Message-ID: <878tx5jjzg.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=oB6izVDHPcbTHsOq4maKVmPwgppMrZKGMJ=B2xXs+ZMw@mail.gmail.com> (Vincent Legoll's message of "Wed, 13 Jul 2016 11:10:04 +0200")
Hello,
Vincent Legoll <vincent.legoll@gmail.com> skribis:
> during "guix package -i colordiff" I saw this error being reported:
>
> cp colordiffrc /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordiffrc
> chown root.root
> /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordiffrc
> chown: invalid user: ‘root.root’
> Makefile:24: recipe for target 'install' failed
> make: [install] Error 1 (ignored)
> chmod 644 /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordiffrc
> phase `install' succeeded after 0.1 seconds
>
> But it looks like it is harmless (at least from the guix install PoV)
It’s indeed harmless and fine.
> vince@guixsd ~/guix-packages$ l
> /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/
> total 4.0K
> -r--r--r-- 2 root guixbuild 963 Jan 1 1970 colordiffrc
>
> This leaks the guixbuild group into /gnu/store, but it is not alone in
> doing so...
>
> If I try to do it manually afterwards, it obviously tell me the FS is R/O
>
> root@guixsd /tmp# chown root.root /gnu/store/*colordiff*/etc/*
> chown: changing ownership of
> ‘/gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordiffrc’:
> Read-only file system
Right, /gnu/store is meant to be read-only and manually modifying it
voids your warranty. :-)
https://www.gnu.org/software/guix/manual/html_node/The-Store.html
For this reason, /gnu/store is a read-only bind-mount on GuixSD.
That files in /gnu/store have group ‘guixbuild’ is innocuous.
I hope this clarifies things!
Ludo’.
next prev parent reply other threads:[~2016-07-13 21:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 9:10 bug#23970: colordiff glitch Vincent Legoll
2016-07-13 21:39 ` Ludovic Courtès [this message]
2016-07-14 9:17 ` Vincent Legoll
2016-07-14 12:55 ` Ludovic Courtès
2016-07-15 7:38 ` Vincent Legoll
2016-07-15 8:30 ` Andreas Enge
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=878tx5jjzg.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=23970@debbugs.gnu.org \
--cc=vincent.legoll@gmail.com \
/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).