[Pkg-xen-devel] Bug#655302: xcp-xapi: init script will slow down boot process

Ritesh Raj Sarraf rrs at debian.org
Tue Jan 10 15:26:37 UTC 2012


Package: xcp-xapi
Version: 1.3-15
Severity: wishlist

The current initscript has the possibility of slowing down the boot process by 50 seconds. If this is required, it probably
should be backgrounded.

# Wait for xapi to write its "init complete" cookie: after here it's safe to modify templates.
wait_for_xapi() {
    MAX_RETRIES=50
    RETRY=0
    while [ ${RETRY} -lt ${MAX_RETRIES} ]; do
        if [ -e ${XAPI_STARTUP_COOKIE} ]; then
            return 0
        fi
        sleep 1
        RETRY=$(( ${RETRY} + 1 ))
    done
    return 1
}



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xcp-xapi depends on:
ii  hwdata                                         0.233-1
ii  libc6                                          2.13-24
ii  libpam0g                                       1.1.3-6
ii  libuuid1                                       2.20.1-1.1
ii  libvhd0                                        2.0.90-1
ii  libxen-4.1                                     4.1.2-2
ii  libxenstore3.0                                 4.1.2-2
ii  python                                         2.7.2-9
ii  python-xenapi                                  1.3-15
ii  stunnel4 [stunnel]                             3:4.50-1
ii  xcp-eliloader                                  0.1-4
ii  xcp-fe                                         0.5.2-3
ii  xcp-squeezed                                   1.3-15
ii  xcp-storage-managers                           0.1.1-2
ii  xcp-v6d                                        1.3-15
ii  xcp-xe                                         1.3-15
ii  xen-hypervisor-4.1-amd64 [xen-hypervisor-4.1]  4.1.2-2
ii  xen-utils-4.1                                  4.1.2-2
ii  zlib1g                                         1:1.2.3.4.dfsg-3

Versions of packages xcp-xapi recommends:
ii  smbfs                2:5.2-1
ii  xcp-guest-templates  0.1-3
ii  xcp-vncterm          0.1-2

xcp-xapi suggests no packages.

-- no debconf information





More information about the Pkg-xen-devel mailing list