Bug 1544227 - RFE: recognize the Kali Linux distribution
Summary: RFE: recognize the Kali Linux distribution
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-11 12:45 UTC by arozar
Modified: 2018-02-12 13:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-12 13:45:38 UTC
Embargoed:


Attachments (Terms of Use)
libguestfs-test-tool-output (50.79 KB, text/plain)
2018-02-11 12:45 UTC, arozar
no flags Details
sudo virt-sysprep -d scanner0 -v -x (69.09 KB, text/plain)
2018-02-12 11:33 UTC, arozar
no flags Details

Description arozar 2018-02-11 12:45:26 UTC
Created attachment 1394587 [details]
libguestfs-test-tool-output

Description of problem:
Can't run virt-sysprep on Kali Linux "Rolling"

Version-Release number of selected component (if applicable):
virt-sysprep 1.36.3rhel=7,release=6.el7_4.3,libvirt

How reproducible:
Every time

Steps to Reproduce:
1.Just run "virt-sysprep -v -d" on kali linux
2.
3.

Actual results:

[root@kvm00 ~]# virsh dominfo kali-scanner
Id:             -
Name:           kali-scanner
UUID:           791b2899-c258-473c-9030-36f98a54bc20
OS Type:        hvm
State:          shut off
CPU(s):         2
Max memory:     1048576 KiB
Used memory:    1048576 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: selinux
Security DOI:   0

