guix-devel/guix
Ludovic Courtès a06a95baff
pull: Create profile after the store connection has been opened.
Fixes <https://bugs.gnu.org/35341>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

Previously, we'd call 'ensure-default-profile' before the connection to
the daemon has been opened.  On the first connection, the daemon ensures
that /var/guix/profiles/per-user is world-writable.  Since we were
calling 'ensure-default-profile' before that,
/var/guix/profiles/per-user was typically non-writable (555 and
root-owned), and thus 'guix pull' would error out.

* guix/scripts/pull.scm (guix-pull): Call 'ensure-default-profile'
within 'with-store'.
2019-04-22 12:01:32 +02:00
..
build guile-build-system: Support building in parallel. 2019-04-18 23:13:48 +01:00
build-system build-system/linux-module: Support module source versioning. 2019-04-12 00:13:34 +02:00
import import: opam: Use dune-build-system when possible. 2019-04-10 21:39:04 +02:00
scripts pull: Create profile after the store connection has been opened. 2019-04-22 12:01:32 +02:00
store Add (guix store roots). 2019-04-10 17:09:47 +02:00
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
channels.scm pull: '--url', '--commit', and '--branch' apply to the 'guix' channel. 2019-04-17 13:56:40 +02:00
ci.scm
colors.scm colors: Add 'highlight'. 2019-04-14 23:40:52 +02:00
combinators.scm
config.scm.in build: No longer substitute 'LIBGCRYPT'. 2019-04-17 11:53:53 +02:00
cpio.scm
cve.scm
cvs-download.scm
deprecation.scm
derivations.scm derivations: Reduce 'valid-path?' RPCs in 'derivation-prerequisites-to-build'. 2019-04-16 17:30:21 +02:00
describe.scm describe: Add 'current-profile-date'. 2019-03-17 22:55:01 +01:00
discovery.scm
docker.scm
download.scm store: Memoize 'built-in-builders' call directly in <store-connection>. 2019-04-16 17:30:21 +02:00
elf.scm
ftp-client.scm
gexp.scm gexp: 'compiled-modules' loads modules before compiling them. 2019-04-04 17:47:02 +02:00
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm channels: Do not fail when the inferior lacks 'guix repl'. 2019-03-08 12:31:38 +01:00
licenses.scm licenses: Remove 'bsd-style'. 2019-04-08 10:42:51 +02:00
man-db.scm
memoization.scm
modules.scm Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
monad-repl.scm
monads.scm
nar.scm
packages.scm gexp: 'compiled-modules' loads modules before compiling them. 2019-04-04 17:47:02 +02:00
pki.scm
profiles.scm profiles: Add 'generation-profile'. 2019-04-10 17:09:47 +02:00
profiling.scm
progress.scm
records.scm records: Support custom 'this' identifiers. 2019-03-30 11:08:39 +01:00
scripts.scm scripts: GC hint suggests 'guix gc -d 1m'. 2019-04-10 17:09:47 +02:00
search-paths.scm
self.scm self: Remove unused variable. 2019-04-17 11:53:53 +02:00
serialization.scm
sets.scm
ssh.scm
status.scm colors: Introduce a disjoint type and pre-compute ANSI escapes. 2019-04-11 18:18:13 +02:00
store.scm store: Add "add-data-to-store-cache" profiling component. 2019-04-16 17:30:21 +02:00
svn-download.scm
swh.scm
tests.scm tests: Add 'with-environment-variable'. 2019-03-16 18:15:09 +01:00
ui.scm ui: Highlight heading of generation lists. 2019-04-14 23:40:52 +02:00
upstream.scm refresh: Update the source code URL. 2019-03-27 14:59:42 +01:00
utils.scm
workers.scm
zlib.scm