[Pkg-uml-pkgs] Bug#849672: uml-utilities: boot up delay

Ritesh Raj Sarraf rrs at debian.org
Thu Dec 29 17:27:42 UTC 2016


Package: uml-utilities
Version: 20070815.1-2+b1
Severity: normal

On my box, systemd reports that uml-utilities is one of the prime
culprits of boot up delay.

          5.623s iio-sensor-proxy.service
          4.899s systemd-tmpfiles-clean.service
          3.683s postfix at -.service
          3.289s uml-utilities.service
          2.804s dnsmasq.service
          2.472s tor at default.service
          1.660s apt-daily.service
          1.263s systemd-resolved.service
           587ms dev-mapper-sdb_crypt.device
           521ms systemd-journald.service
           471ms libvirtd.service
           443ms swap.img.swap
           434ms networking.service
           410ms systemd-fsck at dev-disk-by\x2duuid-07502716\x2da1f8\x2d4cec\x2da605\x2d447e151b
           368ms systemd-fsck at dev-disk-by\x2duuid-2206\x2d0BF2.service
           332ms mnt-3AEC0E87EC0E3E1F.mount
           291ms dev-loop0.device
           220ms loadcpufreq.service
           220ms ModemManager.service
           212ms mcelog.service
           199ms laptop-mode.service
           180ms upower.service
           164ms apport.service


The following code snippet has an explicit sleep, which has to retry for
a max of 5 secs. 

        WAIT=5
        while ! test -e $UML_SWITCH_CTL; do
            sleep 1
            WAIT=$(($WAIT - 1))
            if [ $WAIT -le 0 ]; then
                log_warning_msg "$DAEMON never created control socket $UML_SWITCH_CTL"
                log_end_msg 1
                exit 1
            fi
        done

There must be some reasoning as to why this was done. Perhaps Mattia can
shed some light here.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.15+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (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-8
ii  libfuse2      2.9.7-1
ii  libreadline7  7.0-1
ii  lsb-base      9.20161125

uml-utilities recommends no packages.

Versions of packages uml-utilities suggests:
ii  user-mode-linux  4.8-1um-2

-- Configuration Files:
/etc/default/uml-utilities changed:
UML_SWITCH_OPTIONS="-tap tap0"


-- no debconf information



More information about the Pkg-uml-pkgs mailing list