Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-5606

qemu-init-scripts broken "send_command (system_powerdown)"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None

      The following does not achieve system shutdown "send_command (system_powerdown)":
      echo "system_powerdown" | socat -u - UNIX-CONNECT:/run/vm/kvm.${VMNAME}.monitor
      echo "system_powerdown" | nc6 /run/vm/kvm.${VMNAME}.monitor --send-only

      Removing switch -u (unidirectional mode) does cause socat to send a system shutdown
      echo "system_powerdown" | socat - UNIX-CONNECT:/run/vm/kvm.funtoo.monitor

      Adjusted /etc/init.d/qemu accordingly. Please see qemu-init-script.patch

      ebuild:
      Added sys-apps/usermode-utilities as a requirement to ebuild as tunctl is required to create tun devices.
      Removed OR package requirement "|| ( net-misc/socat net-analyzer/netcat6 )"
      In favor of only net-misc/socat

      Adjusted ebuild. Please see qemu-init-scripts-0.3.0.ebuild.patch

            Unassigned Unassigned
            jwpierce3 jwpierce3
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: