[Libguestfs] virt-customize networking question

ANDRES POZO MUNOZ andres.pozomunoz at telefonica.com
Fri Nov 24 08:23:46 UTC 2017


Hi Richard,

Thank you very much for your response.

Here’s the output of the guestfish command.


[sysadmin at image-repo ~]$ guestfish -a /dev/null --network run -v -x
libguestfs: trace: set_pgroup true
libguestfs: trace: set_pgroup = 0
libguestfs: trace: add_drive "/dev/null"
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsKomSJn/devnull1" "raw" 4096
libguestfs: trace: disk_create = 0
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 36, release: 6, extra: fedora=26,release=1.fc26,libvirt, >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "libvirt"
libguestfs: launch: program=guestfish
libguestfs: launch: version=1.36.6fedora=26,release=1.fc26,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/libguestfsKomSJn
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: libvirt version = 3002001 (3.2.1)
libguestfs: guest random name = guestfs-mm2duuyyxdz88bl8
libguestfs: connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///session, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x5580f67efd80
libguestfs: qemu version (reported by libvirt) = 2009001 (2.9.1)
libguestfs: get libvirt capabilities
libguestfs: parsing capabilities XML
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "internal_libvirt_label"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "network_bridge"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: build appliance
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/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-1000/appliance.d
supermin: version: 5.1.19
supermin: rpm: detected RPM version 4.13
supermin: package handler: fedora/rpm
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: if-newer: output does not need rebuilding
libguestfs: finished building supermin appliance
libguestfs: trace: disk_create "/tmp/libguestfsKomSJn/overlay2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-1000/appliance.d/root" "backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-1000/appliance.d/root,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsKomSJn/overlay2
Formatting '/tmp/libguestfsKomSJn/overlay2', fmt=qcow2 size=4294967296 backing_file=/var/tmp/.guestfs-1000/appliance.d/root backing_fmt=raw encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
libguestfs: trace: disk_create = 0
libguestfs: trace: get_sockdir
libguestfs: trace: get_sockdir = "/run/user/1000"
libguestfs: set_socket_create_context: getcon failed: (none): Invalid argument [you can ignore this message if you are not using SELinux + sVirt]
libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt]
libguestfs: create libvirt XML
libguestfs: command: run: dmesg | grep -Eoh 'lpj=[[:digit:]]+'
libguestfs: read_lpj_from_dmesg: calculated lpj=3696018
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: libvirt XML:\n<?xml version="1.0"?>\n<domain type="qemu" xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">\n  <name>guestfs-mm2duuyyxdz88bl8</name>\n  <memory unit="MiB">500</memory>\n  <currentMemory unit="MiB">500</currentMemory>\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-1000/appliance.d/kernel</kernel>\n    <initrd>/var/tmp/.guestfs-1000/appliance.d/initrd</initrd>\n    <cmdline>panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=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="/tmp/libguestfsKomSJn/devnull1"/>\n      <target dev="sda" bus="scsi"/>\n      <driver name="qemu" type="raw" cache="writeback"/>\n      <address type="drive" controller="0" bus="0" target="0" unit="0"/>\n    </disk>\n    <disk type="file" device="disk">\n      <source file="/tmp/libguestfsKomSJn/overlay2"/>\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="/run/user/1000/libguestfsXkK0LR/console.sock"/>\n      <target port="0"/>\n    </serial>\n    <channel type="unix">\n      <source mode="connect" path="/run/user/1000/libguestfsXkK0LR/guestfsd.sock"/>\n      <target type="virtio" name="org.libguestfs.channel.0"/>\n    </channel>\n    <
interface type="bridge">\n      <source bridge="virbr0"/>\n      <model type="virtio"/>\n    </interface>\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: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: command: run: ls
libguestfs: command: run: \ -a
libguestfs: command: run: \ -l
libguestfs: command: run: \ -R
libguestfs: command: run: \ -Z /var/tmp/.guestfs-1000
libguestfs: /var/tmp/.guestfs-1000:
libguestfs: total 12
libguestfs: drwxr-xr-x  3 sysadmin sysadmin ?                          4096 Nov 24 08:19 .
libguestfs: drwxrwxrwt. 4 root     root     system_u:object_r:tmp_t:s0 4096 Nov 24 08:19 ..
libguestfs: drwxr-xr-x  2 sysadmin sysadmin ?                          4096 Nov  3 10:29 appliance.d
libguestfs: -rw-r--r--  1 sysadmin sysadmin ?                             0 Nov  3 10:28 lock
libguestfs:
libguestfs: /var/tmp/.guestfs-1000/appliance.d:
libguestfs: total 215956
libguestfs: drwxr-xr-x 2 sysadmin sysadmin ?       4096 Nov  3 10:29 .
libguestfs: drwxr-xr-x 3 sysadmin sysadmin ?       4096 Nov 24 08:19 ..
libguestfs: -rw-r--r-- 1 sysadmin sysadmin ?     564736 Nov 24 08:19 initrd
libguestfs: -rwxr-xr-x 1 sysadmin sysadmin ?    7471192 Nov 24 08:19 kernel
libguestfs: -rw-r--r-- 1 sysadmin sysadmin ? 4294967296 Nov 24 08:19 root
libguestfs: command: run: ls
libguestfs: command: run: \ -a
libguestfs: command: run: \ -l
libguestfs: command: run: \ -Z /run/user/1000/libguestfsXkK0LR
libguestfs: total 0
libguestfs: drwx------ 2 sysadmin sysadmin ?  80 Nov 24 08:19 .
libguestfs: drwx------ 9 sysadmin sysadmin ? 200 Nov 24 08:19 ..
libguestfs: srwxrwxr-x 1 sysadmin sysadmin ?   0 Nov 24 08:19 console.sock
libguestfs: srwxrwxr-x 1 sysadmin sysadmin ?   0 Nov 24 08:19 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 02/12/17
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Sun Feb 12 00:43:05 UTC 2017
Term: 80x24
4 0
SeaBIOS (version 1.10.2-1.fc26)
Machine UUID 7c9992c6-b71b-4047-8ddb-178ec579adb0


