all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Virtualisation: Network problems
@ 2022-09-25 17:58 Gottfried
  2022-09-26  4:19 ` Chris Keschnat via
  0 siblings, 1 reply; 13+ messages in thread
From: Gottfried @ 2022-09-25 17:58 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 2955 bytes --]

Hi Guixers,

Basic details of my Virtualisation setup:

Name: QEUMU/KVM
Libvirt URL: qemu:///System
Autoconnect yes
-------------------------------------
Network selection
It gives me 3 options:

1. I added a virtual network
	Name: network
	Device: virbr0 is there
	IPv4 configuration is there

Details:

<network>
   <name>network</name>
   <uuid>e324aabf-6ad4-4407-9028-82c96be96e0c</uuid>
   <forward mode="nat">
     <nat>
       <port start="1024" end="65535"/>
     </nat>
   </forward>
   <bridge name="virbr0" stp="on" delay="0"/>
   <mac address="52:54:00:16:e9:74"/>
   <domain name="network"/>
   <ip address="192.168.100.1" netmask="255.255.255.0">
     <dhcp>
       <range start="192.168.100.128" end="192.168.100.254"/>
     </dhcp>
   </ip>
</network>

2. Bridge device
3. Macvtap device

I guess the 1. option is the one I need. May be I made a mistake in 
adding a virtual network
-------------------------------------------------------------------

When I want to set up the QEMU/KVM network connection for the VM
and I want to run the last step(the 5/5 step) of installing an iso
it says:

Installation konnte nicht fertiggestellt werden/
Installation could not be completed:
Failed connect socket to
'/var/run/libvirt/virtlogd-sock':
No such file or directory
-------------------------------------------------------------------
Installation konnte nicht fertiggestellt werden: «Failed to connect 
socket to '/var/run/libvirt/virtlogd-sock': No such file or directory»

Traceback (most recent call last):
   File 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py", 
line 65, in cb_wrapper
     callback(asyncjob, *args, **kwargs)
   File 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py", 
line 2001, in _do_async_install
     installer.start_install(guest, meter=meter)
   File 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py", 
line 701, in start_install
     domain = self._create_guest(
   File 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py", 
line 649, in _create_guest
     domain = self.conn.createXML(install_xml or final_xml, 0)
   File 
"/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py", 
line 4442, in createXML
     raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: Failed to connect socket to 
'/var/run/libvirt/virtlogd-sock': No such file or directory
--------------------------------------------------------------------


But running the last step:

Failed to find a suitable default network
-----------------------------------------------

What are the problems here?
Any suggestions?

Gottfried

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
  2022-09-25 17:58 Gottfried
@ 2022-09-26  4:19 ` Chris Keschnat via
  0 siblings, 0 replies; 13+ messages in thread
From: Chris Keschnat via @ 2022-09-26  4:19 UTC (permalink / raw)
  To: help-guix

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Gottfried <gottfried@posteo.de> writes:

> [[PGP Signed Part:Undecided]]
> Hi Guixers,
>
> Basic details of my Virtualisation setup:
>
> Name: QEUMU/KVM
> Libvirt URL: qemu:///System
> Autoconnect yes
> -------------------------------------
> Network selection
> It gives me 3 options:
>
> 1. I added a virtual network
>   Name: network
>   Device: virbr0 is there
>   IPv4 configuration is there
>
> Details:
>
> <network>
>   <name>network</name>
>   <uuid>e324aabf-6ad4-4407-9028-82c96be96e0c</uuid>
>   <forward mode="nat">
>     <nat>
>       <port start="1024" end="65535"/>
>     </nat>
>   </forward>
>   <bridge name="virbr0" stp="on" delay="0"/>
>   <mac address="52:54:00:16:e9:74"/>
>   <domain name="network"/>
>   <ip address="192.168.100.1" netmask="255.255.255.0">
>     <dhcp>
>       <range start="192.168.100.128" end="192.168.100.254"/>
>     </dhcp>
>   </ip>
> </network>
>
> 2. Bridge device
> 3. Macvtap device
>
> I guess the 1. option is the one I need. May be I made a mistake in
> adding a virtual network
> -------------------------------------------------------------------
>
> When I want to set up the QEMU/KVM network connection for the VM
> and I want to run the last step(the 5/5 step) of installing an iso
> it says:
>
> Installation konnte nicht fertiggestellt werden/
> Installation could not be completed:
> Failed connect socket to
> '/var/run/libvirt/virtlogd-sock':
> No such file or directory
> -------------------------------------------------------------------
> Installation konnte nicht fertiggestellt werden: «Failed to connect
> socket to '/var/run/libvirt/virtlogd-sock': No such file or directory»
>
> Traceback (most recent call last):
>   File
>   "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py",
>   line 65, in cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File
>   "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py",
>   line 2001, in _do_async_install
>     installer.start_install(guest, meter=meter)
>   File
>   "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>   line 701, in start_install
>     domain = self._create_guest(
>   File
>   "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>   line 649, in _create_guest
>     domain = self.conn.createXML(install_xml or final_xml, 0)
>   File
>   "/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py",
>   line 4442, in createXML
>     raise libvirtError('virDomainCreateXML() failed')
> libvirt.libvirtError: Failed to connect socket to
> '/var/run/libvirt/virtlogd-sock': No such file or directory
> --------------------------------------------------------------------
>
>
> But running the last step:
>
> Failed to find a suitable default network
> -----------------------------------------------
>
> What are the problems here?
> Any suggestions?
>
> Gottfried
>
> [2. OpenPGP public key --- application/pgp-keys; OpenPGP_0x61FAF349C9FB7F94.asc]...
>
> [[End of PGP Signed Part]]

Hello,
does ~sudo virsh net-list~ show a network? I remember having some issues which I never solved "the guix way", only
manually.

If virsh doesn't show a network, you can try (locate a
=default.xml= on your machine):

