unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 52866@debbugs.gnu.org
Subject: [bug#52866] maintenance: Add a crash dump service.
Date: Wed, 05 Jan 2022 22:13:30 +0100	[thread overview]
Message-ID: <87v8yxj37p.fsf@gnu.org> (raw)
In-Reply-To: <878rw3ixey.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 29 Dec 2021 10:16:05 +0100")

Hello!

Mathieu Othacehe <othacehe@gnu.org> skribis:

> Here's a patch that adds a crash dump service. The concept is simple, a
> Guile HTTP server is listening on "dump.guix.gnu.org". Crash reports can
> be uploaded using multipart forms in POST requests. They are then stored
> on Berlin.
>
> I have implemented the installer dump service. On a crash, it optionally
> submits an archive report containing the backtrace, the installer state,
> the syslog and dmesg logs.

Oh, interesting!  It sounds like it could help QA somewhat; at least it
would greatly simplify bug reporting and would guarantee that the crash
reports we get contain all the info we need to debug them.

Now, I wonder about the privacy implications of this: /var/log/messages
during an install contains personal or sometimes personally-identifying
information such as IP addresses, user account names (I think?),
partitioning details, device unique identifiers, etc.  I suppose the
installer would ask for consent before sending anything, but still, I
wonder if we can really be precise about the kind of info we collect and
send.

I’m also unsure about the idea of having admins of Guix infrastructure
be in a privileged position collecting that debugging info.  There’d
have to be a privacy policy in place.

Or, dump.guix.gnu.org could relay everything as-is to bug-guix@gnu.org
*if* we know users are aware of what data is being reported.

WDYT?

Also, what does Debian do?  :-)

IIRC, Debian has ‘reportbug’, which has the advantage that it uses the
public Debbugs channel, but the downside that it requires a working
email setup.  I think ‘reportbug’ includes info such as the kernel
version, info about installed packages, etc.; users see the info that is
about to be sent in clear before it goes out, and it’s easily screened I
think.

Sorry for the many questions!

Thanks,
Ludo’.




  parent reply	other threads:[~2022-01-05 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-29  9:16 [bug#52866] maintenance: Add a crash dump service Mathieu Othacehe
2021-12-29 17:37 ` zimoun
2022-01-05 21:13 ` Ludovic Courtès [this message]
2022-01-06  8:22   ` Mathieu Othacehe
2022-01-07 11:16     ` Josselin Poiret via Guix-patches via
2022-01-11 13:10     ` Ludovic Courtès
2022-02-02 16:33       ` bug#52866: " Mathieu Othacehe
2022-02-08  9:53         ` [bug#52866] " Ludovic Courtès

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=87v8yxj37p.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=52866@debbugs.gnu.org \
    --cc=othacehe@gnu.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).