From: Vivien Kraus via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 49369@debbugs.gnu.org
Subject: bug#49369: Duplicated SSL_CERT_DIR value, and the cuirass service
Date: Sun, 04 Jul 2021 00:35:35 +0200 [thread overview]
Message-ID: <1395ae41f9e93ee1c489d1eaa17032b0a640098e.camel@planete-kraus.eu> (raw)
Dear guix,
When I set up the cuirass service, my /run/current-
system/profile/etc/profile file goes from:
export SSL_CERT_DIR="${GUIX_PROFILE:-
/gnu/store/v7yks560hnm9zkjw1ynsavfdgwbvkq9w-
profile}/etc/ssl/certs${SSL_CERT_DIR:+:}$SSL_CERT_DIR"
to:
export SSL_CERT_DIR="${GUIX_PROFILE:-
/gnu/store/4zby6gn6kv92mn4mck4jw3jxcs82821p-profile}/etc/ssl/certs"
Notice how with cuirass, the variable is expanded to potentially
multiple values.
As a result (I don’t fully understand why), with the cuirass service in
place, my $SSL_CERT_DIR is set to:
/run/current-system/profile/etc/ssl/certs:/run/current-
system/profile/etc/ssl/certs
(notice the duplicated entry)
Due to that, the guile web client is broken because guile does not
support a colon-separated path in SSL_CERT_DIR.
Attributing the blame to this breakage is tricky, because guile is not
100% clean (it should support a path), it’s not clear to me why cuirass
needs to re-define SSL_CERT_DIR, but maybe guix should not consider
that cuirass is installed when it is used as a service.
Best regards,
Vivien
reply other threads:[~2021-07-03 23:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1395ae41f9e93ee1c489d1eaa17032b0a640098e.camel@planete-kraus.eu \
--to=bug-guix@gnu.org \
--cc=49369@debbugs.gnu.org \
--cc=vivien@planete-kraus.eu \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.