#+begin_src sh

  sudo virsh net-define /gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qemu/networks/default.xml
  sudo virsh net-autostart default
  sudo virsh net-start default

#+end_src

Obviously I would prefer a cleaner way, but I haven't looked further
into this yet. If anyone knows the answer, I would appreciate it.

PS: Just for completeness, the =default.xml= looks like this:

#+begin_src conf

  <network>
    <name>default</name>
    <bridge name='virbr0'/>
    <forward/>
    <ip address='192.168.122.1' netmask='255.255.255.0'>
      <dhcp>
        <range start='192.168.122.2' end='192.168.122.254'/>
      </dhcp>
    </ip>
  </network>

#+end_src
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMxKkUACgkQUzV95hT0
vZVSCgv/cxOBEs9flfan+Q/f8/EprnD2aJ4Win7Z+v09Y32vuL3wtpXPX0qzknxJ
gSryiE74zhJe3PY7djg+I07saAVZ7oC+GqMv3Sy10Co/csb5EsPIrGezDlsI7roE
wmwlMaWkjXzIHqrkwC+CNIFId5mBgoXlzPH5/IMJlESCyBnQe6FyBCJ+xZzOuQkw
WCne6c9zGZyHJxmLtN7k8WxeG2Gzk9OaSewh3EsBr6ib6QSDIB/QgCDVMGRXa+bP
NlwsDGmCwYNWh8g2bwiBEAoK0X8DfhbHDEnhcQzdkGbSLQg8Z7lnLu93entQon3j
0w8siVDnOrISv9w9fRFnF8Jhhrl7zLvJFQnzc6y4YljPhvBV+6F9fFz7JYljTcat
H0Za/otKKUn7PYKXek9J14NY0RIj9oBomnqPfmFiJU+feYx4yF44W6r1Rt3DHAEG
X9LwhrBwk23j8rqGtKUBY3pllMMZNsGJNyigW/1HgKVPXKmDtrMCvSkojDOeaTCT
YmzUe7GZ
=wRh2
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
@ 2022-09-26 15:47 Gottfried
  2022-09-26 16:29 ` Chris Keschnat via
  2022-09-27  4:26 ` Chris Keschnat via
  0 siblings, 2 replies; 13+ messages in thread
From: Gottfried @ 2022-09-26 15:47 UTC (permalink / raw)
  To: help-guix, chris


