Lxc-launch error: "failed to set up id mapping" (Fedora 35)

I freshly installed LXD using the third-party Fedora package, and followed the initial setup instructions.

I wanted to create my first container using Debian, so I ran sudo --preserve-env=LXD_SOCKET lxc launch images:debian/bullseye debian-test -c limits.cpu=1 -c limits.memory=512MiB.

But it failed with an error, saying that “newuidmap failed to write mapping”.

The output from lxc info --show-log local:debian-test is as follows:

Name: debian-test
Status: STOPPED
Type: container
Architecture: x86_64
Created: 2022/04/04 09:18 EDT
Last Used: 2022/04/04 09:19 EDT

Log:

lxc debian-test 20220404131902.331 ERROR    conf - conf.c:lxc_map_ids:3471 - newuidmap failed to write mapping "newuidmap: uid range [0-1000000000) -> [1000000-1001000000) not allowed": newuidmap 578733 0 1000000 1000000000
lxc debian-test 20220404131902.331 ERROR    start - start.c:lxc_spawn:1774 - Failed to set up id mapping.
lxc debian-test 20220404131902.331 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:868 - Received container state "ABORTING" instead of "RUNNING"
lxc debian-test 20220404131902.332 ERROR    start - start.c:__lxc_start:2053 - Failed to spawn container "debian-test"
lxc debian-test 20220404131902.332 WARN     start - start.c:lxc_abort:1050 - No such process - Failed to send SIGKILL via pidfd 20 for process 578733
lxc 20220404131907.346 ERROR    af_unix - af_unix.c:lxc_abstract_unix_recv_fds_iov:220 - Connection reset by peer - Failed to receive response
lxc 20220404131907.346 ERROR    commands - commands.c:lxc_cmd_rsp_recv_fds:129 - Failed to receive file descriptors

I am using a pretty standard Fedora 35 installation, and I don’t see this issue on the issue trackers for LXD or ganto/copr-lxc4. Is there something wrong with my system? Did I miss a configuration step?

Here is my LXD config, created with lxd init:

config:
  core.https_address: '[::]:8443'
  core.trust_password: 'REDACTED'
networks:
- config:
    ipv4.address: auto
    ipv6.address: auto
  description: ""
  name: lxdbr0
  type: ""
  project: default
storage_pools:
- config:
    source: /var/lib/lxd/storage-pools/default
  description: ""
  name: default
  driver: btrfs
profiles:
- config: {}
  description: ""
  devices:
    eth0:
      name: eth0
      network: lxdbr0
      type: nic
    root:
      path: /
      pool: default
      type: disk
  name: default
projects: []
cluster: null