Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cmd/snap-confine: use /etc/ssl from the core snap #3271
Conversation
| @@ -0,0 +1,25 @@ | ||
| +summary: Ensure that certain directories are coming from the core snap |
| @@ -0,0 +1,25 @@ | ||
| +summary: Ensure that certain directories are coming from the core snap | ||
| +description: | |
zyga
May 8, 2017
Contributor
I think you meant:
details: |
The snap-confine program bind mounts the /etc directory from the classic distribution into the snap execution
environment. Certain directories however, if they exist on the host's /etc are actually, bind-mounted from the
core snap for a more consistent behaviour across various distributions.
zyga
requested review from
jdstrand and
niemeyer
May 8, 2017
| + // (e.g. the core snap) back. This way the behavior of running snaps is not | ||
| + // affected by the alternatives directory from the host, if one exists. | ||
| + // | ||
| + // https://bugs.launchpad.net/snap-confine/+bug/1580018 |
chipaca
May 15, 2017
Member
could you expand this comment a little bit to also link the bug this PR fixes?
added some commits
Apr 27, 2017
zyga
merged commit 62e64cb
into
snapcore:master
May 15, 2017
7 checks passed
|
This PR is a 6 of one half dozen of the other type of thing. This PR means that now locally installed certificates on classic won't work and there is no mechanism for extending the core snap's certificates. Debian and Ubuntu have 'update-ca-certificates' ( |
anlx-sw
referenced this pull request
in wekan/wekan
Jul 19, 2017
Open
Trying to send signed email even though TLS is disabled #1120
anlx-sw
commented
Jul 19, 2017
|
is there a way to persistently add root certificates to snap? i run snap on a ubuntu 16.04 server and it seems that tls certificates from an internal ca can't be verified anymore. |
morphis commentedMay 4, 2017
We need to use /etc/ssl from the core snap next to /etc/alternatives
as applications like LXD expect a correct setup of the certificate
chain which is broken if we're running snaps on non Ubuntu/Debian
distributions.
Fixes https://bugzilla.opensuse.org/show_bug.cgi?id=1028568