From: Christian Miller via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "64073@debbugs.gnu.org" <64073@debbugs.gnu.org>
Subject: bug#64073: libvirtd requires restart to function
Date: Fri, 16 Jun 2023 20:44:09 +0000 [thread overview]
Message-ID: <UudC9AwPmARDdZ3cSUTcE7SlFGz2JQjAcTkviK04JjSBDcR5YcevXjEFX5bUDLwC41Wpi1BYVUBlsZ_aWgtI1AhhV6bJQaOk1B_2mFI-WBY=@proton.me> (raw)
In-Reply-To: <4qRpCOZqo2dCWoe2W8nMf5XUDKSGU1z6Bzbk0o4V1AIE9buOePdVIXvQVbJD583fZMcSx_Tca37t-kuAG6todLdJAa5dLbayxVsnvebZSs0=@proton.me>
[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]
Hi,
there is not an error message upon starting it but by stopping it:
Jun 14 23:52:18 localhost shepherd[1]: Stopping service libvirtd...
Jun 14 23:52:18 localhost libvirtd: 157: error : virGDBusGetSystemBus:99 : internal error: Unable to get system bus connection: Could not connect: No such file or directory
I have added the command output of "grep -i libvirt /var/log/messages" as attachment.
NOTE: That permission denied error on the ISO is happening since I copied /etc/libvirt from my old system. I have 10+ VMs and thought this works as well as of re importing every vm.
PS:
I wanted to create a VM to not taint logs but since I upgraded the VM I just have a black screen. It was a Guix VM installed through the installer with GNOME. I ran guix pull and added spice, libvirt and virtlog to the config. After guix system reconfigure config.scm I know have a black screen upon logging in to the system. This was only after reconfiguring the system. Before it worked normally. I used the ISO that reports a permission denied error in the logs I attached. GDM works fine but after logging it is just a black screen. Also my mouse cursor changes from a arrow pointer to the default cross cursor from x11. I guess something is broken on latest?
Best Regards
Christian Miller
[-- Attachment #2: log.txt --]
[-- Type: text/plain, Size: 9773 bytes --]
Jun 12 16:20:35 localhost vmunix: [ 1.669057] shepherd[1]: Starting service libvirtd...
Jun 12 16:20:35 localhost vmunix: [ 1.690558] shepherd[1]: Service libvirtd started.
Jun 12 16:20:35 localhost vmunix: [ 1.696205] shepherd[1]: Service libvirtd running with value 155.
Jun 12 16:20:35 localhost vmunix: [ 1.696425] shepherd[1]: Service libvirtd has been started.
Jun 13 11:38:06 localhost vmunix: [ 1.687605] shepherd[1]: Starting service libvirtd...
Jun 13 11:38:06 localhost vmunix: [ 1.708965] shepherd[1]: Service libvirtd started.
Jun 13 11:38:06 localhost vmunix: [ 1.714310] shepherd[1]: Service libvirtd running with value 155.
Jun 13 11:38:06 localhost vmunix: [ 1.714578] shepherd[1]: Service libvirtd has been started.
Jun 13 17:42:57 localhost shepherd[1]: Stopping service libvirtd...
Jun 13 17:42:57 localhost libvirtd: 155: error : virGDBusGetSystemBus:99 : internal error: Unable to get system bus connection: Could not connect: No such file or directory
Jun 13 17:42:57 localhost shepherd[1]: Service libvirtd stopped.
Jun 13 17:42:57 localhost shepherd[1]: Service libvirtd is now stopped.
Jun 13 17:42:57 localhost shepherd[1]: Starting service libvirtd...
Jun 13 17:42:57 localhost shepherd[1]: Service libvirtd has been started.
Jun 13 17:42:57 localhost shepherd[1]: Service libvirtd started.
Jun 13 17:42:57 localhost shepherd[1]: Service libvirtd running with value 9832.
Jun 13 17:42:57 localhost dnsmasq[361]: read /var/lib/libvirt/dnsmasq/network.addnhosts - 0 names
Jun 13 17:42:57 localhost dnsmasq-dhcp[361]: read /var/lib/libvirt/dnsmasq/network.hostsfile
Jun 14 05:10:37 localhost shepherd[1]: Respawning libvirtd.
Jun 14 05:10:37 localhost shepherd[1]: Starting service libvirtd...
Jun 14 05:10:37 localhost shepherd[1]: Service libvirtd started.
Jun 14 05:10:37 localhost shepherd[1]: Service libvirtd running with value 27278.
Jun 14 05:10:37 localhost shepherd[1]: Service libvirtd has been started.
Jun 14 16:00:12 localhost vmunix: [ 1.662704] shepherd[1]: Starting service libvirtd...
Jun 14 16:00:12 localhost vmunix: [ 1.684551] shepherd[1]: Service libvirtd started.
Jun 14 16:00:12 localhost vmunix: [ 1.689707] shepherd[1]: Service libvirtd running with value 159.
Jun 14 16:00:12 localhost vmunix: [ 1.689941] shepherd[1]: Service libvirtd has been started.
Jun 14 22:01:48 localhost vmunix: [ 1.672804] shepherd[1]: Starting service libvirtd...
Jun 14 22:01:48 localhost vmunix: [ 1.694130] shepherd[1]: Service libvirtd started.
Jun 14 22:01:48 localhost vmunix: [ 1.699300] shepherd[1]: Service libvirtd running with value 158.
Jun 14 22:01:48 localhost vmunix: [ 1.699497] shepherd[1]: Service libvirtd has been started.
Jun 14 22:31:32 localhost vmunix: [ 1.748114] shepherd[1]: Starting service libvirtd...
Jun 14 22:31:32 localhost vmunix: [ 1.769690] shepherd[1]: Service libvirtd started.
Jun 14 22:31:32 localhost vmunix: [ 1.774882] shepherd[1]: Service libvirtd running with value 157.
Jun 14 22:31:32 localhost vmunix: [ 1.775099] shepherd[1]: Service libvirtd has been started.
Jun 14 23:52:18 localhost shepherd[1]: Stopping service libvirtd...
Jun 14 23:52:18 localhost libvirtd: 157: error : virGDBusGetSystemBus:99 : internal error: Unable to get system bus connection: Could not connect: No such file or directory
Jun 14 23:52:18 localhost shepherd[1]: Service libvirtd stopped.
Jun 14 23:52:18 localhost shepherd[1]: Service libvirtd is now stopped.
Jun 14 23:52:18 localhost shepherd[1]: Starting service libvirtd...
Jun 14 23:52:18 localhost shepherd[1]: Service libvirtd has been started.
Jun 14 23:52:18 localhost shepherd[1]: Service libvirtd started.
Jun 14 23:52:18 localhost shepherd[1]: Service libvirtd running with value 6177.
Jun 14 23:52:18 localhost dnsmasq[362]: read /var/lib/libvirt/dnsmasq/network.addnhosts - 0 names
Jun 14 23:52:18 localhost dnsmasq-dhcp[362]: read /var/lib/libvirt/dnsmasq/network.hostsfile
Jun 15 04:39:36 localhost shepherd[1]: Respawning libvirtd.
Jun 15 04:39:36 localhost shepherd[1]: Starting service libvirtd...
Jun 15 04:39:36 localhost shepherd[1]: Service libvirtd started.
Jun 15 04:39:36 localhost shepherd[1]: Service libvirtd running with value 14395.
Jun 15 04:39:36 localhost shepherd[1]: Service libvirtd has been started.
Jun 15 16:02:13 localhost vmunix: [ 1.682893] shepherd[1]: Starting service libvirtd...
Jun 15 16:02:13 localhost vmunix: [ 1.704532] shepherd[1]: Service libvirtd started.
Jun 15 16:02:13 localhost vmunix: [ 1.709753] shepherd[1]: Service libvirtd running with value 157.
Jun 15 16:02:13 localhost vmunix: [ 1.710035] shepherd[1]: Service libvirtd has been started.
Jun 16 15:28:56 localhost vmunix: [ 1.687354] shepherd[1]: Starting service libvirtd...
Jun 16 15:28:56 localhost vmunix: [ 1.709063] shepherd[1]: Service libvirtd started.
Jun 16 15:28:56 localhost vmunix: [ 1.714333] shepherd[1]: Service libvirtd running with value 158.
Jun 16 15:28:56 localhost vmunix: [ 1.714565] shepherd[1]: Service libvirtd has been started.
Jun 16 20:20:21 localhost libvirtd: 168: error : virGDBusGetSystemBus:99 : internal error: Unable to get system bus connection: Could not connect: No such file or directory
Jun 16 20:20:21 localhost libvirtd: 158: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
Jun 16 20:22:51 localhost shepherd[1]: Stopping service libvirtd...
Jun 16 20:22:51 localhost libvirtd: 158: error : virGDBusGetSystemBus:99 : internal error: Unable to get system bus connection: Could not connect: No such file or directory
Jun 16 20:22:51 localhost shepherd[1]: Service libvirtd stopped.
Jun 16 20:22:51 localhost shepherd[1]: Service libvirtd is now stopped.
Jun 16 20:22:51 localhost shepherd[1]: Starting service libvirtd...
Jun 16 20:22:51 localhost shepherd[1]: Service libvirtd has been started.
Jun 16 20:22:51 localhost shepherd[1]: Service libvirtd started.
Jun 16 20:22:51 localhost shepherd[1]: Service libvirtd running with value 6718.
Jun 16 20:22:51 localhost dnsmasq[361]: read /var/lib/libvirt/dnsmasq/network.addnhosts - 0 names
Jun 16 20:22:51 localhost dnsmasq-dhcp[361]: read /var/lib/libvirt/dnsmasq/network.hostsfile
Jun 16 20:28:38 localhost libvirtd: 7721: info : libvirt version: 8.6.0
Jun 16 20:28:38 localhost libvirtd: 7721: info : hostname: gnu
Jun 16 20:28:38 localhost libvirtd: 7721: error : qemuMonitorIORead:456 : Unable to read from monitor: Connection reset by peer
Jun 16 20:28:38 localhost libvirtd: 7721: error : qemuProcessReportLogError:2026 : internal error: qemu unexpectedly closed the monitor: 2023-06-16T18:28:38.579248Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/cm/Downloads/7hcg4b2sh2yq0mzzinps4x5wm5x17bl3-image.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/home/cm/Downloads/7hcg4b2sh2yq0mzzinps4x5wm5x17bl3-image.iso': Permission denied
Jun 16 20:28:38 localhost libvirtd: 6723: error : qemuProcessReportLogError:2026 : internal error: process exited while connecting to monitor: 2023-06-16T18:28:38.579248Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/cm/Downloads/7hcg4b2sh2yq0mzzinps4x5wm5x17bl3-image.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/home/cm/Downloads/7hcg4b2sh2yq0mzzinps4x5wm5x17bl3-image.iso': Permission denied
Jun 16 20:29:56 localhost libvirtd: 6722: warning : virStorageBackendVolOpen:1619 : ignoring FIFO '/tmp/polybar_mqueue.718'
Jun 16 20:48:58 localhost libvirtd: 6723: warning : virStorageBackendVolOpen:1619 : ignoring FIFO '/tmp/polybar_mqueue.718'
Jun 16 22:19:17 localhost shepherd[1]: Stopping service libvirtd...
Jun 16 22:19:17 localhost shepherd[1]: Service libvirtd stopped.
Jun 16 22:19:17 localhost shepherd[1]: Service libvirtd is now stopped.
Jun 16 22:19:17 localhost shepherd[1]: Starting service libvirtd...
Jun 16 22:19:17 localhost shepherd[1]: Service libvirtd has been started.
Jun 16 22:19:17 localhost shepherd[1]: Service libvirtd started.
Jun 16 22:19:17 localhost shepherd[1]: Service libvirtd running with value 15328.
Jun 16 22:19:17 localhost dnsmasq[361]: read /var/lib/libvirt/dnsmasq/network.addnhosts - 0 names
Jun 16 22:19:17 localhost dnsmasq-dhcp[361]: read /var/lib/libvirt/dnsmasq/network.hostsfile
Jun 16 22:19:17 localhost libvirtd: 15340: info : libvirt version: 8.6.0
Jun 16 22:19:17 localhost libvirtd: 15340: info : hostname: gnu
Jun 16 22:19:17 localhost libvirtd: 15340: warning : virStorageBackendVolOpen:1619 : ignoring FIFO '/tmp/polybar_mqueue.718'
Jun 16 22:19:17 localhost libvirtd: 15340: warning : virStorageBackendVolOpen:1619 : ignoring FIFO '/tmp/polybar_mqueue.14245'
Jun 16 22:19:21 localhost libvirtd: 15332: warning : virStorageBackendVolOpen:1619 : ignoring FIFO '/tmp/polybar_mqueue.718'
Jun 16 22:19:21 localhost libvirtd: 15332: warning : virStorageBackendVolOpen:1619 : ignoring FIFO '/tmp/polybar_mqueue.14245'
Jun 16 22:23:14 localhost shepherd[1]: Respawning libvirtd.
Jun 16 22:23:14 localhost shepherd[1]: Starting service libvirtd...
Jun 16 22:23:14 localhost shepherd[1]: Service libvirtd started.
Jun 16 22:23:14 localhost shepherd[1]: Service libvirtd running with value 15956.
Jun 16 22:23:14 localhost shepherd[1]: Service libvirtd has been started.
Jun 16 22:23:46 localhost vmunix: [ 1.711901] shepherd[1]: Starting service libvirtd...
Jun 16 22:23:46 localhost vmunix: [ 1.732802] shepherd[1]: Service libvirtd started.
Jun 16 22:23:46 localhost vmunix: [ 1.738023] shepherd[1]: Service libvirtd running with value 158.
Jun 16 22:23:46 localhost vmunix: [ 1.738233] shepherd[1]: Service libvirtd has been started.
next prev parent reply other threads:[~2023-06-16 20:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 22:40 bug#64073: libvirtd requires restart to function Christian Miller via Bug reports for GNU Guix
2023-06-15 12:37 ` Ludovic Courtès
2023-06-16 20:44 ` Christian Miller via Bug reports for GNU Guix [this message]
2023-06-17 16:02 ` Josselin Poiret via Bug reports for GNU Guix
2023-06-17 16:03 ` bug#64073: [PATCH] services: libvirt: Add requirement on dbus Josselin Poiret via Bug reports for GNU Guix
2023-06-19 19:29 ` bug#64073: libvirtd requires restart to function Christian Miller via Bug reports for GNU Guix
2023-06-20 12:21 ` Josselin Poiret via Bug reports for GNU Guix
2023-07-07 19:48 ` Josselin Poiret via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='UudC9AwPmARDdZ3cSUTcE7SlFGz2JQjAcTkviK04JjSBDcR5YcevXjEFX5bUDLwC41Wpi1BYVUBlsZ_aWgtI1AhhV6bJQaOk1B_2mFI-WBY=@proton.me' \
--to=bug-guix@gnu.org \
--cc=64073@debbugs.gnu.org \
--cc=miller.christian@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).