emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#38441: closed ([PATCH 0/5] Record operating system provenance info)


From: GNU bug Tracking System
Subject: bug#38441: closed ([PATCH 0/5] Record operating system provenance info)
Date: Sat, 07 Dec 2019 00:04:01 +0000

Your message dated Sat, 07 Dec 2019 01:03:46 +0100
with message-id <address@hidden>
and subject line Re: [bug#38441] [PATCH 0/5] Record operating system provenance 
info
has caused the debbugs.gnu.org bug report #38441,
regarding [PATCH 0/5] Record operating system provenance info
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
38441: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38441
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 0/5] Record operating system provenance info Date: Sat, 30 Nov 2019 23:30:13 +0100
Hello Guix!

This patch series allows ‘guix system’ to record provenance info
about a system in its output: the system itself (e.g.,
/run/current-system) now contains three more files: “channels.scm”,
“configuration.scm”, and “provenance” (a summary of the first two
files.)

That means you can always inspect a deployed system to find its own
“source”.  In some cases, you can even run something like:

      guix time-machine \
        -C /var/guix/profiles/system-N-link/channels.scm -- \
        system reconfigure \
        /var/guix/profiles/system-N-link/configuration.scm

to rebuild generation N of your system.  Pretty cool, no?  :-)

Otherwise you can simply run:

  guix system describe

to see where your OS comes from.

Provenance tracking is implemented as a service.  The service is
automatically added by ‘guix system init’, ‘reconfigure’, and by
‘guix deploy’.  For other commands, one can pass ‘--save-provenance’
to turn it on.

This was long overdue!

This has interesting implications on trustworthiness: you can
distribute a VM/Docker image with provenance info, and anyone
can reproduce it and ensure they obtain the same bits (well, ideally,
because I guess a few steps may still not be bit-reproducible).

Thoughts?

Thanks,
Ludo’.

Ludovic Courtès (5):
  services: Add 'provenance-service-type'.
  guix system: Use 'provenance-service-type', add "--save-provenance".
  machine: Add provenance tracking to each machine operating system.
  guix system: "list-generations" displays provenance info.
  guix system: Add "describe" action.

 doc/guix.texi           | 109 +++++++++++++++++++++++++++++++++++++---
 gnu/machine.scm         |   7 ++-
 gnu/services.scm        |  87 ++++++++++++++++++++++++++++++++
 gnu/system.scm          |  10 ++++
 guix/scripts/pull.scm   |   1 +
 guix/scripts/system.scm | 107 ++++++++++++++++++++++++++++++++-------
 6 files changed, 293 insertions(+), 28 deletions(-)

-- 
2.24.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#38441] [PATCH 0/5] Record operating system provenance info Date: Sat, 07 Dec 2019 01:03:46 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello!

Ludovic Courtès <address@hidden> skribis:

>   services: Add 'provenance-service-type'.
>   guix system: Use 'provenance-service-type', add "--save-provenance".
>   machine: Add provenance tracking to each machine operating system.
>   guix system: "list-generations" displays provenance info.
>   guix system: Add "describe" action.

Pushed!

zimoun <address@hidden> skribis:

> Really cool!
>
> This is a killer feature IMHO compared to the Dockerfile approach. Let
> spread the world. ;-)

Glad you like it, thanks for your feedback!  :-)

Ludo’.


--- End Message ---

reply via email to

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