Hello everyone.
I’m having problems installing Incra on Fedora 39. I installed all the required libraries, both standard and developer.
However, I always get the same error when try to run, for example, the incus list command: Error: The incus daemon doesn't appear to be started (socket path: /var/lib/incus/unix.socket)
I have already enabled the incus service on my system. I tried force booting using sudo systemctl start --now incus, but the problem persists.
The installation took place through the copr repository.
I did a lot of research and, unfortunately, I didn’t find anything about it. Any idea what it could be?
arthur@fedora:~$ sudo dnf copr enable ganto/lxc4
Repository vivaldi is listed more than once in the configuration
Habilitando um repositório Copr. Note que este repositório não faz parte
da distribuição principal, e a qualidade pode variar.
O Projeto Fedora não exerce nenhum poder sobre o conteúdo deste
repositório além das regras descritas no FAQ do Copr em
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
e os pacotes não são mantidos em nenhum nível de qualidade ou segurança.
Não envie relatórios de erros sobre esses pacotes no Bugzilla do Fedora.
Em caso de problemas, entre em contato com o proprietário deste repositório.
Do you really want to enable copr.fedorainfracloud.org/ganto/lxc4? [Y/n]: y
Repositório ativado com êxito.
Repository vivaldi is listed more than once in the configuration
arthur@fedora:~$ sudo dnf install incus
Repository vivaldi is listed more than once in the configuration
Copr repo for lxc4 owned by ganto 2.3 kB/s | 1.5 kB 00:00
Dependências resolvidas.
==========================================================================================================
Pacote Arquitetura Versão Repositório Tam.
==========================================================================================================
Instalando:
incus x86_64 0.2-0.2.fc39 copr:copr.fedorainfracloud.org:ganto:lxc4 17 M
Instalando dependências:
cowsql x86_64 1.15.3-0.1.fc39 copr:copr.fedorainfracloud.org:ganto:lxc4 86 k
incus-client x86_64 0.2-0.2.fc39 copr:copr.fedorainfracloud.org:ganto:lxc4 4.9 M
lxc-libs x86_64 5.0.3-0.2.fc39 copr:copr.fedorainfracloud.org:ganto:lxc4 1.2 M
lxc-templates x86_64 5.0.3-0.2.fc39 copr:copr.fedorainfracloud.org:ganto:lxc4 20 k
lxcfs x86_64 5.0.4-1.fc39 fedora 92 k
raft x86_64 0.17.1-2.fc39 fedora 97 k
xdelta x86_64 3.1.0-17.fc39 fedora 90 k
Resumo da transação
==========================================================================================================
Instalar 8 pacotes
Tamanho total do download: 23 M
Tamanho depois de instalado: 79 M
Correto? [S/n]: S
Baixando pacotes:
(1/8): cowsql-1.15.3-0.1.fc39.x86_64.rpm 631 kB/s | 86 kB 00:00
(2/8): raft-0.17.1-2.fc39.x86_64.rpm 457 kB/s | 97 kB 00:00
(3/8): xdelta-3.1.0-17.fc39.x86_64.rpm 374 kB/s | 90 kB 00:00
(4/8): lxc-libs-5.0.3-0.2.fc39.x86_64.rpm 3.9 MB/s | 1.2 MB 00:00
(5/8): lxc-templates-5.0.3-0.2.fc39.x86_64.rpm 928 kB/s | 20 kB 00:00
(6/8): lxcfs-5.0.4-1.fc39.x86_64.rpm 193 kB/s | 92 kB 00:00
(7/8): incus-client-0.2-0.2.fc39.x86_64.rpm 3.5 MB/s | 4.9 MB 00:01
(8/8): incus-0.2-0.2.fc39.x86_64.rpm 5.7 MB/s | 17 MB 00:02
----------------------------------------------------------------------------------------------------------
Total 5.7 MB/s | 23 MB 00:04
Executando verificação da transação
Verificação de transação concluída.
Executando teste de transação
Teste de transação concluído.
Executando a transação
Preparando : 1/1
Instalando : lxc-libs-5.0.3-0.2.fc39.x86_64 1/8
Executando scriptlet: lxc-libs-5.0.3-0.2.fc39.x86_64 1/8
Instalando : lxc-templates-5.0.3-0.2.fc39.x86_64 2/8
Instalando : lxcfs-5.0.4-1.fc39.x86_64 3/8
Executando scriptlet: lxcfs-5.0.4-1.fc39.x86_64 3/8
Instalando : xdelta-3.1.0-17.fc39.x86_64 4/8
Instalando : raft-0.17.1-2.fc39.x86_64 5/8
Instalando : cowsql-1.15.3-0.1.fc39.x86_64 6/8
Instalando : incus-client-0.2-0.2.fc39.x86_64 7/8
Executando scriptlet: incus-0.2-0.2.fc39.x86_64 8/8
Instalando : incus-0.2-0.2.fc39.x86_64 8/8
Executando scriptlet: incus-0.2-0.2.fc39.x86_64 8/8
Verificando : cowsql-1.15.3-0.1.fc39.x86_64 1/8
Verificando : incus-0.2-0.2.fc39.x86_64 2/8
Verificando : incus-client-0.2-0.2.fc39.x86_64 3/8
Verificando : lxc-libs-5.0.3-0.2.fc39.x86_64 4/8
Verificando : lxc-templates-5.0.3-0.2.fc39.x86_64 5/8
Verificando : lxcfs-5.0.4-1.fc39.x86_64 6/8
Verificando : raft-0.17.1-2.fc39.x86_64 7/8
Verificando : xdelta-3.1.0-17.fc39.x86_64 8/8
Instalados:
cowsql-1.15.3-0.1.fc39.x86_64 incus-0.2-0.2.fc39.x86_64 incus-client-0.2-0.2.fc39.x86_64
lxc-libs-5.0.3-0.2.fc39.x86_64 lxc-templates-5.0.3-0.2.fc39.x86_64 lxcfs-5.0.4-1.fc39.x86_64
raft-0.17.1-2.fc39.x86_64 xdelta-3.1.0-17.fc39.x86_64
Concluído!
arthur@fedora:~$ systemctl enable incus --now
Failed to enable auxiliary unit incus-instances.service, ignoring.
Created symlink /etc/systemd/system/sockets.target.wants/incus.socket → /usr/lib/systemd/system/incus.socket.
A dependency job for incus.service failed. See 'journalctl -xe' for details.
arthur@fedora:~$
Here is also the output of journalctl -xe:
dez 05 13:13:17 fedora systemd[1]: incus.socket: Failed to create listening socket (/var/lib/incus/unix.socket): Address already in use
dez 05 13:13:17 fedora systemd[1]: incus.socket: Failed to listen on sockets: Address already in use
dez 05 13:13:17 fedora systemd[1]: incus.socket: Failed with result 'resources'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit incus.socket has entered the 'failed' state with result 'resources'.
dez 05 13:13:17 fedora systemd[1]: Failed to listen on incus.socket - Incus - Daemon (unix socket).
░░ Subject: A unidade incus.socket falhou
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A unidade incus.socket falhou.
░░
░░ O resultado é failed.
dez 05 13:13:17 fedora systemd[1]: Dependency failed for incus.service - Incus - Daemon.
░░ Subject: A unidade incus.service falhou
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A unidade incus.service falhou.
░░
░░ O resultado é dependency.
dez 05 13:13:17 fedora systemd[1]: incus.service: Job incus.service/start failed with result 'dependency'.
dez 05 13:13:17 fedora systemd[1]: Started lxcfs.service - FUSE filesystem for LXC.
░░ Subject: Unidade lxcfs.service concluiu a inicialização
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A unidade lxcfs.service concluiu a inicialização.
░░
░░ The start-up result is done.
Perhaps it was an attempt to install from the source code, when I hadn’t thought about the possibility of using the repository. However, I was convinced that it had been completely deleted.
In any case, after installation from the repository, the /var/lib/incus directory is empty.