[root@kvm00 ~]# virt-sysprep -v -d kali-scanner
[   0.0] Examining the guest ...
libguestfs: opening libvirt handle: URI = NULL, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x1a14f80
libguestfs: original domain XML:\n<domain type='kvm'>\n  <name>kali-scanner</name>\n  <uuid>791b2899-c258-473c-9030-36f98a54bc20</uuid>\n  <memory unit='KiB'>1048576</memory>\n  <currentMemory unit='KiB'>1048576</currentMemory>\n  <vcpu placement='static'>2</vcpu>\n  <os>\n    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>\n    <boot dev='hd'/>\n  </os>\n  <features>\n    <acpi/>\n    <apic/>\n  </features>\n  <cpu mode='custom' match='exact' check='partial'>\n    <model fallback='allow'>Broadwell</model>\n  </cpu>\n  <clock offset='utc'>\n    <timer name='rtc' tickpolicy='catchup'/>\n    <timer name='pit' tickpolicy='delay'/>\n    <timer name='hpet' present='no'/>\n  </clock>\n  <on_poweroff>destroy</on_poweroff>\n  <on_reboot>restart</on_reboot>\n  <on_crash>destroy</on_crash>\n  <pm>\n    <suspend-to-mem enabled='no'/>\n    <suspend-to-disk enabled='no'/>\n  </pm>\n  <devices>\n    <emulator>/usr/libexec/qemu-kvm</emulator>\n    <disk type='file' device='disk'>\n      <driver name='qemu' type='qcow2'/>\n      <source file='/virtualmachines/kali-scanner.qcow2'/>\n      <target dev='vda' bus='virtio'/>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>\n    </disk>\n    <disk type='file' device='cdrom'>\n      <driver name='qemu' type='raw'/>\n      <target dev='hda' bus='ide'/>\n      <readonly/>\n      <address type='drive' controller='0' bus='0' target='0' unit='0'/>\n    </disk>\n    <controller type='usb' index='0' model='ich9-ehci1'>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>\n    </controller>\n    <controller type='usb' index='0' model='ich9-uhci1'>\n      <master startport='0'/>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>\n    </controller>\n    <controller type='usb' index='0' model='ich9-uhci2'>\n      <master startport='2'/>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>\n    </controller>\n    <controller type='usb' index='0' model='ich9-uhci3'>\n      <master startport='4'/>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>\n    </controller>\n    <controller type='pci' index='0' model='pci-root'/>\n    <controller type='ide' index='0'>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>\n    </controller>\n    <controller type='virtio-serial' index='0'>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>\n    </controller>\n    <interface type='bridge'>\n      <mac address='52:54:00:9d:1d:5d'/>\n      <source bridge='br_vlan50'/>\n      <model type='virtio'/>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>\n    </interface>\n    <serial type='pty'>\n      <target port='0'/>\n    </serial>\n    <console type='pty'>\n      <target type='serial' port='0'/>\n    </console>\n    <channel type='unix'>\n      <target type='virtio' name='org.qemu.guest_agent.0'/>\n      <address type='virtio-serial' controller='0' bus='0' port='1'/>\n    </channel>\n    <channel type='spicevmc'>\n      <target type='virtio' name='com.redhat.spice.0'/>\n      <address type='virtio-serial' controller='0' bus='0' port='2'/>\n    </channel>\n    <input type='tablet' bus='usb'>\n      <address type='usb' bus='0' port='1'/>\n    </input>\n    <input type='mouse' bus='ps2'/>\n    <input type='keyboard' bus='ps2'/>\n    <graphics type='spice' autoport='yes'>\n      <listen type='address'/>\n      <image compression='off'/>\n    </graphics>\n    <sound model='ich6'>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>\n    </sound>\n    <video>\n      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>\n    </video>\n    <redirdev bus='usb' type='spicevmc'>\n      <address type='usb' bus='0' port='2'/>\n    </redirdev>\n    <redirdev bus='usb' type='spicevmc'>\n      <address type='usb' bus='0' port='3'/>\n    </redirdev>\n    <memballoon model='virtio'>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>\n    </memballoon>\n    <rng model='virtio'>\n      <backend model='random'>/dev/urandom</backend>\n      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>\n    </rng>\n  </devices>\n</domain>\n
libguestfs: disk[0]: filename: /virtualmachines/kali-scanner.qcow2
libguestfs: launch: program=virt-sysprep
libguestfs: launch: version=1.36.3rhel=7,release=6.el7_4.3,libvirt
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=libvirt
libguestfs: launch: tmpdir=/tmp/libguestfsGYXUp6
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: libvirt version = 3002000 (3.2.0)
libguestfs: guest random name = guestfs-luz7lr2gmgeebrgt
libguestfs: connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x1a15460
libguestfs: qemu version (reported by libvirt) = 1005003 (1.5.3)
libguestfs: get libvirt capabilities
libguestfs: parsing capabilities XML
libguestfs: build appliance
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin5
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: version: 5.1.16
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: if-newer: output does not need rebuilding
libguestfs: finished building supermin appliance
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsGYXUp6/overlay1
Formatting '/tmp/libguestfsGYXUp6/overlay1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-0/appliance.d/root' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off 
libguestfs: create libvirt XML
libguestfs: libvirt XML:\n<?xml version="1.0"?>\n<domain type="kvm" xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">\n  <name>guestfs-luz7lr2gmgeebrgt</name>\n  <memory unit="MiB">500</memory>\n  <currentMemory unit="MiB">500</currentMemory>\n  <cpu mode="host-passthrough">\n    <model fallback="allow"/>\n  </cpu>\n  <vcpu>1</vcpu>\n  <clock offset="utc">\n    <timer name="rtc" tickpolicy="catchup"/>\n    <timer name="pit" tickpolicy="delay"/>\n    <timer name="hpet" present="no"/>\n  </clock>\n  <os>\n    <type>hvm</type>\n    <kernel>/var/tmp/.guestfs-0/appliance.d/kernel</kernel>\n    <initrd>/var/tmp/.guestfs-0/appliance.d/initrd</initrd>\n    <cmdline>panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color</cmdline>\n    <bios useserial="yes"/>\n  </os>\n  <on_reboot>destroy</on_reboot>\n  <devices>\n    <rng model="virtio">\n      <backend model="random">/dev/urandom</backend>\n    </rng>\n    <controller type="scsi" index="0" model="virtio-scsi"/>\n    <disk device="disk" type="file">\n      <source file="/virtualmachines/kali-scanner.qcow2"/>\n      <target dev="sda" bus="scsi"/>\n      <driver name="qemu" type="qcow2" cache="writeback" discard="unmap"/>\n      <address type="drive" controller="0" bus="0" target="0" unit="0"/>\n    </disk>\n    <disk type="file" device="disk">\n      <source file="/tmp/libguestfsGYXUp6/overlay1"/>\n      <target dev="sdb" bus="scsi"/>\n      <driver name="qemu" type="qcow2" cache="unsafe"/>\n      <address type="drive" controller="0" bus="0" target="1" unit="0"/>\n      <shareable/>\n    </disk>\n    <serial type="unix">\n      <source mode="connect" path="/tmp/libguestfswI12ye/console.sock"/>\n      <target port="0"/>\n    </serial>\n    <channel type="unix">\n      <source mode="connect" path="/tmp/libguestfswI12ye/guestfsd.sock"/>\n      <target type="virtio" name="org.libguestfs.channel.0"/>\n    </channel>\n    <controller type="usb" model="none"/>\n    <memballoon model="none"/>\n  </devices>\n  <qemu:commandline>\n    <qemu:env name="TMPDIR" value="/var/tmp"/>\n  </qemu:commandline>\n</domain>\n
libguestfs: command: run: ls
libguestfs: command: run: \ -a
libguestfs: command: run: \ -l
libguestfs: command: run: \ -R
libguestfs: command: run: \ -Z /var/tmp/.guestfs-0
libguestfs: /var/tmp/.guestfs-0:
libguestfs: drwxr-xr-x. root root unconfined_u:object_r:user_tmp_t:s0 .
libguestfs: drwxrwxrwt. root root system_u:object_r:tmp_t:s0       ..
libguestfs: drwxr-xr-x. root root unconfined_u:object_r:user_tmp_t:s0 appliance.d
libguestfs: -rw-r--r--. root root unconfined_u:object_r:user_tmp_t:s0 lock
libguestfs: 
libguestfs: /var/tmp/.guestfs-0/appliance.d:
libguestfs: drwxr-xr-x. root root unconfined_u:object_r:user_tmp_t:s0 .
libguestfs: drwxr-xr-x. root root unconfined_u:object_r:user_tmp_t:s0 ..
libguestfs: -rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 initrd
libguestfs: -rwxr-xr-x. qemu qemu system_u:object_r:virt_content_t:s0 kernel
libguestfs: -rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 root
libguestfs: command: run: ls
libguestfs: command: run: \ -a
libguestfs: command: run: \ -l
libguestfs: command: run: \ -Z /tmp/libguestfswI12ye
libguestfs: drwxr-xr-x. root root unconfined_u:object_r:user_tmp_t:s0 .
libguestfs: drwxrwxrwt. root root system_u:object_r:tmp_t:s0       ..
libguestfs: srw-rw----. root qemu unconfined_u:object_r:user_tmp_t:s0 console.sock
libguestfs: srw-rw----. root qemu unconfined_u:object_r:user_tmp_t:s0 guestfsd.sock
libguestfs: launch libvirt guest
libguestfs: responding to serial console Device Status Report
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 06/09/14
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Jun  9 21:33:48 UTC 2014
Term: 80x24
4 0
SeaBIOS (version 1.10.2-3.el7_4.1)
Machine UUID f2cfce8f-a6c7-489f-ba64-816475b1e5aa
Booting from ROM...
\x1b[2J[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0-693.17.1.el7.x86_64 (builder.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Thu Jan 25 20:13:58 UTC 2018
[    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fdfff] usable
[    0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] found SMP MP-table at [mem 0x000f7300-0x000f730f] mapped at [ffff8800000f7300]
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x1f0d2000-0x1f3effff]
[    0.000000] Early table checksum verification disabled
[    0.000000] ACPI BIOS Error (bug): A valid RSDP was not found (20130517/tbxfroot-243)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
[    0.000000] NODE_DATA(0) allocated [mem 0x1f0ab000-0x1f0d1fff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:1f05b001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 307081815 cycles
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x1f3fdfff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x1f3fdfff]
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1         
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] Processors: 1
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 35 pages/cpu @ffff88001ee00000 s104536 r8192 d30632 u2097152
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 1ee13440
[    0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 125879
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
[    0.000000] Disabling memory control group subsystem
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form
[    0.000000] Memory: 482864k/511992k available (6916k kernel code, 392k absent, 28736k reserved, 4551k data, 1800k init)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] x86/pti: Unmapping kernel while in userspace
[    0.000000] Hierarchical RCU implementation.
[    0.000000] \tRCU restricting CPUs from NR_CPUS=5120 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:327936 nr_irqs:256 0
[    0.000000] Console: colour *CGA 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] tsc: Detected 3499.996 MHz processor
[    0.036913] Calibrating delay loop (skipped) preset value.. 6999.99 BogoMIPS (lpj=3499996)
[    0.037453] pid_max: default: 32768 minimum: 301
[    0.037773] Security Framework initialized
[    0.038060] SELinux:  Disabled at boot.
[    0.038309] Yama: becoming mindful.
[    0.038597] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.039121] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.039604] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.040041] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.040604] Initializing cgroup subsys memory
[    0.040903] Initializing cgroup subsys devices
[    0.041194] Initializing cgroup subsys freezer
[    0.041481] Initializing cgroup subsys net_cls
[    0.041775] Initializing cgroup subsys blkio
[    0.042060] Initializing cgroup subsys perf_event
[    0.042365] Initializing cgroup subsys hugetlb
[    0.042659] Initializing cgroup subsys pids
[    0.042935] Initializing cgroup subsys net_prio
[    0.043278] FEATURE SPEC_CTRL Not Present
[    0.043543] FEATURE IBPB_SUPPORT Not Present
[    0.044626] mce: CPU supports 10 MCE banks
[    0.044936] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.045276] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.045624] tlb_flushall_shift: 6
[    0.058809] Freeing SMP alternatives: 24k freed
[    0.063062] ftrace: allocating 26618 entries in 104 pages
[    0.081536] Enabling x2apic
[    0.081732] Enabled x2apic
[    0.082087] Switched APIC routing to physical x2apic.
[    0.083123] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.083510] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-1620 v4 @ 3.50GHz (fam: 06, model: 4f, stepping: 01)
[    0.084154] Performance Events: 16-deep LBR, Broadwell events, Intel PMU driver.
[    0.085187] ... version:                2
[    0.085449] ... bit width:              48
[    0.085715] ... generic registers:      4
[    0.085983] ... value mask:             0000ffffffffffff
[    0.086325] ... max period:             000000007fffffff
[    0.086674] ... fixed-purpose events:   3
[    0.086937] ... event mask:             000000070000000f
[    0.087291] KVM setup paravirtual spinlock
[    0.088412] Brought up 1 CPUs
[    0.088620] smpboot: Max logical packages: 1
[    0.088911] smpboot: Total of 1 processors activated (6999.99 BogoMIPS)
[    0.089594] devtmpfs: initialized
[    0.090865] EVM: security.selinux
[    0.091087] EVM: security.ima
[    0.091281] EVM: security.capability
[    0.092031] atomic64 test passed for x86-64 platform with CX8 and with SSE
[    0.092476] pinctrl core: initialized pinctrl subsystem
[    0.092869] RTC time: 12:35:01, date: 02/11/18
[    0.093220] NET: Registered protocol family 16
[    0.093720] PCI: Using configuration type 1 for base access
[    0.094831] ACPI: Interpreter disabled.
[    0.095137] vgaarb: loaded
[    0.095351] SCSI subsystem initialized
[    0.095616] usbcore: registered new interface driver usbfs
[    0.095985] usbcore: registered new interface driver hub
[    0.096340] usbcore: registered new device driver usb
[    0.096703] PCI: Probing PCI hardware
[    0.096966] PCI host bridge to bus 0000:00
[    0.097235] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.097651] pci_bus 0000:00: root bus resource [mem 0x00000000-0x3fffffffffff]
[    0.098113] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.102518] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.102985] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.103403] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.103874] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.121162] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.121657] NetLabel: Initializing
[    0.121885] NetLabel:  domain hash size = 128
[    0.122167] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.122494] NetLabel:  unlabeled traffic allowed by default
[    0.122882] amd_nb: Cannot enumerate AMD northbridges
[    0.123216] Switched to clocksource kvm-clock
[    0.125916] pnp: PnP ACPI: disabled
[    0.126697] NET: Registered protocol family 2
[    0.127085] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.127553] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.127972] TCP: Hash tables configured (established 4096 bind 4096)
[    0.128396] TCP: reno registered
[    0.128608] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.128985] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.129411] NET: Registered protocol family 1
[    0.129705] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.130092] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.130472] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.130920] Unpacking initramfs...
[    0.132626] Freeing initrd memory: 3192k freed
[    0.133454] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.134092] sha1_ssse3: Using AVX2 optimized SHA-1 implementation
[    0.134535] sha256_ssse3: Using AVX2 optimized SHA-256 implementation
[    0.135083] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.135496] Initialise system trusted keyring
[    0.135792] audit: initializing netlink socket (disabled)
[    0.136155] type=2000 audit(1518352501.465:1): initialized
[    0.152520] HugeTLB registered 1 GB page size, pre-allocated 0 pages
[    0.152943] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.153862] zpool: loaded
[    0.154044] zbud: loaded
[    0.154326] VFS: Disk quotas dquot_6.5.2
[    0.154597] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.155102] msgmni has been set to 949
[    0.155387] Key type big_key registered
[    0.155791] NET: Registered protocol family 38
[    0.156095] Key type asymmetric registered
[    0.156376] Asymmetric key parser 'x509' registered
[    0.156710] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.157206] io scheduler noop registered
[    0.157476] io scheduler deadline registered (default)
[    0.157827] io scheduler cfq registered
[    0.158144] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.158511] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.159032] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.180689] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.181273] Non-volatile memory driver v1.3
[    0.181561] Linux agpgart interface v0.103
[    0.181895] crash memory driver: version 1.1
[    0.182207] rdac: device handler registered
[    0.182498] hp_sw: device handler registered
[    0.182774] emc: device handler registered
[    0.183047] alua: device handler registered
[    0.183344] libphy: Fixed MDIO Bus: probed
[    0.183631] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.184061] ehci-pci: EHCI PCI platform driver
[    0.184363] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.184763] ohci-pci: OHCI PCI platform driver
[    0.185055] uhci_hcd: USB Universal Host Controller Interface driver
[    0.185492] usbcore: registered new interface driver usbserial
[    0.185872] usbcore: registered new interface driver usbserial_generic
[    0.186293] usbserial: USB Serial support registered for generic
[    0.186685] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.187569] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.187895] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.188259] mousedev: PS/2 mouse device common for all mice
[    0.188750] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.189661] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input1
[    0.190335] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input2
[    0.191241] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.191696] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    0.192129] cpuidle: using governor menu
[    0.192422] hidraw: raw HID events driver (C) Jiri Kosina
[    0.192827] usbcore: registered new interface driver usbhid
[    0.193185] usbhid: USB HID core driver
[    0.193495] drop_monitor: Initializing network drop monitor service
[    0.193948] TCP: cubic registered
[    0.194165] Initializing XFRM netlink socket
[    0.194488] NET: Registered protocol family 10
[    0.194880] NET: Registered protocol family 17
[    0.195264] microcode: CPU0 sig=0x406f1, pf=0x1, revision=0x1
[    0.195657] microcode: Microcode Update Driver: v2.01 <tigran.co.uk>, Peter Oruba
[    0.196280] Loading compiled-in X.509 certificates
[    0.196601] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
[    0.197235] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
[    0.198178] Loaded X.509 cert 'CentOS Linux kernel signing key: 506c6868809d2cbf540bf0d983d5c6709dbc4f22'
[    0.198806] registered taskstats version 1
[    0.199185] Key type trusted registered
[    0.199539] Key type encrypted registered
[    0.200068] IMA: No TPM chip found, activating TPM-bypass!
[    0.200540]   Magic number: 6:103:582
[    0.200839] rtc_cmos rtc_cmos: setting system clock to 2018-02-11 12:35:01 UTC (1518352501)
[    0.201988] Freeing unused kernel memory: 1800k freed
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.1.16 glibc
supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
supermin: uptime: 0.15 0.03
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
[    0.205227] alg: No test for crc32 (crc32-pclmul)
supermin: internal insmod crc32c-intel.ko
supermin: internal insmod crct10dif_common.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
[    0.208000] alg: No test for crc32 (crc32-generic)
supermin: internal insmod crct10dif_generic.ko
supermin: internal insmod libnvdimm.ko
supermin: internal insmod nfit.ko
insmod: init_module: nfit.ko: No such device
supermin: internal insmod libata.ko
supermin: internal insmod ata_piix.ko
[    0.215980] scsi host0: ata_piix
[    0.216250] scsi host1: ata_piix
[    0.216480] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
[    0.216922] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 irq 15
supermin: internal insmod virtio.ko
supermin: internal insmod virtio_ring.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod nd_btt.ko
supermin: internal insmod nd_pmem.ko
supermin: internal insmod crc-t10dif.ko
supermin: internal insmod sd_mod.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio_input.ko
supermin: internal insmod virtio_pci.ko
[    0.395015] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 25
[    0.396249] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
[    0.400614] scsi host2: Virtio SCSI HBA
[    0.403696] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    1.5. PQ: 0 ANSI: 5
[    0.404967] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 25
[    0.406165] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
^H^H^H^H[    0.461200] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    1.5. PQ: 0 ANSI: 5
[    0.463053] virtio-pci 0000:00:05.0: PCI->APIC IRQ transform: INT A -> IRQ 24
[    0.463907] virtio-pci 0000:00:05.0: virtio_pci: leaving for legacy driver
[    0.466172] random: fast init done
[    0.466700] random: crng init done
[    0.477655] sd 2:0:0:0: [sda] 41943040 512-byte logical blocks: (21.4 GB/20.0 GiB)
[    0.478820] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    0.479918] sd 2:0:0:0: [sda] Write Protect is off
[    0.480446] sd 2:0:1:0: [sdb] Write Protect is off
[    0.480833] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.481628] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.483379]  sda: sda1 sda2 < sda5 >
[    0.484045] sd 2:0:1:0: [sdb] Attached SCSI disk
[    0.484587] sd 2:0:0:0: [sda] Attached SCSI disk
supermin: internal insmod jbd2.ko
supermin: internal insmod mbcache.ko
supermin: internal insmod ext4.ko
supermin: internal insmod crc-ccitt.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[    0.498041] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[    0.502099] EXT4-fs (sdb): mounted filesystem without journal. Opts: 
supermin: deleting initramfs files
supermin: chroot
Starting /init script ...
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]]
+ '[' '!' -d /sys ']'
+ mkdir -p /sys
+ mount -t sysfs /sys /sys
+ mkdir -p /run
+ mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
+ mkdir -p /run/lock
+ ln -s ../run/lock /var/lock
+ test -e /etc/mtab
+ mount -t devtmpfs /dev /dev
+ mkdir -p /dev/pts
+ mount -t devpts /dev/pts /dev/pts
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]]
+ mkdir -p /run/tmpfiles.d
+ kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
++ od -x -A n
++ dd if=/dev/urandom bs=16 count=1 status=none
+ machine_id=' e250 d887 3cc3 155f 65cd 25a7 70c5 c803'
+ echo e250d8873cc3155f65cd25a770c5c803
+ systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
[/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
[/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
[/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
[/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
[/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
[/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
+ for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
+ '[' -x /lib/systemd/systemd-udevd ']'
+ UDEVD=/lib/systemd/systemd-udevd
+ break
+ '[' -z /lib/systemd/systemd-udevd ']'
+ /lib/systemd/systemd-udevd --daemon
starting version 219
specified group 'input' unknown
+ udevadm trigger
+ udevadm settle --timeout=600
[    0.586141] input: PC Speaker as /devices/platform/pcspkr/input/input3
[    0.619496] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    0.621312] sd 2:0:1:0: Attached scsi generic sg1 type 0
[    0.628356] AES CTR mode by8 optimization enabled
[    0.648000] Error: Driver 'pcspkr' is already registered, aborting...
[    0.651197] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[    0.660479] EDAC MC: Ver: 3.0.0
[    0.662783] EDAC sbridge:  Ver: 1.1.1 
+ shopt -s nullglob
+ for f in '/sys/block/sd*/device/timeout'
+ echo 300
+ for f in '/sys/block/sd*/device/timeout'
+ echo 300
+ for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
+ echo noop
+ for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
+ echo noop
+ shopt -u nullglob
+ ip addr add 127.0.0.1/8 brd + dev lo scope host
+ ip link set dev lo up
+ ip addr add 169.254.2.10/16 brd + dev eth0 scope global
Cannot find device "eth0"
+ ip link set dev eth0 up
Cannot find device "eth0"
+ ip route add default via 169.254.2.2
RTNETLINK answers: Network is unreachable
+ echo nameserver 169.254.2.3
+ mdadm -As --auto=yes --run
mdadm: No arrays found in config file or automatically
+ modprobe dm_mod
[    0.689303] device-mapper: uevent: version 1.0.3
[    0.690195] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel
+ lvm vgchange -aay --sysinit
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ ldmtool create all
/init: line 137: ldmtool: command not found
+ test 1 = 1
+ test '' '!=' 1
+ uname -a
Linux (none) 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
+ ls -lR /dev
/dev:
total 0
crw------- 1 root root  10, 235 Feb 11 12:35 autofs
drwxr-xr-x 2 root root      140 Feb 11 12:35 block
drwxr-xr-x 2 root root       80 Feb 11 12:35 bsg
crw------- 1 root root  10, 234 Feb 11 12:35 btrfs-control
drwxr-xr-x 2 root root     2280 Feb 11 12:35 char
crw------- 1 root root   5,   1 Feb 11 12:35 console
lrwxrwxrwx 1 root root       11 Feb 11 12:35 core -> /proc/kcore
drwxr-xr-x 3 root root       80 Feb 11 12:35 cpu
crw------- 1 root root  10,  61 Feb 11 12:35 cpu_dma_latency
crw------- 1 root root  10,  62 Feb 11 12:35 crash
drwxr-xr-x 5 root root      100 Feb 11 12:35 disk
lrwxrwxrwx 1 root root       13 Feb 11 12:35 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1,   7 Feb 11 12:35 full
crw-rw-rw- 1 root root  10, 229 Feb 11 12:35 fuse
crw------- 1 root root  10, 183 Feb 11 12:35 hwrng
drwxr-xr-x 3 root root      220 Feb 11 12:35 input
crw-r--r-- 1 root root   1,  11 Feb 11 12:35 kmsg
crw-rw---- 1 root disk  10, 237 Feb 11 12:35 loop-control
drwxr-xr-x 2 root root       60 Feb 11 12:35 mapper
crw------- 1 root root  10, 227 Feb 11 12:35 mcelog
crw------- 1 root root   1,   1 Feb 11 12:35 mem
drwxr-xr-x 2 root root       60 Feb 11 12:35 net
crw------- 1 root root  10,  60 Feb 11 12:35 network_latency
crw------- 1 root root  10,  59 Feb 11 12:35 network_throughput
crw-rw-rw- 1 root root   1,   3 Feb 11 12:35 null
crw------- 1 root root  10, 144 Feb 11 12:35 nvram
crw------- 1 root root   1,  12 Feb 11 12:35 oldmem
crw------- 1 root root   1,   4 Feb 11 12:35 port
crw------- 1 root root 108,   0 Feb 11 12:35 ppp
crw-rw-rw- 1 root root   5,   2 Feb 11 12:35 ptmx
drwxr-xr-x 2 root root        0 Feb 11 12:35 pts
crw-rw-rw- 1 root root   1,   8 Feb 11 12:35 random
drwxr-xr-x 2 root root       60 Feb 11 12:35 raw
lrwxrwxrwx 1 root root        4 Feb 11 12:35 rtc -> rtc0
crw------- 1 root root 253,   0 Feb 11 12:35 rtc0
brw------- 1 root root   8,   0 Feb 11 12:35 sda
brw------- 1 root root   8,   1 Feb 11 12:35 sda1
brw------- 1 root root   8,   2 Feb 11 12:35 sda2
brw------- 1 root root   8,   5 Feb 11 12:35 sda5
brw------- 1 root root   8,  16 Feb 11 12:35 sdb
crw-rw---- 1 root disk  21,   0 Feb 11 12:35 sg0
crw-rw---- 1 root disk  21,   1 Feb 11 12:35 sg1
crw------- 1 root root  10, 231 Feb 11 12:35 snapshot
drwxr-xr-x 2 root root       80 Feb 11 12:35 snd
lrwxrwxrwx 1 root root       15 Feb 11 12:35 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root       15 Feb 11 12:35 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root       15 Feb 11 12:35 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root   5,   0 Feb 11 12:35 tty
crw------- 1 root root   4,   0 Feb 11 12:35 tty0
crw------- 1 root root   4,   1 Feb 11 12:35 tty1
crw------- 1 root root   4,  10 Feb 11 12:35 tty10
crw------- 1 root root   4,  11 Feb 11 12:35 tty11
crw------- 1 root root   4,  12 Feb 11 12:35 tty12
crw------- 1 root root   4,  13 Feb 11 12:35 tty13
crw------- 1 root root   4,  14 Feb 11 12:35 tty14
crw------- 1 root root   4,  15 Feb 11 12:35 tty15
crw------- 1 root root   4,  16 Feb 11 12:35 tty16
crw------- 1 root root   4,  17 Feb 11 12:35 tty17
crw------- 1 root root   4,  18 Feb 11 12:35 tty18
crw------- 1 root root   4,  19 Feb 11 12:35 tty19
crw------- 1 root root   4,   2 Feb 11 12:35 tty2
crw------- 1 root root   4,  20 Feb 11 12:35 tty20
crw------- 1 root root   4,  21 Feb 11 12:35 tty21
crw------- 1 root root   4,  22 Feb 11 12:35 tty22
crw------- 1 root root   4,  23 Feb 11 12:35 tty23
crw------- 1 root root   4,  24 Feb 11 12:35 tty24
crw------- 1 root root   4,  25 Feb 11 12:35 tty25
crw------- 1 root root   4,  26 Feb 11 12:35 tty26
crw------- 1 root root   4,  27 Feb 11 12:35 tty27
crw------- 1 root root   4,  28 Feb 11 12:35 tty28
crw------- 1 root root   4,  29 Feb 11 12:35 tty29
crw------- 1 root root   4,   3 Feb 11 12:35 tty3
crw------- 1 root root   4,  30 Feb 11 12:35 tty30
crw------- 1 root root   4,  31 Feb 11 12:35 tty31
crw------- 1 root root   4,  32 Feb 11 12:35 tty32
crw------- 1 root root   4,  33 Feb 11 12:35 tty33
crw------- 1 root root   4,  34 Feb 11 12:35 tty34
crw------- 1 root root   4,  35 Feb 11 12:35 tty35
crw------- 1 root root   4,  36 Feb 11 12:35 tty36
crw------- 1 root root   4,  37 Feb 11 12:35 tty37
crw------- 1 root root   4,  38 Feb 11 12:35 tty38
crw------- 1 root root   4,  39 Feb 11 12:35 tty39
crw------- 1 root root   4,   4 Feb 11 12:35 tty4
crw------- 1 root root   4,  40 Feb 11 12:35 tty40
crw------- 1 root root   4,  41 Feb 11 12:35 tty41
crw------- 1 root root   4,  42 Feb 11 12:35 tty42
crw------- 1 root root   4,  43 Feb 11 12:35 tty43
crw------- 1 root root   4,  44 Feb 11 12:35 tty44
crw------- 1 root root   4,  45 Feb 11 12:35 tty45
crw------- 1 root root   4,  46 Feb 11 12:35 tty46
crw------- 1 root root   4,  47 Feb 11 12:35 tty47
crw------- 1 root root   4,  48 Feb 11 12:35 tty48
crw------- 1 root root   4,  49 Feb 11 12:35 tty49
crw------- 1 root root   4,   5 Feb 11 12:35 tty5
crw------- 1 root root   4,  50 Feb 11 12:35 tty50
crw------- 1 root root   4,  51 Feb 11 12:35 tty51
crw------- 1 root root   4,  52 Feb 11 12:35 tty52
crw------- 1 root root   4,  53 Feb 11 12:35 tty53
crw------- 1 root root   4,  54 Feb 11 12:35 tty54
crw------- 1 root root   4,  55 Feb 11 12:35 tty55
crw------- 1 root root   4,  56 Feb 11 12:35 tty56
crw------- 1 root root   4,  57 Feb 11 12:35 tty57
crw------- 1 root root   4,  58 Feb 11 12:35 tty58
crw------- 1 root root   4,  59 Feb 11 12:35 tty59
crw------- 1 root root   4,   6 Feb 11 12:35 tty6
crw------- 1 root root   4,  60 Feb 11 12:35 tty60
crw------- 1 root root   4,  61 Feb 11 12:35 tty61
crw------- 1 root root   4,  62 Feb 11 12:35 tty62
crw------- 1 root root   4,  63 Feb 11 12:35 tty63
crw------- 1 root root   4,   7 Feb 11 12:35 tty7
crw------- 1 root root   4,   8 Feb 11 12:35 tty8
crw------- 1 root root   4,   9 Feb 11 12:35 tty9
crw------- 1 root root   4,  64 Feb 11 12:35 ttyS0
crw------- 1 root root  10, 239 Feb 11 12:35 uhid
crw------- 1 root root  10, 223 Feb 11 12:35 uinput
crw-rw-rw- 1 root root   1,   9 Feb 11 12:35 urandom
crw------- 1 root root 249,   0 Feb 11 12:35 usbmon0
crw------- 1 root root   7,   0 Feb 11 12:35 vcs
crw------- 1 root root   7,   1 Feb 11 12:35 vcs1
crw------- 1 root root   7, 128 Feb 11 12:35 vcsa
crw------- 1 root root   7, 129 Feb 11 12:35 vcsa1
drwxr-xr-x 2 root root       60 Feb 11 12:35 vfio
crw------- 1 root root  10,  63 Feb 11 12:35 vga_arbiter
crw------- 1 root root  10, 137 Feb 11 12:35 vhci
crw------- 1 root root  10, 238 Feb 11 12:35 vhost-net
drwxr-xr-x 2 root root       60 Feb 11 12:35 virtio-ports
crw------- 1 root root 245,   1 Feb 11 12:35 vport1p1
crw-rw-rw- 1 root root   1,   5 Feb 11 12:35 zero

/dev/block:
total 0
lrwxrwxrwx 1 root root 6 Feb 11 12:35 8:0 -> ../sda
lrwxrwxrwx 1 root root 7 Feb 11 12:35 8:1 -> ../sda1
lrwxrwxrwx 1 root root 6 Feb 11 12:35 8:16 -> ../sdb
lrwxrwxrwx 1 root root 7 Feb 11 12:35 8:2 -> ../sda2
lrwxrwxrwx 1 root root 7 Feb 11 12:35 8:5 -> ../sda5

/dev/bsg:
total 0
crw------- 1 root root 250, 0 Feb 11 12:35 2:0:0:0
crw------- 1 root root 250, 1 Feb 11 12:35 2:0:1:0

/dev/char:
total 0
lrwxrwxrwx 1 root root  8 Feb 11 12:35 10:144 -> ../nvram
lrwxrwxrwx 1 root root  8 Feb 11 12:35 10:183 -> ../hwrng
lrwxrwxrwx 1 root root 16 Feb 11 12:35 10:184 -> ../cpu/microcode
lrwxrwxrwx 1 root root  9 Feb 11 12:35 10:227 -> ../mcelog
lrwxrwxrwx 1 root root 11 Feb 11 12:35 10:231 -> ../snapshot
lrwxrwxrwx 1 root root  9 Feb 11 12:35 10:235 -> ../autofs
lrwxrwxrwx 1 root root 17 Feb 11 12:35 10:236 -> ../mapper/control
lrwxrwxrwx 1 root root 21 Feb 11 12:35 10:59 -> ../network_throughput
lrwxrwxrwx 1 root root 18 Feb 11 12:35 10:60 -> ../network_latency
lrwxrwxrwx 1 root root 18 Feb 11 12:35 10:61 -> ../cpu_dma_latency
lrwxrwxrwx 1 root root  8 Feb 11 12:35 10:62 -> ../crash
lrwxrwxrwx 1 root root 14 Feb 11 12:35 10:63 -> ../vga_arbiter
lrwxrwxrwx 1 root root 12 Feb 11 12:35 116:33 -> ../snd/timer
lrwxrwxrwx 1 root root 12 Feb 11 12:35 13:0 -> ../input/js0
lrwxrwxrwx 1 root root 15 Feb 11 12:35 13:32 -> ../input/mouse0
lrwxrwxrwx 1 root root 15 Feb 11 12:35 13:33 -> ../input/mouse1
lrwxrwxrwx 1 root root 13 Feb 11 12:35 13:63 -> ../input/mice
lrwxrwxrwx 1 root root 15 Feb 11 12:35 13:64 -> ../input/event0
lrwxrwxrwx 1 root root 15 Feb 11 12:35 13:65 -> ../input/event1
lrwxrwxrwx 1 root root 15 Feb 11 12:35 13:66 -> ../input/event2
lrwxrwxrwx 1 root root 15 Feb 11 12:35 13:67 -> ../input/event3
lrwxrwxrwx 1 root root 13 Feb 11 12:35 162:0 -> ../raw/rawctl
lrwxrwxrwx 1 root root  6 Feb 11 12:35 1:1 -> ../mem
lrwxrwxrwx 1 root root  7 Feb 11 12:35 1:11 -> ../kmsg
lrwxrwxrwx 1 root root  9 Feb 11 12:35 1:12 -> ../oldmem
lrwxrwxrwx 1 root root  7 Feb 11 12:35 1:3 -> ../null
lrwxrwxrwx 1 root root  7 Feb 11 12:35 1:4 -> ../port
lrwxrwxrwx 1 root root  7 Feb 11 12:35 1:5 -> ../zero
lrwxrwxrwx 1 root root  7 Feb 11 12:35 1:7 -> ../full
lrwxrwxrwx 1 root root  9 Feb 11 12:35 1:8 -> ../random
lrwxrwxrwx 1 root root 10 Feb 11 12:35 1:9 -> ../urandom
lrwxrwxrwx 1 root root 12 Feb 11 12:35 202:0 -> ../cpu/0/msr
lrwxrwxrwx 1 root root 14 Feb 11 12:35 203:0 -> ../cpu/0/cpuid
lrwxrwxrwx 1 root root  6 Feb 11 12:35 21:0 -> ../sg0
lrwxrwxrwx 1 root root  6 Feb 11 12:35 21:1 -> ../sg1
lrwxrwxrwx 1 root root 11 Feb 11 12:35 245:1 -> ../vport1p1
lrwxrwxrwx 1 root root 10 Feb 11 12:35 249:0 -> ../usbmon0
lrwxrwxrwx 1 root root 14 Feb 11 12:35 250:0 -> ../bsg/2:0:0:0
lrwxrwxrwx 1 root root 14 Feb 11 12:35 250:1 -> ../bsg/2:0:1:0
lrwxrwxrwx 1 root root  7 Feb 11 12:35 253:0 -> ../rtc0
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:0 -> ../tty0
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:1 -> ../tty1
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:10 -> ../tty10
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:11 -> ../tty11
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:12 -> ../tty12
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:13 -> ../tty13
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:14 -> ../tty14
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:15 -> ../tty15
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:16 -> ../tty16
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:17 -> ../tty17
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:18 -> ../tty18
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:19 -> ../tty19
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:2 -> ../tty2
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:20 -> ../tty20
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:21 -> ../tty21
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:22 -> ../tty22
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:23 -> ../tty23
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:24 -> ../tty24
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:25 -> ../tty25
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:26 -> ../tty26
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:27 -> ../tty27
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:28 -> ../tty28
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:29 -> ../tty29
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:3 -> ../tty3
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:30 -> ../tty30
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:31 -> ../tty31
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:32 -> ../tty32
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:33 -> ../tty33
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:34 -> ../tty34
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:35 -> ../tty35
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:36 -> ../tty36
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:37 -> ../tty37
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:38 -> ../tty38
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:39 -> ../tty39
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:4 -> ../tty4
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:40 -> ../tty40
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:41 -> ../tty41
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:42 -> ../tty42
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:43 -> ../tty43
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:44 -> ../tty44
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:45 -> ../tty45
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:46 -> ../tty46
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:47 -> ../tty47
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:48 -> ../tty48
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:49 -> ../tty49
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:5 -> ../tty5
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:50 -> ../tty50
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:51 -> ../tty51
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:52 -> ../tty52
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:53 -> ../tty53
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:54 -> ../tty54
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:55 -> ../tty55
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:56 -> ../tty56
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:57 -> ../tty57
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:58 -> ../tty58
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:59 -> ../tty59
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:6 -> ../tty6
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:60 -> ../tty60
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:61 -> ../tty61
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:62 -> ../tty62
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:63 -> ../tty63
lrwxrwxrwx 1 root root  8 Feb 11 12:35 4:64 -> ../ttyS0
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:7 -> ../tty7
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:8 -> ../tty8
lrwxrwxrwx 1 root root  7 Feb 11 12:35 4:9 -> ../tty9
lrwxrwxrwx 1 root root  6 Feb 11 12:35 5:0 -> ../tty
lrwxrwxrwx 1 root root 10 Feb 11 12:35 5:1 -> ../console
lrwxrwxrwx 1 root root  7 Feb 11 12:35 5:2 -> ../ptmx
lrwxrwxrwx 1 root root  6 Feb 11 12:35 7:0 -> ../vcs
lrwxrwxrwx 1 root root  7 Feb 11 12:35 7:1 -> ../vcs1
lrwxrwxrwx 1 root root  7 Feb 11 12:35 7:128 -> ../vcsa
lrwxrwxrwx 1 root root  8 Feb 11 12:35 7:129 -> ../vcsa1

/dev/cpu:
total 0
drwxr-xr-x 2 root root      80 Feb 11 12:35 0
crw------- 1 root root 10, 184 Feb 11 12:35 microcode

/dev/cpu/0:
total 0
crw------- 1 root root 203, 0 Feb 11 12:35 cpuid
crw------- 1 root root 202, 0 Feb 11 12:35 msr

/dev/disk:
total 0
drwxr-xr-x 2 root root 140 Feb 11 12:35 by-id
drwxr-xr-x 2 root root 140 Feb 11 12:35 by-path
drwxr-xr-x 2 root root 100 Feb 11 12:35 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Feb 11 12:35 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11 12:35 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 12:35 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 11 12:35 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 11 12:35 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-0 -> ../../sdb

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Feb 11 12:35 virtio-pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11 12:35 virtio-pci-0000:00:03.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 12:35 virtio-pci-0000:00:03.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 11 12:35 virtio-pci-0000:00:03.0-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 11 12:35 virtio-pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Feb 11 12:35 5ceec1b2-ad84-4c13-b930-d7f1ed9c67df -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 12:35 9eeb357d-cad3-4705-91dd-1ada335aa78f -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 11 12:35 bddc8914-0e95-4939-b129-6b21b6bdcc14 -> ../../sdb

/dev/input:
total 0
drwxr-xr-x 2 root root    120 Feb 11 12:35 by-path
crw------- 1 root root 13, 64 Feb 11 12:35 event0
crw------- 1 root root 13, 65 Feb 11 12:35 event1
crw------- 1 root root 13, 66 Feb 11 12:35 event2
crw------- 1 root root 13, 67 Feb 11 12:35 event3
crw-rw-r-- 1 root root 13,  0 Feb 11 12:35 js0
crw------- 1 root root 13, 63 Feb 11 12:35 mice
crw------- 1 root root 13, 32 Feb 11 12:35 mouse0
crw------- 1 root root 13, 33 Feb 11 12:35 mouse1

/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 Feb 11 12:35 platform-i8042-serio-0-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 Feb 11 12:35 platform-i8042-serio-1-event-mouse -> ../event1
lrwxrwxrwx 1 root root 6 Feb 11 12:35 platform-i8042-serio-1-mouse -> ../js0
lrwxrwxrwx 1 root root 9 Feb 11 12:35 platform-pcspkr-event-spkr -> ../event3

/dev/mapper:
total 0
crw------- 1 root root 10, 236 Feb 11 12:35 control

/dev/net:
total 0
crw-rw-rw- 1 root root 10, 200 Feb 11 12:35 tun

/dev/pts:
total 0
c--------- 1 root root 5, 2 Feb 11 12:35 ptmx

/dev/raw:
total 0
crw------- 1 root root 162, 0 Feb 11 12:35 rawctl

/dev/snd:
total 0
crw-rw---- 1 root audio 116,  1 Feb 11 12:35 seq
crw-rw---- 1 root audio 116, 33 Feb 11 12:35 timer

/dev/vfio:
total 0
crw------- 1 root root 10, 196 Feb 11 12:35 vfio

/dev/virtio-ports:
total 0
lrwxrwxrwx 1 root root 11 Feb 11 12:35 org.libguestfs.channel.0 -> ../vport1p1
+ cat /proc/mounts
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
/dev/root / ext2 rw,noatime 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=97576k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=241444k,nr_inodes=60361,mode=755 0 0
/dev/pts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
+ lvm pvs
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ lvm vgs
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ lvm lvs
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
+ ip r
+ lsmod
Module                  Size  Used by
dm_mod                123303  0 
sb_edac                32018  0 
edac_core              58151  1 sb_edac
iosf_mbi               13523  0 
ghash_clmulni_intel    13259  0 
snd_pcm               106416  0 
snd_timer              29810  1 snd_pcm
aesni_intel            69884  0 
snd                    83383  2 snd_timer,snd_pcm
sg                     40721  0 
lrw                    13286  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
soundcore              15047  1 snd
ablk_helper            13597  1 aesni_intel
cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
joydev                 17377  0 
pcspkr                 12718  0 
serio_raw              13413  0 
ata_generic            12910  0 
pata_acpi              13038  0 
libcrc32c              12644  0 
crc8                   12893  0 
crc_itu_t              12707  0 
crc_ccitt              12707  0 
ext4                  571503  1 
mbcache                14958  1 ext4
jbd2                  103046  1 ext4
virtio_pci             22913  0 
virtio_input           13247  0 
virtio_balloon         13864  0 
virtio_scsi            18453  1 
sd_mod                 46322  1 
crc_t10dif             12714  1 sd_mod
nd_pmem                13122  0 
nd_btt                 22068  1 nd_pmem
virtio_net             28096  0 
virtio_console         28066  0 
virtio_rng             13019  0 
virtio_blk             18156  0 
virtio_ring            22746  8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_input,virtio_console,virtio_scsi
virtio                 14959  8 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_input,virtio_console,virtio_scsi
ata_piix               35038  0 
libata                238896  3 pata_acpi,ata_generic,ata_piix
libnvdimm             132047  2 nd_pmem,nd_btt
crct10dif_generic      12647  0 
crc32_generic          12714  0 
crct10dif_pclmul       14289  1 
crct10dif_common       12595  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel           22079  1 
crc32_pclmul           13113  0 
+ date
Sun Feb 11 12:35:02 UTC 2018
+ echo -n 'clocksource: '
clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
kvm-clock
+ echo -n 'uptime: '
uptime: + cat /proc/uptime
0.77 0.18
+ test '' = 1
+ cmd=guestfsd
++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
+ eval
+ test x '!=' x
+ test 1 = 1
+ cmd='guestfsd --verbose'
+ test '' = 1
+ echo guestfsd --verbose
guestfsd --verbose
+ guestfsd --verbose
lvmetad
trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
udevadm --debug settle
calling: settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: appliance is up
guestfsd: main_loop: new request, len 0x28
guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda1
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda2
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda5
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=rootfs dir=/ type=rootfs opts=rw freq=0 passno=0
umount-all: /proc/mounts: fsname=proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=97576k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=241444k,nr_inodes=60361,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
guestfsd: main_loop: proc 47 (umount_all) took 0.02 seconds
guestfsd: main_loop: new request, len 0x30
guestfsd: main_loop: proc 458 (internal_feature_available) took 0.00 seconds
guestfsd: main_loop: new request, len 0x30
guestfsd: main_loop: proc 458 (internal_feature_available) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
guestfsd: main_loop: proc 300 (list_md_devices) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda1
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda2
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda5
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: lvm lvs --help
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: lvm lvs -o vg_name,lv_name -S "lv_role=public && lv_skip_activation!=1" --noheadings --separator /
guestfsd: main_loop: proc 11 (lvs) took 0.02 seconds
guestfsd: main_loop: new request, len 0x38
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: blkid -c /dev/null -o value -s TYPE /dev/sda1
libguestfs: check_for_filesystem_on: /dev/sda1 (ext4)
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 396 (internal_parse_mountable) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 395 (is_whole_device) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: mount -o ro /dev/sda1 /sysroot/
[    0.962879] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
guestfsd: main_loop: proc 73 (mount_ro) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 335 (device_index) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 293 (part_to_partnum) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
udevadm --debug settle
calling: settle
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: parted -m -s -- /dev/sda unit b print
udevadm --debug settle
calling: settle
guestfsd: main_loop: proc 213 (part_list) took 0.08 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x48
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 218 (filesize) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 67 (download) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 218 (filesize) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
commandrvf: stdout=y stderr=y flags=0x20004
commandrvf: head -n 10
guestfsd: main_loop: proc 122 (head_n) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=rootfs dir=/ type=rootfs opts=rw freq=0 passno=0
umount-all: /proc/mounts: fsname=proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=97576k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=241444k,nr_inodes=60361,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext4 opts=ro,relatime,data=ordered freq=0 passno=0
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: umount /sysroot
guestfsd: main_loop: proc 47 (umount_all) took 0.01 seconds
virt-sysprep: error: libguestfs error: could not parse integer in version 
number: kali-rolling

If reporting bugs, run virt-sysprep with debugging enabled and include the 
complete output:

  virt-sysprep -v -x [...]
libguestfs: closing guestfs handle 0x1a147e0 (state 2)
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=rootfs dir=/ type=rootfs opts=rw freq=0 passno=0
umount-all: /proc/mounts: fsname=proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=97576k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=241444k,nr_inodes=60361,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
fsync /dev/sda
libguestfs: calling virDomainDestroy flags=0
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsGYXUp6
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfswI12ye
[root@kvm00 ~]# 


Expected results:
Expected not to throw this "virt-sysprep: error: libguestfs error: could not parse integer in version" error.

Additional info:

see attachment

Comment 1 Pino Toscano 2018-02-12 09:33:36 UTC
Can you please attach both the /etc/debian_version and /etc/os-release files of the Kali Linux guest?

Comment 2 Richard W.M. Jones 2018-02-12 10:16:16 UTC
Also having virt-sysprep -v -x output would be useful too
(note missing "-x" option in what you provided).

Comment 3 arozar 2018-02-12 11:27:22 UTC
root@scanner0:~# cat /etc/debian_version 
kali-rolling

root@scanner0:~# cat /etc/os-release 
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2018.1"
VERSION_ID="2018.1"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.kali.org/"
SUPPORT_URL="http://forums.kali.org/"
BUG_REPORT_URL="http://bugs.kali.org/"
root@guest-scanner:~#

Comment 4 arozar 2018-02-12 11:33:33 UTC
Created attachment 1394848 [details]
sudo virt-sysprep -d scanner0 -v -x

Comment 5 Pino Toscano 2018-02-12 13:18:37 UTC
Thanks -- just sent a patch to support Kali Linux when inspecting a guest OS:
https://www.redhat.com/archives/libguestfs/2018-February/msg00076.html
... and one more for basic operations in tools:
https://www.redhat.com/archives/libguestfs/2018-February/msg00077.html


Note You need to log in before you can comment on or make changes to this bug.