[-- Attachment #1.1.1: Type: text/plain, Size: 5041 bytes --]

Hi Chris,

thanks for your answer

  does:
> ~sudo virsh net-list~ show a network? 

yes, it shows a network: ("ja" means yes)

gfp@Tuxedo ~$ sudo virsh net-list
  Name      Status   Automatischer Start   Bleibend
----------------------------------------------------
  network   Aktiv    ja                    ja


Gottfried



----------------------------------------------------
From: Chris Keschnat <chris@catsu.it>
To: help-guix@gnu.org
Subject: Re: Virtualisation: Network problems
Message-ID: <8635celpyy.fsf@catsu.it>
Content-Type: text/plain; charset=utf-8


Gottfried <gottfried@posteo.de> writes:

 > [[PGP Signed Part:Undecided]]
 > Hi Guixers,
 >
 > Basic details of my Virtualisation setup:
 >
 > Name: QEUMU/KVM
 > Libvirt URL: qemu:///System
 > Autoconnect yes
 > -------------------------------------
 > Network selection
 > It gives me 3 options:
 >
 > 1. I added a virtual network
 >   Name: network
 >   Device: virbr0 is there
 >   IPv4 configuration is there
 >
 > Details:
 >
 > <network>
 >   <name>network</name>
 >   <uuid>e324aabf-6ad4-4407-9028-82c96be96e0c</uuid>
 >   <forward mode="nat">
 >     <nat>
 >       <port start="1024" end="65535"/>
 >     </nat>
 >   </forward>
 >   <bridge name="virbr0" stp="on" delay="0"/>
 >   <mac address="52:54:00:16:e9:74"/>
 >   <domain name="network"/>
 >   <ip address="192.168.100.1" netmask="255.255.255.0">
 >     <dhcp>
 >       <range start="192.168.100.128" end="192.168.100.254"/>
 >     </dhcp>
 >   </ip>
 > </network>
 >
 > 2. Bridge device
 > 3. Macvtap device
 >
 > I guess the 1. option is the one I need. May be I made a mistake in
 > adding a virtual network
 > -------------------------------------------------------------------
 >
 > When I want to set up the QEMU/KVM network connection for the VM
 > and I want to run the last step(the 5/5 step) of installing an iso
 > it says:
 >
 > Installation konnte nicht fertiggestellt werden/
 > Installation could not be completed:
 > Failed connect socket to
 > '/var/run/libvirt/virtlogd-sock':
 > No such file or directory
 > -------------------------------------------------------------------
 > Installation konnte nicht fertiggestellt werden: «Failed to connect
 > socket to '/var/run/libvirt/virtlogd-sock': No such file or directory»
 >
 > Traceback (most recent call last):
 >   File
 > 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py",
 >   line 65, in cb_wrapper
 >     callback(asyncjob, *args, **kwargs)
 >   File
 > 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py",
 >   line 2001, in _do_async_install
 >     installer.start_install(guest, meter=meter)
 >   File
 > 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
 >   line 701, in start_install
 >     domain = self._create_guest(
 >   File
 > 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
 >   line 649, in _create_guest
 >     domain = self.conn.createXML(install_xml or final_xml, 0)
 >   File
 > 
"/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py",
 >   line 4442, in createXML
 >     raise libvirtError('virDomainCreateXML() failed')
 > libvirt.libvirtError: Failed to connect socket to
 > '/var/run/libvirt/virtlogd-sock': No such file or directory
 > --------------------------------------------------------------------
 >
 >
 > But running the last step:
 >
 > Failed to find a suitable default network
 > -----------------------------------------------
 >
 > What are the problems here?
 > Any suggestions?
 >
 > Gottfried
 >
 > [2. OpenPGP public key --- application/pgp-keys; 
OpenPGP_0x61FAF349C9FB7F94.asc]...
 >
 > [[End of PGP Signed Part]]
-------------------------------------------------------------------------------
Hello,
does ~sudo virsh net-list~ show a network? I remember having some issues 
which I never solved "the guix way", only
manually.

If virsh doesn't show a network, you can try (locate a
=default.xml= on your machine):

#+begin_src sh

   sudo virsh net-define 
/gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qemu/networks/default.xml
   sudo virsh net-autostart default
   sudo virsh net-start default

#+end_src

Obviously I would prefer a cleaner way, but I haven't looked further
into this yet. If anyone knows the answer, I would appreciate it.

PS: Just for completeness, the =default.xml= looks like this:

#+begin_src conf

   <network>
     <name>default</name>
     <bridge name='virbr0'/>
     <forward/>
     <ip address='192.168.122.1' netmask='255.255.255.0'>
       <dhcp>
         <range start='192.168.122.2' end='192.168.122.254'/>
       </dhcp>
     </ip>
   </network>

#+end_src

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
  2022-09-26 15:47 Virtualisation: Network problems Gottfried
@ 2022-09-26 16:29 ` Chris Keschnat via
  2022-09-26 18:05   ` Gottfried
  2022-09-27  4:26 ` Chris Keschnat via
  1 sibling, 1 reply; 13+ messages in thread
From: Chris Keschnat via @ 2022-09-26 16:29 UTC (permalink / raw)
  To: Gottfried; +Cc: help-guix

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Gottfried <gottfried@posteo.de> writes:

> [[PGP Signed Part:Undecided]]
> Hi Chris,
>
> thanks for your answer
>
>   does:
>> ~sudo virsh net-list~ show a network?
>
> yes, it shows a network: ("ja" means yes)
>
> gfp@Tuxedo ~$ sudo virsh net-list
>   Name      Status   Automatischer Start   Bleibend
> ----------------------------------------------------
>   network   Aktiv    ja                    ja
>
>
> Gottfried
>
>
>
> ----------------------------------------------------
> From: Chris Keschnat <chris@catsu.it>
> To: help-guix@gnu.org
> Subject: Re: Virtualisation: Network problems
> Message-ID: <8635celpyy.fsf@catsu.it>
> Content-Type: text/plain; charset=utf-8
>
>
> Gottfried <gottfried@posteo.de> writes:
>
>  > [[PGP Signed Part:Undecided]]
>  > Hi Guixers,
>  >
>  > Basic details of my Virtualisation setup:
>  >
>  > Name: QEUMU/KVM
>  > Libvirt URL: qemu:///System
>  > Autoconnect yes
>  > -------------------------------------
>  > Network selection
>  > It gives me 3 options:
>  >
>  > 1. I added a virtual network
>  >   Name: network
>  >   Device: virbr0 is there
>  >   IPv4 configuration is there
>  >
>  > Details:
>  >
>  > <network>
>  >   <name>network</name>
>  >   <uuid>e324aabf-6ad4-4407-9028-82c96be96e0c</uuid>
>  >   <forward mode="nat">
>  >     <nat>
>  >       <port start="1024" end="65535"/>
>  >     </nat>
>  >   </forward>
>  >   <bridge name="virbr0" stp="on" delay="0"/>
>  >   <mac address="52:54:00:16:e9:74"/>
>  >   <domain name="network"/>
>  >   <ip address="192.168.100.1" netmask="255.255.255.0">
>  >     <dhcp>
>  >       <range start="192.168.100.128" end="192.168.100.254"/>
>  >     </dhcp>
>  >   </ip>
>  > </network>
>  >
>  > 2. Bridge device
>  > 3. Macvtap device
>  >
>  > I guess the 1. option is the one I need. May be I made a mistake in
>  > adding a virtual network
>  > -------------------------------------------------------------------
>  >
>  > When I want to set up the QEMU/KVM network connection for the VM
>  > and I want to run the last step(the 5/5 step) of installing an iso
>  > it says:
>  >
>  > Installation konnte nicht fertiggestellt werden/
>  > Installation could not be completed:
>  > Failed connect socket to
>  > '/var/run/libvirt/virtlogd-sock':
>  > No such file or directory
>  > -------------------------------------------------------------------
>  > Installation konnte nicht fertiggestellt werden: «Failed to connect
>  > socket to '/var/run/libvirt/virtlogd-sock': No such file or directory»
>  >
>  > Traceback (most recent call last):
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py",
>  >   line 65, in cb_wrapper
>  >     callback(asyncjob, *args, **kwargs)
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py",
>  >   line 2001, in _do_async_install
>  >     installer.start_install(guest, meter=meter)
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>  >   line 701, in start_install
>  >     domain = self._create_guest(
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>  >   line 649, in _create_guest
>  >     domain = self.conn.createXML(install_xml or final_xml, 0)
>  >   File
>  >
> "/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py",
>  >   line 4442, in createXML
>  >     raise libvirtError('virDomainCreateXML() failed')
>  > libvirt.libvirtError: Failed to connect socket to
>  > '/var/run/libvirt/virtlogd-sock': No such file or directory
>  > --------------------------------------------------------------------
>  >
>  >
>  > But running the last step:
>  >
>  > Failed to find a suitable default network
>  > -----------------------------------------------
>  >
>  > What are the problems here?
>  > Any suggestions?
>  >
>  > Gottfried
>  >
>  > [2. OpenPGP public key --- application/pgp-keys;
> OpenPGP_0x61FAF349C9FB7F94.asc]...
>  >
>  > [[End of PGP Signed Part]]
> -------------------------------------------------------------------------------
> Hello,
> does ~sudo virsh net-list~ show a network? I remember having some issues
> which I never solved "the guix way", only
> manually.
>
> If virsh doesn't show a network, you can try (locate a
> =default.xml= on your machine):
>
> #+begin_src sh
>
>    sudo virsh net-define
> /gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qemu/networks/default.xml
>    sudo virsh net-autostart default
>    sudo virsh net-start default
>
> #+end_src
>
>
> Obviously I would prefer a cleaner way, but I haven't looked further
> into this yet. If anyone knows the answer, I would appreciate it.
>
> PS: Just for completeness, the =default.xml= looks like this:
>
> #+begin_src conf
>
>    <network>
>      <name>default</name>
>      <bridge name='virbr0'/>
>      <forward/>
>      <ip address='192.168.122.1' netmask='255.255.255.0'>
>        <dhcp>
>          <range start='192.168.122.2' end='192.168.122.254'/>
>        </dhcp>
>      </ip>
>    </network>
>
> #+end_src
>
> [5. OpenPGP public key --- application/pgp-keys; OpenPGP_0x61FAF349C9FB7F94.asc]...
>
> [[End of PGP Signed Part]]

Hi Gottfried,
is virtlogd running?

I am not sure how it is/was started, but it is running on my system.

#+begin_src sh
ck@beehive ~  $ ps -ef | grep virtlog
root       986     1  0 17:34 ?        00:00:00
/gnu/store/v53l9k5badh84mf6arhhk76f0pa6ly46-libvirt-8.6.0/sbin/virtlogd
- -f /gnu/store/7sd588q79rhdwvq8wypx5n2finsn8gsf-virtlogd.conf
#+end_src

PS: I too am German, so I understand.
PPS: I even use a Tuxedo too! Aura 15 Gen2, pretty happy with it (:
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMx1KcACgkQUzV95hT0
vZWxtQv+OnNpPrHFLCvylZQnnT9GzHCsKSxXLchXuHDZSG6V8XAlvtsV5Z7iddSP
WRUjYIAYohlWf3Yl9Qcd0kqSn2S2NT4j5nmPUDhr17r2eHhEHYcD9WduC6RPs3pN
uZkKpflacHVknN5/utVJBM/MtNv6NDjgsBm+VvkH3A+Q6aEK3fzyMYR4mhMmCPdZ
Ft9azdTmr2yf4Gtp4Gx1u+m67LT0nHNWU6x6e7A+FPhcLie9LmWmJAV6wMU3ouEB
Q/hfPDS6pGhNcM8f/NiPSY7q2G25OK6T7PcLV0ljrSS57nP1JjOur2kNWEoGCT+o
AduLjbx0ZnKwTwS6EqLGDN/TtI7akQMQdiVhNSMIzERMCuAz7go+jdJFf9mORx0p
R2rVsXfo5O+GKVqAde4Q6qm0TgVEH+2FGBa9Eyns/AIPEdN1vzsS8dWw5SKk7tqn
PQDtwPrPEGAnLU3FHABa/gKD8nYEhh2oVsk0GFXudMkmIFOTwC3g4Nj7rLTuoU9+
DOHDFGdc
=quL4
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
  2022-09-26 16:29 ` Chris Keschnat via
@ 2022-09-26 18:05   ` Gottfried
  2022-10-01 13:32     ` Andreas Enge
  0 siblings, 1 reply; 13+ messages in thread
From: Gottfried @ 2022-09-26 18:05 UTC (permalink / raw)
  To: Chris Keschnat, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 7269 bytes --]

Hallo Chris,
I am writing in English, so that everybody can understand it.

> Hi Gottfried,
> is virtlogd running?
> 
> I am not sure how it is/was started, but it is running on my system.
> 
> #+begin_src sh
> ck@beehive ~  $ ps -ef | grep virtlog
> root       986     1  0 17:34 ?        00:00:00
> /gnu/store/v53l9k5badh84mf6arhhk76f0pa6ly46-libvirt-8.6.0/sbin/virtlogd
> - -f /gnu/store/7sd588q79rhdwvq8wypx5n2finsn8gsf-virtlogd.conf
> #+end_src


If I do a:

gfp@Tuxedo ~$ ps -ef | grep virtlog

it comes up with:

gfp       5233  5218  0 19:45 pts/0    00:00:00 grep --color=auto 
virtlog (the word "virtlog" is in red colour)

root@Tuxedo ~# ps -ef | grep virtlog
root      5396  5392  0 19:55 pts/0    00:00:00 grep --color=auto 
virtlog (the word "virtlog" is in red colour)

I don't know if that means virtlogd is running?
Gottfried


Am 26.09.22 um 18:29 schrieb Chris Keschnat:
> 
> Gottfried <gottfried@posteo.de> writes:
> 
>> [[PGP Signed Part:Undecided]]
>> Hi Chris,
> 
>> thanks for your answer
> 
>>    does:
>>> ~sudo virsh net-list~ show a network?
> 
>> yes, it shows a network: ("ja" means yes)
> 
>> gfp@Tuxedo ~$ sudo virsh net-list
>>    Name      Status   Automatischer Start   Bleibend
>> ----------------------------------------------------
>>    network   Aktiv    ja                    ja
> 
> 
>> Gottfried
> 
> 
> 
>> ----------------------------------------------------
>> From: Chris Keschnat <chris@catsu.it>
>> To: help-guix@gnu.org
>> Subject: Re: Virtualisation: Network problems
>> Message-ID: <8635celpyy.fsf@catsu.it>
>> Content-Type: text/plain; charset=utf-8
> 
> 
>> Gottfried <gottfried@posteo.de> writes:
> 
>>   > [[PGP Signed Part:Undecided]]
>>   > Hi Guixers,
>>   >
>>   > Basic details of my Virtualisation setup:
>>   >
>>   > Name: QEUMU/KVM
>>   > Libvirt URL: qemu:///System
>>   > Autoconnect yes
>>   > -------------------------------------
>>   > Network selection
>>   > It gives me 3 options:
>>   >
>>   > 1. I added a virtual network
>>   >   Name: network
>>   >   Device: virbr0 is there
>>   >   IPv4 configuration is there
>>   >
>>   > Details:
>>   >
>>   > <network>
>>   >   <name>network</name>
>>   >   <uuid>e324aabf-6ad4-4407-9028-82c96be96e0c</uuid>
>>   >   <forward mode="nat">
>>   >     <nat>
>>   >       <port start="1024" end="65535"/>
>>   >     </nat>
>>   >   </forward>
>>   >   <bridge name="virbr0" stp="on" delay="0"/>
>>   >   <mac address="52:54:00:16:e9:74"/>
>>   >   <domain name="network"/>
>>   >   <ip address="192.168.100.1" netmask="255.255.255.0">
>>   >     <dhcp>
>>   >       <range start="192.168.100.128" end="192.168.100.254"/>
>>   >     </dhcp>
>>   >   </ip>
>>   > </network>
>>   >
>>   > 2. Bridge device
>>   > 3. Macvtap device
>>   >
>>   > I guess the 1. option is the one I need. May be I made a mistake in
>>   > adding a virtual network
>>   > -------------------------------------------------------------------
>>   >
>>   > When I want to set up the QEMU/KVM network connection for the VM
>>   > and I want to run the last step(the 5/5 step) of installing an iso
>>   > it says:
>>   >
>>   > Installation konnte nicht fertiggestellt werden/
>>   > Installation could not be completed:
>>   > Failed connect socket to
>>   > '/var/run/libvirt/virtlogd-sock':
>>   > No such file or directory
>>   > -------------------------------------------------------------------
>>   > Installation konnte nicht fertiggestellt werden: «Failed to connect
>>   > socket to '/var/run/libvirt/virtlogd-sock': No such file or directory»
>>   >
>>   > Traceback (most recent call last):
>>   >   File
>>   >
>> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py",
>>   >   line 65, in cb_wrapper
>>   >     callback(asyncjob, *args, **kwargs)
>>   >   File
>>   >
>> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py",
>>   >   line 2001, in _do_async_install
>>   >     installer.start_install(guest, meter=meter)
>>   >   File
>>   >
>> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>>   >   line 701, in start_install
>>   >     domain = self._create_guest(
>>   >   File
>>   >
>> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>>   >   line 649, in _create_guest
>>   >     domain = self.conn.createXML(install_xml or final_xml, 0)
>>   >   File
>>   >
>> "/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py",
>>   >   line 4442, in createXML
>>   >     raise libvirtError('virDomainCreateXML() failed')
>>   > libvirt.libvirtError: Failed to connect socket to
>>   > '/var/run/libvirt/virtlogd-sock': No such file or directory
>>   > --------------------------------------------------------------------
>>   >
>>   >
>>   > But running the last step:
>>   >
>>   > Failed to find a suitable default network
>>   > -----------------------------------------------
>>   >
>>   > What are the problems here?
>>   > Any suggestions?
>>   >
>>   > Gottfried
>>   >
>>   > [2. OpenPGP public key --- application/pgp-keys;
>> OpenPGP_0x61FAF349C9FB7F94.asc]...
>>   >
>>   > [[End of PGP Signed Part]]
>> -------------------------------------------------------------------------------
>> Hello,
>> does ~sudo virsh net-list~ show a network? I remember having some issues
>> which I never solved "the guix way", only
>> manually.
> 
>> If virsh doesn't show a network, you can try (locate a
>> =default.xml= on your machine):
> 
>> #+begin_src sh
> 
>>     sudo virsh net-define
>> /gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qemu/networks/default.xml
>>     sudo virsh net-autostart default
>>     sudo virsh net-start default
> 
>> #+end_src
> 
> 
>> Obviously I would prefer a cleaner way, but I haven't looked further
>> into this yet. If anyone knows the answer, I would appreciate it.
> 
>> PS: Just for completeness, the =default.xml= looks like this:
> 
>> #+begin_src conf
> 
>>     <network>
>>       <name>default</name>
>>       <bridge name='virbr0'/>
>>       <forward/>
>>       <ip address='192.168.122.1' netmask='255.255.255.0'>
>>         <dhcp>
>>           <range start='192.168.122.2' end='192.168.122.254'/>
>>         </dhcp>
>>       </ip>
>>     </network>
> 
>> #+end_src
> 
>> [5. OpenPGP public key --- application/pgp-keys; OpenPGP_0x61FAF349C9FB7F94.asc]...
> 
>> [[End of PGP Signed Part]]
> 
> Hi Gottfried,
> is virtlogd running?
> 
> I am not sure how it is/was started, but it is running on my system.
> 
> #+begin_src sh
> ck@beehive ~  $ ps -ef | grep virtlog
> root       986     1  0 17:34 ?        00:00:00
> /gnu/store/v53l9k5badh84mf6arhhk76f0pa6ly46-libvirt-8.6.0/sbin/virtlogd
> -f /gnu/store/7sd588q79rhdwvq8wypx5n2finsn8gsf-virtlogd.conf
> #+end_src
> 
> PS: I too am German, so I understand.
> PPS: I even use a Tuxedo too! Aura 15 Gen2, pretty happy with it (:

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
  2022-09-26 15:47 Virtualisation: Network problems Gottfried
  2022-09-26 16:29 ` Chris Keschnat via
@ 2022-09-27  4:26 ` Chris Keschnat via
  2022-09-28 13:08   ` can not boot again VM with tails Gottfried
  1 sibling, 1 reply; 13+ messages in thread
From: Chris Keschnat via @ 2022-09-27  4:26 UTC (permalink / raw)
  To: Gottfried; +Cc: help-guix

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi Gottfried,
I just looked at your system config again and compared it to mine. You
are missing the virtlog service. See =Virtlog daemon=[1]

#+begin_src scheme

(service virtlog-service-type
         (virtlog-configuration
          (max-clients 1000)))

#+end_src

[1] https://guix.gnu.org/manual/en/html_node/Virtualization-Services.html


Gottfried <gottfried@posteo.de> writes:

> [[PGP Signed Part:Undecided]]
> Hi Chris,
>
> thanks for your answer
>
>   does:
>> ~sudo virsh net-list~ show a network?
>
> yes, it shows a network: ("ja" means yes)
>
> gfp@Tuxedo ~$ sudo virsh net-list
>   Name      Status   Automatischer Start   Bleibend
> ----------------------------------------------------
>   network   Aktiv    ja                    ja
>
>
> Gottfried
>
>
>
> ----------------------------------------------------
> From: Chris Keschnat <chris@catsu.it>
> To: help-guix@gnu.org
> Subject: Re: Virtualisation: Network problems
> Message-ID: <8635celpyy.fsf@catsu.it>
> Content-Type: text/plain; charset=utf-8
>
>
> Gottfried <gottfried@posteo.de> writes:
>
>  > [[PGP Signed Part:Undecided]]
>  > Hi Guixers,
>  >
>  > Basic details of my Virtualisation setup:
>  >
>  > Name: QEUMU/KVM
>  > Libvirt URL: qemu:///System
>  > Autoconnect yes
>  > -------------------------------------
>  > Network selection
>  > It gives me 3 options:
>  >
>  > 1. I added a virtual network
>  >   Name: network
>  >   Device: virbr0 is there
>  >   IPv4 configuration is there
>  >
>  > Details:
>  >
>  > <network>
>  >   <name>network</name>
>  >   <uuid>e324aabf-6ad4-4407-9028-82c96be96e0c</uuid>
>  >   <forward mode="nat">
>  >     <nat>
>  >       <port start="1024" end="65535"/>
>  >     </nat>
>  >   </forward>
>  >   <bridge name="virbr0" stp="on" delay="0"/>
>  >   <mac address="52:54:00:16:e9:74"/>
>  >   <domain name="network"/>
>  >   <ip address="192.168.100.1" netmask="255.255.255.0">
>  >     <dhcp>
>  >       <range start="192.168.100.128" end="192.168.100.254"/>
>  >     </dhcp>
>  >   </ip>
>  > </network>
>  >
>  > 2. Bridge device
>  > 3. Macvtap device
>  >
>  > I guess the 1. option is the one I need. May be I made a mistake in
>  > adding a virtual network
>  > -------------------------------------------------------------------
>  >
>  > When I want to set up the QEMU/KVM network connection for the VM
>  > and I want to run the last step(the 5/5 step) of installing an iso
>  > it says:
>  >
>  > Installation konnte nicht fertiggestellt werden/
>  > Installation could not be completed:
>  > Failed connect socket to
>  > '/var/run/libvirt/virtlogd-sock':
>  > No such file or directory
>  > -------------------------------------------------------------------
>  > Installation konnte nicht fertiggestellt werden: «Failed to connect
>  > socket to '/var/run/libvirt/virtlogd-sock': No such file or directory»
>  >
>  > Traceback (most recent call last):
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py",
>  >   line 65, in cb_wrapper
>  >     callback(asyncjob, *args, **kwargs)
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py",
>  >   line 2001, in _do_async_install
>  >     installer.start_install(guest, meter=meter)
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>  >   line 701, in start_install
>  >     domain = self._create_guest(
>  >   File
>  >
> "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py",
>  >   line 649, in _create_guest
>  >     domain = self.conn.createXML(install_xml or final_xml, 0)
>  >   File
>  >
> "/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py",
>  >   line 4442, in createXML
>  >     raise libvirtError('virDomainCreateXML() failed')
>  > libvirt.libvirtError: Failed to connect socket to
>  > '/var/run/libvirt/virtlogd-sock': No such file or directory
>  > --------------------------------------------------------------------
>  >
>  >
>  > But running the last step:
>  >
>  > Failed to find a suitable default network
>  > -----------------------------------------------
>  >
>  > What are the problems here?
>  > Any suggestions?
>  >
>  > Gottfried
>  >
>  > [2. OpenPGP public key --- application/pgp-keys;
> OpenPGP_0x61FAF349C9FB7F94.asc]...
>  >
>  > [[End of PGP Signed Part]]
> -------------------------------------------------------------------------------
> Hello,
> does ~sudo virsh net-list~ show a network? I remember having some issues
> which I never solved "the guix way", only
> manually.
>
> If virsh doesn't show a network, you can try (locate a
> =default.xml= on your machine):
>
> #+begin_src sh
>
>    sudo virsh net-define
> /gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qemu/networks/default.xml
>    sudo virsh net-autostart default
>    sudo virsh net-start default
>
> #+end_src
>
>
> Obviously I would prefer a cleaner way, but I haven't looked further
> into this yet. If anyone knows the answer, I would appreciate it.
>
> PS: Just for completeness, the =default.xml= looks like this:
>
> #+begin_src conf
>
>    <network>
>      <name>default</name>
>      <bridge name='virbr0'/>
>      <forward/>
>      <ip address='192.168.122.1' netmask='255.255.255.0'>
>        <dhcp>
>          <range start='192.168.122.2' end='192.168.122.254'/>
>        </dhcp>
>      </ip>
>    </network>
>
> #+end_src
>
> [5. OpenPGP public key --- application/pgp-keys; OpenPGP_0x61FAF349C9FB7F94.asc]...
>
> [[End of PGP Signed Part]]
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMyfEwACgkQUzV95hT0
vZW2kgv/X6GFKBd1+u5o/E3kSFiaSzNUPacetGdhIJQAgoJ1OCMl/Krk0D1wD5lc
VE32SZk8jtjzAc0gWgG7PqVoutOcki7d/yICeDifhu3S55wR9BmMpHv0m2ck1E48
gOYW2/3exK3Z5DlQiVE13UuC8ZLiQhaYVM8NYh6qtvagYY8dC7PjI9iwxRdsDiSK
cXAYBs56SazXH9+tVZj65hp1XuMBZSNsSYYKo9IygtnJ8gbE3IHX0727IJrQB+Gj
oi8yseYejpOX+1SgaIO+yKTpeZ8qsx5ZyjV6uc/1HshzShDR7TZ/WCkpP83bUvgu
hK8Zct7EOzjQbbH3oARkQNpCKXUwY/Bd+gZSiMF6PZZ2/atfweZwbGfLWDOdvH5y
DJi3HUIXvLDBKutyrbC3X52Tgieg4VxuuKGwwDFRa4JFgf9VgbNCprTDdGyceYxt
kLRWzaH05VIT6o54YzLE0aTJjxVSAybhNIz4bfnTeHwCKcJ8LDEGn1veo4irQXYo
g7gMIo1T
=n8UF
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
@ 2022-09-27 19:02 Gottfried
  0 siblings, 0 replies; 13+ messages in thread
From: Gottfried @ 2022-09-27 19:02 UTC (permalink / raw)
  To: Chris Keschnat, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 608 bytes --]

Hi Chris,

thanks a lot.
Now it is working.
I am happy/ich bin glücklich.

So at least I have a VM and installed Tails.

Problems occured in using Tails.
I wanted to play around to get a full screen e.g. and my laptop stopped 
after using the key contr + L and contr + S (this was suggested by Tails 
to get the mouse running, because the mouse was not working any more)
I had to start my laptop again.
But that's another problem, it isn't a Guix question.
I have to find out answers somewhere else
or
if a Guixer is using Tails in a VM, he could help me to set everything up.

Gottfried

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* can not boot again VM with tails
  2022-09-27  4:26 ` Chris Keschnat via
@ 2022-09-28 13:08   ` Gottfried
  2022-09-28 14:27     ` Felix Lechner via
  0 siblings, 1 reply; 13+ messages in thread
From: Gottfried @ 2022-09-28 13:08 UTC (permalink / raw)
  To: Chris Keschnat, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 526 bytes --]