iPXE (http://ipxe.org) 00:02.0 C100 PCI2.10 PnP PMM+1F3923E0+1F2D23E0 C100



Booting from ROM...
\x1b[2J[    0.000000] random: get_random_bytes called from start_kernel+0x42/0x4e6 with crng_init=0
[    0.000000] Linux version 4.13.9-200.fc26.x86_64 (mockbuild at bkernel01.phx2.fedoraproject.org) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Mon Oct 23 13:52:45 UTC 2017
[    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm-256color
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    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 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] random: fast init done
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1.fc26 04/01/2014
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT
[    0.000000] found SMP MP-table at [mem 0x000f6c10-0x000f6c1f] mapped at [ffff9205c00f6c10]
[    0.000000] RAMDISK: [mem 0x1f366000-0x1f3effff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI BIOS Error (bug): A valid RSDP was not found (20170531/tbxfroot-244)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
[    0.000000] NODE_DATA(0) allocated [mem 0x1f33b000-0x1f365fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000001f3fdfff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001f3fdfff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3fdfff]
[    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 32, 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 0x00000000-0x00000fff]
[    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-0xfffbffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] percpu: Embedded 37 pages/cpu @ffff9205df000000 s112600 r8192 d30760 u2097152
[    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 lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm-256color
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Memory: 481292K/511600K available (8832K kernel code, 2404K rwdata, 3760K rodata, 2224K init, 1976K bss, 30308K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 34932 entries in 137 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[    0.000000] \tTasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[    0.000000] \tOffload RCU callbacks from CPUs: .
[    0.000000] Console: colour *CGA 80x25
[    0.000000] console [ttyS0] enabled
[    0.002000] tsc: Fast TSC calibration using PIT
[    0.003000] tsc: Detected 3695.771 MHz processor
[    0.005066] Calibrating delay loop (skipped) preset value.. 7392.03 BogoMIPS (lpj=3696018)
[    0.005304] pid_max: default: 32768 minimum: 301
[    0.007110] Security Framework initialized
[    0.007262] Yama: becoming mindful.
[    0.007890] SELinux:  Disabled at boot.
[    0.009348] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.009877] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.010219] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.010352] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.026719] Disabling memory control group subsystem
[    0.028551] mce: CPU supports 10 MCE banks
[    0.029506] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.029610] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.248543] Freeing SMP alternatives memory: 32K
[    0.262922] smpboot: Max logical packages: 1
[    0.266000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.367561] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping: 0x3)
[    0.370533] Performance Events: PMU not available due to virtualization, using software events only.
[    0.372053] Hierarchical SRCU implementation.
[    0.377376] smp: Bringing up secondary CPUs ...
[    0.377526] smp: Brought up 1 node, 1 CPU
[    0.377648] smpboot: Total of 1 processors activated (7392.03 BogoMIPS)
[    0.381610] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.381735] NMI watchdog: Shutting down hard lockup detector on all cpus
[    0.387852] devtmpfs: initialized
[    0.390127] x86/mm: Memory block size: 128MB
[    0.395156] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.396233] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.398379] pinctrl core: initialized pinctrl subsystem
[    0.399349] RTC time:  8:19:28, date: 11/24/17
[    0.402104] NET: Registered protocol family 16
[    0.405913] cpuidle: using governor menu
[    0.409665] PCI: Using configuration type 1 for base access
[    0.427199] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.431121] ACPI: Interpreter disabled.
[    0.433682] vgaarb: loaded
[    0.435520] SCSI subsystem initialized
[    0.436666] usbcore: USB support disabled
[    0.437749] EDAC MC: Ver: 3.0.0
[    0.439000] PCI: Probing PCI hardware
[    0.439685] PCI host bridge to bus 0000:00
[    0.440248] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.440387] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[    0.440538] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.446000] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.446170] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.446277] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.446382] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.470865] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.476262] NetLabel: Initializing
[    0.476352] NetLabel:  domain hash size = 128
[    0.476414] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.477479] NetLabel:  unlabeled traffic allowed by default
[    0.479264] clocksource: Switched to clocksource refined-jiffies
[    0.576697] VFS: Disk quotas dquot_6.6.0
[    0.577040] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.579466] pnp: PnP ACPI: disabled
[    0.596342] NET: Registered protocol family 2
[    0.600841] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.601189] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.601419] TCP: Hash tables configured (established 4096 bind 4096)
[    0.602034] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.603237] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.604540] NET: Registered protocol family 1
[    0.604842] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.605031] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.605217] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.610406] Unpacking initramfs...
[    0.620379] Freeing initrd memory: 552K
[    0.622253] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.624865] alg: self-tests disabled
[    0.628549] audit: initializing netlink subsys (disabled)
[    0.632658] audit: type=2000 audit(1511511567.630:1): state=initialized audit_enabled=0 res=1
[    0.634287] Initialise system trusted keyrings
[    0.635677] Key type blacklist registered
[    0.636393] workingset: timestamp_bits=36 max_order=17 bucket_order=0
[    0.647042] zbud: loaded
[    0.662861] NET: Registered protocol family 38
[    0.663190] Key type asymmetric registered
[    0.663296] Asymmetric key parser 'x509' registered
[    0.663813] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.664564] io scheduler noop registered
[    0.664682] io scheduler deadline registered
[    0.665547] io scheduler cfq registered (default)
[    0.665644] io scheduler mq-deadline registered
[    0.668526] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    0.672469] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.674254] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.681664] Non-volatile memory driver v1.3
[    0.682155] Linux agpgart interface v0.103
[    0.693397] scsi host0: ata_piix
[    0.695082] scsi host1: ata_piix
[    0.695637] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0c0 irq 14
[    0.695769] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0c8 irq 15
[    0.697131] libphy: Fixed MDIO Bus: probed
[    0.698643] usbserial: usb_serial_init - usb_register failed
[    0.699127] usbserial: usb_serial_init - returning with error -19
[    0.699747] i8042: PNP: No PS/2 controller found.
[    0.699824] i8042: Probing ports directly.
[    0.704777] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.705112] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.706696] mousedev: PS/2 mouse device common for all mice
[    0.709555] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.715849] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.716338] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    0.717189] device-mapper: uevent: version 1.0.3
[    0.718374] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel at redhat.com
[    0.720436] hidraw: raw HID events driver (C) Jiri Kosina
[    0.721775] drop_monitor: Initializing network drop monitor service
[    0.722963] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.724931] Initializing XFRM netlink socket
[    0.726498] NET: Registered protocol family 10
[    0.739258] Segment Routing with IPv6
[    0.739625] mip6: Mobile IPv6
[    0.739756] NET: Registered protocol family 17
[    0.742423] RAS: Correctable Errors collector initialized.
[    0.742859] sched_clock: Marking stable (741960024, 0)->(868632603, -126672579)
[    0.745657] registered taskstats version 1
[    0.746053] Loading compiled-in X.509 certificates
[    0.756853] Loaded X.509 cert 'Fedora kernel signing key: 1f3773829c4002ac321d073782d57b37a19cbde7'
[    0.758040] zswap: loaded using pool lzo/zbud
[    0.762316] Key type big_key registered
[    0.764073] Key type encrypted registered
[    0.765701]   Magic number: 9:951:321
[    0.766076] tty tty46: hash matches
[    0.766183] pci 0000:00:02.0: hash matches
[    0.766647] rtc_cmos rtc_cmos: setting system clock to 2017-11-24 08:19:28 UTC (1511511568)
[    0.931381] Freeing unused kernel memory: 2224K
[    0.931544] Write protecting the kernel read-only data: 14336k
[    0.934593] Freeing unused kernel memory: 1396K
[    0.939517] Freeing unused kernel memory: 336K
[    0.958010] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.958301] rodata_test: all tests were successful
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.1.19 dietlibc
supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm-256color
supermin: uptime: 0.98 0.33
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
[    0.992611] PCLMULQDQ-NI instructions are not detected.
insmod: init_module: crc32-pclmul.ko: No such device
supermin: internal insmod crc32c-intel.ko
insmod: init_module: crc32c-intel.ko: No such device
supermin: internal insmod crct10dif-pclmul.ko
insmod: init_module: crct10dif-pclmul.ko: No such device
supermin: internal insmod crc32_generic.ko
supermin: internal insmod nfit.ko
insmod: init_module: nfit.ko: No such device
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 crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod nd_btt.ko
supermin: internal insmod nd_pmem.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio_input.ko
supermin: internal insmod virtio_mmio.ko
supermin: internal insmod virtio_pci.ko
[    1.104527] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 10
[    1.115035] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 11
[    1.117725] scsi host2: Virtio SCSI HBA
[    1.122281] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 11
[    1.130929] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    1.132740] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    1.139228] virtio-pci 0000:00:05.0: PCI->APIC IRQ transform: INT A -> IRQ 10
[    1.147380] random: crng init done
[    1.287633] sd 2:0:0:0: [sda] 8 512-byte logical blocks: (4.10 kB/4.00 KiB)
[    1.288117] sd 2:0:0:0: [sda] Write Protect is off
[    1.288564] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.290810] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    1.293169] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    1.293387] sd 2:0:1:0: [sdb] Write Protect is off
[    1.293584] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.300224] Dev sda: unable to read RDB block 8
[    1.300474]  sda: unable to read partition table
[    1.300619] sda: partition table beyond EOD, enabling native capacity
[    1.301928] sd 2:0:1:0: Attached scsi generic sg1 type 0
[    1.304887] Dev sda: unable to read RDB block 8
[    1.304998]  sda: unable to read partition table
[    1.306960] sda: partition table beyond EOD, truncated
[    1.311108] sd 2:0:0:0: [sda] Attached SCSI disk
[    1.311519] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: picked /sys/block/sdb/dev (8:16) as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[    1.342068] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
[    1.357248] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: deleting initramfs files
supermin: chroot
Starting /init script ...
[    1.585174] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
[    1.639975] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6a8b74eb883, max_idle_ns: 881590765959 ns
[    1.640369] clocksource: Switched to clocksource tsc
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm-256color == *guestfs_network=1* ]]
+ guestfs_network=1
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
+ [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=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
+ ln -s /proc/mounts /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 lpj=3696018 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=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=' 4da9 ad19 143d 4cb4 c026 5688 6869 1e23'
+ echo 4da9ad19143d4cb4c026568868691e23
+ 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 233
+ udevadm trigger
+ udevadm settle --timeout=600
[    5.017092] kvm: Nested Virtualization enabled
+ 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
+ test 1 = 1
++ ls -I all -I default -I lo /proc/sys/net/ipv4/conf
+ iface=eth0
+ touch /etc/fstab
+ dhclient --version
+ dhclient eth0
/usr/sbin/dhclient-script: line 813: cd: /etc/sysconfig/network-scripts: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
/usr/sbin/dhclient-script: line 813: cd: /etc/sysconfig/network-scripts: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
+ mdadm -As --auto=yes --run
mdadm: No arrays found in config file or automatically
+ modprobe dm_mod
+ lvm vgchange -aay --sysinit
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
+ ldmtool create all
[
]
+ test 1 = 1
+ test '' '!=' 1
+ uname -a
Linux (none) 4.13.9-200.fc26.x86_64 #1 SMP Mon Oct 23 13:52:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
+ ls -lR /dev
/dev:
total 0
crw------- 1 root root  10, 235 Nov 24 08:19 autofs
drwxr-xr-x 2 root root       80 Nov 24 08:19 block
drwxr-xr-x 2 root root       80 Nov 24 08:19 bsg
crw------- 1 root root  10, 234 Nov 24 08:19 btrfs-control
drwxr-xr-x 2 root root     2160 Nov 24 08:19 char
crw------- 1 root root   5,   1 Nov 24 08:19 console
lrwxrwxrwx 1 root root       11 Nov 24 08:19 core -> /proc/kcore
drwxr-xr-x 3 root root       60 Nov 24 08:19 cpu
crw------- 1 root root  10,  62 Nov 24 08:19 cpu_dma_latency
drwxr-xr-x 5 root root      100 Nov 24 08:19 disk
lrwxrwxrwx 1 root root       13 Nov 24 08:19 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1,   7 Nov 24 08:19 full
crw-rw-rw- 1 root root  10, 229 Nov 24 08:19 fuse
crw------- 1 root root  10, 183 Nov 24 08:19 hwrng
drwxr-xr-x 2 root root      120 Nov 24 08:19 input
crw-r--r-- 1 root root   1,  11 Nov 24 08:19 kmsg
crw------- 1 root root  10, 232 Nov 24 08:19 kvm
crw-rw---- 1 root disk  10, 237 Nov 24 08:19 loop-control
drwxr-xr-x 2 root root       60 Nov 24 08:19 mapper
crw------- 1 root root  10, 227 Nov 24 08:19 mcelog
crw------- 1 root root   1,   1 Nov 24 08:19 mem
crw------- 1 root root  10,  59 Nov 24 08:19 memory_bandwidth
drwxr-xr-x 2 root root       60 Nov 24 08:19 net
crw------- 1 root root  10,  61 Nov 24 08:19 network_latency
crw------- 1 root root  10,  60 Nov 24 08:19 network_throughput
crw-rw-rw- 1 root root   1,   3 Nov 24 08:19 null
crw------- 1 root root  10, 144 Nov 24 08:19 nvram
crw------- 1 root root   1,   4 Nov 24 08:19 port
crw-rw-rw- 1 root root   5,   2 Nov 24 08:19 ptmx
drwxr-xr-x 2 root root        0 Nov 24 08:19 pts
crw-rw-rw- 1 root root   1,   8 Nov 24 08:19 random
drwxr-xr-x 2 root root       60 Nov 24 08:19 raw
lrwxrwxrwx 1 root root        4 Nov 24 08:19 rtc -> rtc0
crw------- 1 root root 250,   0 Nov 24 08:19 rtc0
brw------- 1 root root   8,   0 Nov 24 08:19 sda
brw------- 1 root root   8,  16 Nov 24 08:19 sdb
crw------- 1 root root  21,   0 Nov 24 08:19 sg0
crw------- 1 root root  21,   1 Nov 24 08:19 sg1
crw------- 1 root root  10, 231 Nov 24 08:19 snapshot
lrwxrwxrwx 1 root root       15 Nov 24 08:19 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root       15 Nov 24 08:19 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root       15 Nov 24 08:19 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root   5,   0 Nov 24 08:19 tty
crw------- 1 root root   4,   0 Nov 24 08:19 tty0
crw------- 1 root root   4,   1 Nov 24 08:19 tty1
crw------- 1 root root   4,  10 Nov 24 08:19 tty10
crw------- 1 root root   4,  11 Nov 24 08:19 tty11
crw------- 1 root root   4,  12 Nov 24 08:19 tty12
crw------- 1 root root   4,  13 Nov 24 08:19 tty13
crw------- 1 root root   4,  14 Nov 24 08:19 tty14
crw------- 1 root root   4,  15 Nov 24 08:19 tty15
crw------- 1 root root   4,  16 Nov 24 08:19 tty16
crw------- 1 root root   4,  17 Nov 24 08:19 tty17
crw------- 1 root root   4,  18 Nov 24 08:19 tty18
crw------- 1 root root   4,  19 Nov 24 08:19 tty19
crw------- 1 root root   4,   2 Nov 24 08:19 tty2
crw------- 1 root root   4,  20 Nov 24 08:19 tty20
crw------- 1 root root   4,  21 Nov 24 08:19 tty21
crw------- 1 root root   4,  22 Nov 24 08:19 tty22
crw------- 1 root root   4,  23 Nov 24 08:19 tty23
crw------- 1 root root   4,  24 Nov 24 08:19 tty24
crw------- 1 root root   4,  25 Nov 24 08:19 tty25
crw------- 1 root root   4,  26 Nov 24 08:19 tty26
crw------- 1 root root   4,  27 Nov 24 08:19 tty27
crw------- 1 root root   4,  28 Nov 24 08:19 tty28
crw------- 1 root root   4,  29 Nov 24 08:19 tty29
crw------- 1 root root   4,   3 Nov 24 08:19 tty3
crw------- 1 root root   4,  30 Nov 24 08:19 tty30
crw------- 1 root root   4,  31 Nov 24 08:19 tty31
crw------- 1 root root   4,  32 Nov 24 08:19 tty32
crw------- 1 root root   4,  33 Nov 24 08:19 tty33
crw------- 1 root root   4,  34 Nov 24 08:19 tty34
crw------- 1 root root   4,  35 Nov 24 08:19 tty35
crw------- 1 root root   4,  36 Nov 24 08:19 tty36
crw------- 1 root root   4,  37 Nov 24 08:19 tty37
crw------- 1 root root   4,  38 Nov 24 08:19 tty38
crw------- 1 root root   4,  39 Nov 24 08:19 tty39
crw------- 1 root root   4,   4 Nov 24 08:19 tty4
crw------- 1 root root   4,  40 Nov 24 08:19 tty40
crw------- 1 root root   4,  41 Nov 24 08:19 tty41
crw------- 1 root root   4,  42 Nov 24 08:19 tty42
crw------- 1 root root   4,  43 Nov 24 08:19 tty43
crw------- 1 root root   4,  44 Nov 24 08:19 tty44
crw------- 1 root root   4,  45 Nov 24 08:19 tty45
crw------- 1 root root   4,  46 Nov 24 08:19 tty46
crw------- 1 root root   4,  47 Nov 24 08:19 tty47
crw------- 1 root root   4,  48 Nov 24 08:19 tty48
crw------- 1 root root   4,  49 Nov 24 08:19 tty49
crw------- 1 root root   4,   5 Nov 24 08:19 tty5
crw------- 1 root root   4,  50 Nov 24 08:19 tty50
crw------- 1 root root   4,  51 Nov 24 08:19 tty51
crw------- 1 root root   4,  52 Nov 24 08:19 tty52
crw------- 1 root root   4,  53 Nov 24 08:19 tty53
crw------- 1 root root   4,  54 Nov 24 08:19 tty54
crw------- 1 root root   4,  55 Nov 24 08:19 tty55
crw------- 1 root root   4,  56 Nov 24 08:19 tty56
crw------- 1 root root   4,  57 Nov 24 08:19 tty57
crw------- 1 root root   4,  58 Nov 24 08:19 tty58
crw------- 1 root root   4,  59 Nov 24 08:19 tty59
crw------- 1 root root   4,   6 Nov 24 08:19 tty6
crw------- 1 root root   4,  60 Nov 24 08:19 tty60
crw------- 1 root root   4,  61 Nov 24 08:19 tty61
crw------- 1 root root   4,  62 Nov 24 08:19 tty62
crw------- 1 root root   4,  63 Nov 24 08:19 tty63
crw------- 1 root root   4,   7 Nov 24 08:19 tty7
crw------- 1 root root   4,   8 Nov 24 08:19 tty8
crw------- 1 root root   4,   9 Nov 24 08:19 tty9
crw------- 1 root root   4,  64 Nov 24 08:19 ttyS0
crw------- 1 root root  10, 239 Nov 24 08:19 uhid
crw------- 1 root root  10, 223 Nov 24 08:19 uinput
crw-rw-rw- 1 root root   1,   9 Nov 24 08:19 urandom
crw------- 1 root root 247,   0 Nov 24 08:19 usbmon0
crw------- 1 root root   7,   0 Nov 24 08:19 vcs
crw------- 1 root root   7,   1 Nov 24 08:19 vcs1
crw------- 1 root root   7, 128 Nov 24 08:19 vcsa
crw------- 1 root root   7, 129 Nov 24 08:19 vcsa1
drwxr-xr-x 2 root root       60 Nov 24 08:19 vfio
crw------- 1 root root  10,  63 Nov 24 08:19 vga_arbiter
crw------- 1 root root  10, 238 Nov 24 08:19 vhost-net
crw------- 1 root root  10, 241 Nov 24 08:19 vhost-vsock
drwxr-xr-x 2 root root       60 Nov 24 08:19 virtio-ports
crw------- 1 root root 245,   1 Nov 24 08:19 vport2p1
crw-rw-rw- 1 root root   1,   5 Nov 24 08:19 zero

/dev/block:
total 0
lrwxrwxrwx 1 root root 6 Nov 24 08:19 8:0 -> ../sda
lrwxrwxrwx 1 root root 6 Nov 24 08:19 8:16 -> ../sdb

/dev/bsg:
total 0
crw------- 1 root root 248, 0 Nov 24 08:19 2:0:0:0
crw------- 1 root root 248, 1 Nov 24 08:19 2:0:1:0

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

/dev/cpu:
total 0
drwxr-xr-x 2 root root 80 Nov 24 08:19 0

/dev/cpu/0:
total 0
crw------- 1 root root 203, 0 Nov 24 08:19 cpuid
crw------- 1 root root 202, 0 Nov 24 08:19 msr

/dev/disk:
total 0
drwxr-xr-x 2 root root 80 Nov 24 08:19 by-id
drwxr-xr-x 2 root root 80 Nov 24 08:19 by-path
drwxr-xr-x 2 root root 60 Nov 24 08:19 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Nov 24 08:19 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0 -> ../../sda
lrwxrwxrwx 1 root root 9 Nov 24 08:19 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-0 -> ../../sdb

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Nov 24 08:19 pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 9 Nov 24 08:19 pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 9 Nov 24 08:19 7d39ab9f-80dc-43a6-8955-de769775ff3b -> ../../sdb

/dev/input:
total 0
crw------- 1 root root 13, 64 Nov 24 08:19 event0
crw------- 1 root root 13, 65 Nov 24 08:19 event1
crw------- 1 root root 13, 63 Nov 24 08:19 mice
crw------- 1 root root 13, 32 Nov 24 08:19 mouse0

/dev/mapper:
total 0
crw------- 1 root root 10, 236 Nov 24 08:19 control

/dev/net:
total 0
crw-rw-rw- 1 root root 10, 200 Nov 24 08:19 tun

/dev/pts:
total 0
c--------- 1 root root 5, 2 Nov 24 08:19 ptmx

/dev/raw:
total 0
crw------- 1 root root 162, 0 Nov 24 08:19 rawctl

/dev/vfio:
total 0
crw------- 1 root root 10, 196 Nov 24 08:19 vfio

/dev/virtio-ports:
total 0
lrwxrwxrwx 1 root root 11 Nov 24 08:19 org.libguestfs.channel.0 -> ../vport2p1
+ cat /proc/mounts
/dev/root / ext2 rw,noatime,block_validity,barrier,user_xattr,acl 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=97168k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=240660k,nr_inodes=60165,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 group default qlen 1000
    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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:00:61:78:ea brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:fe61:78ea/64 scope link
       valid_lft forever preferred_lft forever
+ ip r
+ lsmod
Module                  Size  Used by
kvm_amd              2179072  0
kvm                   585728  1 kvm_amd
irqbypass              16384  1 kvm
serio_raw              16384  0
ata_generic            16384  0
pata_acpi              16384  0
libcrc32c              16384  0
crc8                   16384  0
crc7                   16384  0
crc4                   16384  0
crc_itu_t              16384  0
virtio_pci             24576  0
virtio_mmio            16384  0
virtio_input           16384  0
virtio_balloon         20480  0
virtio_scsi            20480  1
nd_pmem                16384  0
nd_btt                 24576  1 nd_pmem
virtio_net             40960  0
virtio_crypto          20480  0
crypto_engine          16384  1 virtio_crypto
virtio_console         28672  0
virtio_rng             16384  0
virtio_blk             20480  0
virtio_ring            24576  10 virtio_input,virtio_blk,virtio_net,virtio_rng,virtio_mmio,virtio_scsi,virtio_balloon,virtio_crypto,virtio_console,virtio_pci
virtio                 16384  10 virtio_input,virtio_blk,virtio_net,virtio_rng,virtio_mmio,virtio_scsi,virtio_balloon,virtio_crypto,virtio_console,virtio_pci
crc32_generic          16384  0
+ date
Fri Nov 24 08:20:35 UTC 2017
+ echo -n 'clocksource: '
clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc
+ echo -n 'uptime: '
uptime: + cat /proc/uptime
68.00 60.81
+ cmd=guestfsd
++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
+ eval
+ test x '!=' x
+ test 1 = 1
+ cmd='guestfsd --verbose'
+ test 1 = 1
+ cmd='guestfsd --verbose --network'
+ test '' = 1
+ echo guestfsd --verbose --network
guestfsd --verbose --network
+ guestfsd --verbose --network
lvm config:
lvmetad
trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle
calling: settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: appliance is up
libguestfs: trace: launch = 0
libguestfs: trace: shutdown
libguestfs: trace: internal_autosync
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,block_validity,barrier,user_xattr,acl 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=97168k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=240660k,nr_inodes=60165,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
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
fsync /dev/sda
libguestfs: trace: internal_autosync = 0
libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
libguestfs: trace: shutdown = 0
libguestfs: trace: close
libguestfs: closing guestfs handle 0x5580f67ee1d0 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsKomSJn
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /run/user/1000/libguestfsXkK0LR


El 23/11/17 19:55, "Richard W.M. Jones" <rjones at redhat.com> escribió:

    On Thu, Nov 23, 2017 at 06:26:37PM +0000, ANDRES POZO MUNOZ wrote:
    > Hi,
    >
    > A quick question about a problem I’m facing.
    >
    > I want to customize some image running a customization script with
    > virt-customize.
    >
    > Everything works fine, except the fact that I don’t have a DHCP
    > server in the network (virt-customize relies on DHCP to assign the
    > IP when it boots the image, right?) and all the commands accessing
    > the network are failing.
    >
    > Is there any option (via config or something like that) to configure
    > an static IP in the image?

    I suspect you're actually hitting one of several bugs in dhclient,
    because virt-customize should never ask for an IP address from your
    public DHCP server.  See also:

      https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1632405
      https://bugzilla.redhat.com/show_bug.cgi?id=1503507

    Can you run ‘guestfish -a /dev/null --network run -v -x’ and attach
    the complete output?

    Rich.

    --
    Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
    Read my programming and virtualization blog: http://rwmj.wordpress.com
    virt-top is 'top' for virtual machines.  Tiny program with many
    powerful monitoring features, net stats, disk stats, logging, etc.
    http://people.redhat.com/~rjones/virt-top



________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição




More information about the Libguestfs mailing list