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


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

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

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

Show all headers | View raw


El 19/4/25 a las 3:57, Mathias Gibbens escribió:
>    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?

Packages must not write anything to $HOME during build.

To enforce such policy, sbuild sets $HOME to /sbuild-nonexistent.
You can see this in the full build log I provided and also in each
and every build log in buildd.debian.org. This way, packages
trying to write to $HOME will fail and we know they have a bug.

If you set $HOME again to the original $HOME, it may or may not work,
but if it fails, it's not my fault, since it's a policy violation.

I offered a VM to reproduce, and the offer still holds, please contact me
privately for details.

Thanks.

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | 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