Hi Chris,

I was so glad that with your and other Guixers help I was able to set up 
my VM
but when I installed Tails on it, from an iso. in my Download folder
I used it for one session.
Then I closed my VM,
and now I can't start Tails any more.
I installed tails in my VM 3 times and always the same problems.

It says:

Booting from Hard Disk...
Boot failed: not a bootable disk
No bootable device.
See Attachment

So how do you do it?
After using your VM, how do you finish up,close the VM?

Gottfried

[-- Attachment #1.1.2: VM Tails can not start.png --]
[-- Type: image/png, Size: 4488 bytes --]

[-- Attachment #1.1.3: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: can not boot again VM with tails
  2022-09-28 13:08   ` can not boot again VM with tails Gottfried
@ 2022-09-28 14:27     ` Felix Lechner via
  2022-09-28 20:59       ` Gottfried
  0 siblings, 1 reply; 13+ messages in thread
From: Felix Lechner via @ 2022-09-28 14:27 UTC (permalink / raw)
  To: help-guix; +Cc: Gottfried

Hi,

On Wed, Sep 28, 2022 at 7:21 AM Gottfried <gottfried@posteo.de> wrote:
>
> No bootable device.

Do you perhaps need something like this?

    (initrd-modules (cons "virtio_scsi" ; Needed to find the disk
          %base-initrd-modules))

More information may be available here. [1]

Kind regards
Felix Lechner

[1] https://guix.gnu.org/cookbook/en/html_node/Running-Guix-on-a-Linode-Server.html


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: can not boot again VM with tails
  2022-09-28 14:27     ` Felix Lechner via
@ 2022-09-28 20:59       ` Gottfried
  0 siblings, 0 replies; 13+ messages in thread
From: Gottfried @ 2022-09-28 20:59 UTC (permalink / raw)
  To: Felix Lechner, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 3828 bytes --]

Am 28.09.22 um 16:27 schrieb Felix Lechner:
> Hi,
> 
> On Wed, Sep 28, 2022 at 7:21 AM Gottfried <gottfried@posteo.de> wrote:
>>
>> No bootable device.
> 
> Do you perhaps need something like this?
> 
>      (initrd-modules (cons "virtio_scsi" ; Needed to find the disk
>            %base-initrd-modules))
> 
> More information may be available here. [1]
> 
> Kind regards
> Felix Lechner
> 
> [1] https://guix.gnu.org/cookbook/en/html_node/Running-Guix-on-a-Linode-Server.html
----------------------------------------------------------------------

Hi Felix,

thanks for your proposal.

I put your suggestion on the end of my config.scm without leaving 
room/space to "file-systems". Is that right?

---------------------------------------------------------------------
;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video" "libvirt")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "nss-certs"))			
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
			(service cups-service-type
				(cups-configuration
					(web-interface? #t)
					(extensions (list cups-filters hplip))))			
			(service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                (keyboard-layout keyboard-layout)))
             (service libvirt-service-type
                      (libvirt-configuration
                       (unix-sock-group "libvirt")
                       (tls-port "16555")))
             (service virtlog-service-type
                      (virtlog-configuration
                       (max-clients 1000))))

       (modify-services %desktop-services
	(guix-service-type
                config => (guix-configuration
                  (inherit config)
                  (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes"))))
	(sane-service-type _ => sane-backends))))

   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (targets (list "/boot/efi"))
       (keyboard-layout keyboard-layout)))
   (swap-devices
    (list (swap-space
           (target (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems))
   (initrd-modules (cons "virtio_scsi"    ; Needed to find the disk
                         %base-initrd-modules)))

---------------------------------------------------------------------

I installed in a second VM "Trisquel" and I can start it, but Tails in 
the first VM I can't start even after adding

(initrd-modules (cons "virtio_scsi"    ; Needed to find the disk
                         %base-initrd-modules)))

Gottfried

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
  2022-09-26 18:05   ` Gottfried
@ 2022-10-01 13:32     ` Andreas Enge
  2022-10-02 12:47       ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Enge @ 2022-10-01 13:32 UTC (permalink / raw)
  To: Gottfried; +Cc: Chris Keschnat, help-guix

Am Mon, Sep 26, 2022 at 06:05:31PM +0000 schrieb Gottfried:
> gfp@Tuxedo ~$ ps -ef | grep virtlog
> it comes up with:
> gfp       5233  5218  0 19:45 pts/0    00:00:00 grep --color=auto virtlog
> (the word "virtlog" is in red colour)
> I don't know if that means virtlogd is running?

Answering a bit late (and only this question, since I know nothing about
virtualisation): It means that virtlogd is not running. It shows only
the process you started, which is "grep", with "virtlog" as a parameter.

As an example:
$ ps -ef|grep shepherd
root         1     0  0 11:37 ?        00:00:01 /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile --no-auto-compile /gnu/store/cdc1gzbp3q15kdiwn2i5j3437jwx61ac-shepherd-0.9.2/bin/shepherd --config /gnu/store/17vm5kngzkp3cvp0difp1plxm3dzp49k-shepherd.conf
andreas   9255  1334  0 15:31 pts/1    00:00:00 grep --color=auto shepherd

So there is one line about grep, of no interest; and one line showing that
the thing I am interested in, in this case shepherd, is running.

Andreas



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
  2022-10-01 13:32     ` Andreas Enge
@ 2022-10-02 12:47       ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 13+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-10-02 12:47 UTC (permalink / raw)
  To: Andreas Enge; +Cc: Gottfried, help-guix

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Andreas Enge 写道:
> Am Mon, Sep 26, 2022 at 06:05:31PM +0000 schrieb Gottfried:
>> gfp@Tuxedo ~$ ps -ef | grep virtlog
>> it comes up with:
>> gfp       5233  5218  0 19:45 pts/0    00:00:00 grep 
>> --color=auto virtlog
>> (the word "virtlog" is in red colour)
>> I don't know if that means virtlogd is running?
[…]
> So there is one line about grep, of no interest; and one line 
> showing that
> the thing I am interested in, in this case shepherd, is running.

It's cosmetic, but the standard trick here is to type:

  $ ps -ef | grep '[v]irtlog'

(or any other letter — 'virtlo[g]' also works if you remembered 
too late :-)

That pattern won't match itself, so grep won't show itself.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Virtualisation: Network problems
@ 2022-10-03 11:23 Gottfried
  0 siblings, 0 replies; 13+ messages in thread
From: Gottfried @ 2022-10-03 11:23 UTC (permalink / raw)
  To: andreas, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 93 bytes --]

Hi Andreas,

late is no problem.

I am thankful, I have learned something.

Gottfried

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-10-03 11:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-26 15:47 Virtualisation: Network problems Gottfried
2022-09-26 16:29 ` Chris Keschnat via
2022-09-26 18:05   ` Gottfried
2022-10-01 13:32     ` Andreas Enge
2022-10-02 12:47       ` Tobias Geerinckx-Rice
2022-09-27  4:26 ` Chris Keschnat via
2022-09-28 13:08   ` can not boot again VM with tails Gottfried
2022-09-28 14:27     ` Felix Lechner via
2022-09-28 20:59       ` Gottfried
  -- strict thread matches above, loose matches on Subject: below --
2022-10-03 11:23 Virtualisation: Network problems Gottfried
2022-09-27 19:02 Gottfried
2022-09-25 17:58 Gottfried
2022-09-26  4:19 ` Chris Keschnat via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.