Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1242657

Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied

From Mathias Gibbens <gibmat@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied
Date 2025-04-19 04:10 +0200
Message-ID <KD5Ox-eAjH-1@gated-at.bofh.it> (permalink)
References <KD4St-ezB1-1@gated-at.bofh.it> <KD3tn-eykq-1@gated-at.bofh.it> <KD4St-ezB1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

  Interesting; I haven't seen the build fail in this way before, and as
Jeremy pointed out Incus builds properly in other places on official
infrastructure.

  For background on this particular part of the build, when I was
working on LXD packaging the TZ and HOME environment variables were set
to help make the build reproducible[0]. Later with Incus, I must have
noticed something in another of the manpages that was including the
build-environment HOME, so I set the override on all the generation
commands[1].

  When the `incus` binary starts it does try to create a configuration
file under ~/.config/incus/; based on the error it seems that the
homedir is "/build/", and that it's read-only?

Mathias

[0] -- https://salsa.debian.org/go-team/packages/lxd/-/commit/84e5fec9906f39ab9e9fd7e9e9719514e269148a
[1] -- https://salsa.debian.org/go-team/packages/incus/-/commit/0e9d324dadea33eeae6682786c1beff5764a33da

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied Mathias Gibbens <gibmat@debian.org> - 2025-04-19 04:10 +0200
  Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied Santiago Vila <sanvila@debian.org> - 2025-04-19 12:30 +0200
    Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied Santiago Vila <sanvila@debian.org> - 2025-04-19 13:10 +0200
      Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied Santiago Vila <sanvila@debian.org> - 2025-04-19 19:40 +0200
  Bug#1103554: incus: FTBFS: Error: mkdir /build/.config: permission denied Jeremy Bícha <jeremy.bicha@canonical.com> - 2025-04-19 13:40 +0200
  Bug#1103554: incus: writes to $HOME during build Santiago Vila <sanvila@debian.org> - 2025-04-20 12:20 +0200

csiph-web