The problem is caused because of path mismatch. Still need to find the resolution for it.
rrs@priyasi:~$ file /usr/lib64/uml/port-helper /usr/lib64/uml/port-helper: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=c5b2768784b67d1a4b0dfd900938efe22b1d4f9a, stripped 13:57 ♒♒♒ ☺ rrs@priyasi:~$ strings `which linux` | grep port-helper /usr/lib/uml/port-helper /usr/lib//uml/port-helper 13:58 ♒♒♒ ☺ On Fri, Jul 14, 2017 at 1:37 PM, Ritesh Raj Sarraf <r...@debian.org> wrote: > Package: uml-utilities > Version: 20070815.1-2+b2 > Severity: important > > On current Debian Test (Buster), uml-utilities seems to be broken in > providing the console. This results in the UML instance not providing a > shell to access it. > > =x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x= > Starting System Logging Service... > [ OK ] Started Login Service. > Option "-t" is deprecated and might be removed in a later version of > gnome-terminal. > > Error: Failed to execute child process “port-helper” (No such > file or directory) > > [ OK ] Started Raise network interfaces. > [ OK ] Reached target Network. > [ OK ] Reached target Network is Online. > =x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x= > > A quick search on the UML HOWTO mentions: > > =x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x= > If you're running an up to date kernel with an old release of > uml_utilities, the port-helper program will not work properly, so > xterms will exit straight after they appear. The solution is to > upgrade to the latest release of uml_utilities. Usually this problem > occurs when you have installed a packaged release of UML then compiled > your own development kernel without upgrading the uml_utilities from > the source distribution. > =x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x= > > I am not sure how to take this. uml-utilities itself hasn't changed in > quite a while. > > Also, the port-helper tool is already present. > > > rrs@priyasi:~$ file /usr/lib64/uml/port-helper > /usr/lib64/uml/port-helper: ELF 64-bit LSB shared object, x86-64, version > 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for > GNU/Linux 2.6.32, BuildID[sha1]=c5b2768784b67d1a4b0dfd900938efe22b1d4f9a, > stripped > 13:36 ♒♒♒ ☺ > > > > > rrs@priyasi:~$ linux ubd0=~/rrs-home/NoTrack/uml.img eth0=daemon > mem=1024M rw > Core dump limits : > soft - 0 > hard - NONE > Checking that ptrace can change system call numbers...OK > Checking syscall emulation patch for ptrace...OK > Checking advanced syscall emulation patch for ptrace...OK > Checking environment variables for a tempdir...none found > Checking if /dev/shm is on tmpfs...OK > Checking PROT_EXEC mmap in /dev/shm...OK > Adding 18419712 bytes to physical memory to account for exec-shield gap > Linux version 4.9.25 (root@x86-csail-01) (gcc version 6.3.0 20170516 > (Debian 6.3.0-18) ) #2 Sun May 21 14:29:37 UTC 2017 > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 262474 > Kernel command line: ubd0=/home/rrs/rrs-home/NoTrack/uml.img eth0=daemon > mem=1024M rw root=98:0 > PID hash table entries: 4096 (order: 3, 32768 bytes) > Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) > Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) > Memory: 1017276K/1066564K available (4935K kernel code, 1259K rwdata, > 1356K rodata, 157K init, 232K bss, 49288K reserved, 0K cma-reserved) > SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 > NR_IRQS:15 > clocksource: timer: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, > max_idle_ns: 881590404426 ns > Calibrating delay loop... 5554.99 BogoMIPS (lpj=27774976) > pid_max: default: 32768 minimum: 301 > Security Framework initialized > Yama: disabled by default; enable with sysctl kernel.yama.* > SELinux: Initializing. > AppArmor: AppArmor disabled by boot time parameter > Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) > Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) > Checking that host ptys support output SIGIO...Yes > Checking that host ptys support SIGIO on close...No, enabling workaround > devtmpfs: initialized > Using 2.6 host AIO > clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, > max_idle_ns: 19112604462750000 ns > futex hash table entries: 256 (order: 0, 6144 bytes) > xor: measuring software checksum speed > 8regs : 22088.400 MB/sec > 8regs_prefetch: 20624.000 MB/sec > 32regs : 21229.200 MB/sec > 32regs_prefetch: 20133.200 MB/sec > xor: using function: 8regs (22088.400 MB/sec) > NET: Registered protocol family 16 > raid6: int64x1 gen() 3845 MB/s > raid6: int64x1 xor() 1974 MB/s > raid6: int64x2 gen() 3785 MB/s > raid6: int64x2 xor() 2324 MB/s > raid6: int64x4 gen() 3248 MB/s > raid6: int64x4 xor() 2329 MB/s > raid6: int64x8 gen() 3168 MB/s > raid6: int64x8 xor() 2184 MB/s > raid6: using algorithm int64x1 gen() 3845 MB/s > raid6: .... xor() 1974 MB/s, rmw enabled > raid6: using intx1 recovery algorithm > NetLabel: Initializing > NetLabel: domain hash size = 128 > NetLabel: protocols = UNLABELED CIPSOv4 > NetLabel: unlabeled traffic allowed by default > clocksource: Switched to clocksource timer > VFS: Disk quotas dquot_6.6.0 > VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) > NET: Registered protocol family 2 > TCP established hash table entries: 16384 (order: 5, 131072 bytes) > TCP bind hash table entries: 16384 (order: 5, 131072 bytes) > TCP: Hash tables configured (established 16384 bind 16384) > UDP hash table entries: 1024 (order: 3, 32768 bytes) > UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) > NET: Registered protocol family 1 > console [stderr0] disabled > mconsole (version 2) initialized on /home/rrs/.uml/nyQoY4/mconsole > Checking host MADV_REMOVE support...OK > Mapper v0.1 > mmapper_init - find_iomem failed > audit: initializing netlink subsys (disabled) > audit: type=2000 audit(1500018377.699:1): initialized > workingset: timestamp_bits=46 max_order=18 bucket_order=0 > squashfs: version 4.0 (2009/01/31) Phillip Lougher > JFS: nTxBlock = 7947, nTxLock = 63579 > SGI XFS with ACLs, security attributes, realtime, no debug enabled > Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) > io scheduler noop registered > io scheduler cfq registered (default) > NET: Registered protocol family 17 > Initialized stdio console driver > Console initialized on /dev/tty0 > console [tty0] enabled > Initializing software serial port version 1 > Choosing a random ethernet address for device eth0 > Netdevice 0 (3a:2a:10:4f:08:65) : daemon backend (uml_switch version 3) - > unix:/var/run/uml-utilities/uml_switch.ctl > > console [mc-1] enabled > registered taskstats version 1 > zswap: default zpool zbud not available > zswap: pool creation failed > Btrfs loaded, crc32c=crc32c-generic > EXT4-fs (ubda): couldn't mount as ext3 due to feature incompatibilities > random: fast init done > EXT4-fs (ubda): recovery complete > EXT4-fs (ubda): mounted filesystem with ordered data mode. Opts: (null) > VFS: Mounted root (ext4 filesystem) on device 98:0. > devtmpfs: mounted > This architecture does not have kernel memory protection. > SELinux: Could not open policy file <= > /etc/selinux/targeted/policy/policy.30: > No such file or directory > systemd[1]: Failed to insert module 'autofs4': No such file or directory > systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA > +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ > +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) > systemd[1]: Detected virtualization uml. > systemd[1]: Detected architecture x86-64. > > Welcome to Debian GNU/Linux 9 (stretch)! > > systemd[1]: Set hostname to <uml>. > systemd[1]: Failed to enable kbrequest handling: Inappropriate ioctl for > device > systemd[1]: Created slice User and Session Slice. > [ OK ] Created slice User and Session Slice. > systemd[1]: Listening on Syslog Socket. > [ OK ] Listening on Syslog Socket. > systemd[1]: Started Dispatch Password Requests to Console Directory Watch. > [ OK ] Started Dispatch Password Requests to Console Directory Watch. > systemd[1]: Created slice System Slice. > [ OK ] Created slice System Slice. > systemd[1]: Mounting POSIX Message Queue File System... > Mounting POSIX Message Queue File System... > [ OK ] Created slice system-getty.slice. > [ OK ] Listening on Journal Socket. > [ OK ] Listening on /dev/initctl Compatibility Named Pipe. > [ OK ] Started Forward Password Requests to Wall Directory Watch. > [ OK ] Reached target Paths. > [ OK ] Listening on udev Kernel Socket. > [ OK ] Listening on Journal Socket (/dev/log). > [ OK ] Listening on Network Service Netlink Socket. > [ OK ] Reached target Slices. > [UNSUPP] Starting of Arbitrary Executable File …System Automount Point not > supported. > Starting Load Kernel Modules... > [ OK ] Reached target Encrypted Volumes. > [ OK ] Reached target Swap. > Starting Remount Root and Kernel File Systems... > Starting Create Static Device Nodes in /dev... > [ OK ] Listening on udev Control Socket. > [ OK ] Listening on Journal Audit Socket. > Starting Journal Service... > [ OK ] Mounted POSIX Message Queue File System. > [FAILED] Failed to start Load Kernel Modules. > See 'systemctl status systemd-modules-load.service' for details. > [ OK ] Started Create Static Device Nodes in /dev. > Starting udev Kernel Device Manager... > Starting Apply Kernel Variables... > [ OK ] Started Remount Root and Kernel File Systems. > Starting Load/Save Random Seed... > [ OK ] Reached target Local File Systems (Pre). > Mounting /var/tmp/lxc... > Mounting /lib/modules... > Starting udev Coldplug all Devices... > [ OK ] Started udev Kernel Device Manager. > [ OK ] Started Journal Service. > [ OK ] Started Apply Kernel Variables. > [ OK ] Started Load/Save Random Seed. > [ OK ] Mounted /var/tmp/lxc. > [ OK ] Mounted /lib/modules. > [ OK ] Reached target Local File Systems. > Starting Raise network interfaces... > Starting Flush Journal to Persistent Storage... > Starting Network Service... > systemd-journald[841]: Received request to flush runtime journal from PID 1 > [ OK ] Started Flush Journal to Persistent Storage. > Starting Create Volatile Files and Directories... > [ OK ] Started Create Volatile Files and Directories. > Starting Network Time Synchronization... > Starting Update UTMP about System Boot/Shutdown... > [ OK ] Started Network Service. > [ OK ] Started Update UTMP about System Boot/Shutdown. > [ OK ] Started Network Time Synchronization. > [ OK ] Reached target System Time Synchronized. > [ OK ] Started udev Coldplug all Devices. > [ OK ] Reached target System Initialization. > [ OK ] Started Daily Cleanup of Temporary Directories. > [ OK ] Listening on D-Bus System Message Bus Socket. > [ OK ] Reached target Sockets. > [ OK ] Reached target Basic System. > [ OK ] Started D-Bus System Message Bus. > Starting Login Service... > [ OK ] Started Regular background program processing daemon. > [ OK ] Started Daily apt activities. > [ OK ] Reached target Timers. > Starting System Logging Service... > [ OK ] Started Login Service. > Option "-t" is deprecated and might be removed in a later version of > gnome-terminal. > > Error: Failed to execute child process “port-helper” (No such > file or directory) > > [ OK ] Started Raise network interfaces. > [ OK ] Reached target Network. > [ OK ] Reached target Network is Online. > Starting /etc/rc.local Compatibility... > Starting iSCSI initiator daemon (iscsid)... > [ OK ] Started /etc/rc.local Compatibility. > SCSI subsystem initialized > Loading iSCSI transport class v2.0-870. > [ OK ] Started iSCSI initiator daemon (iscsid). > [ OK ] Reached target Remote File Systems (Pre). > [ OK ] Reached target Remote File Systems. > Starting Permit User Sessions... > [ OK ] Started Permit User Sessions. > [ OK ] Started Getty on tty1. > [ OK ] Reached target Login Prompts. > random: crng init done > > > -- System Information: > Debian Release: buster/sid > APT prefers testing > APT policy: (900, 'testing'), (500, 'unstable'), (100, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.10.17+ (SMP w/4 CPU cores) > Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en > (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages uml-utilities depends on: > ii adduser 3.115 > ii libc6 2.24-12 > ii libfuse2 2.9.7-1 > ii libreadline7 7.0-3 > ii lsb-base 9.20161125 > > uml-utilities recommends no packages. > > Versions of packages uml-utilities suggests: > ii user-mode-linux 4.9-1um-1+b3 > > -- Configuration Files: > /etc/default/uml-utilities changed: > UML_SWITCH_OPTIONS="-tap tap0" > UML_SWITCH_USER="uml-net" > > > -- no debconf information > -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."