Package: util-vserver
Version: 0.30.216-pre3054-1~bpo70+1
Severity: important

Dear Maintainer,
When trying to install util-vserver from wheezy-backports on Itanium/McKinley
the installation fails with an illegal instruction fault in vserver-info.

gdb vserver-info
(gdb) r
Starting program: /usr/sbin/vserver-info 
Versions:
                   Kernel: 2.6.32-5-vserver-mckinley
                   VS-API: 
Program received signal SIGILL, Illegal instruction.
0x4000000000006512 in ?? ()
(gdb) bt
#0  0x4000000000006512 in ?? ()
#1  0x4000000000002a60 in ?? ()
#2  0x40000000000009d0 in ?? ()
#3  0x4000000000000c30 in ?? ()
#4  0x4000000000001600 in ?? ()
#5  0x4000000000000510 in ?? ()
#6  0x4000000000007f30 in ?? ()
#7  0x4000000000000800 in ?? ()
#8  0x4000000000002a60 in ?? ()
#9  0x0000000000000000 in ?? ()

-- System Information:
Debian Release: 7.11
  APT prefers oldstable
  APT policy: (990, 'oldstable')
Architecture: ia64

Kernel: Linux 2.6.32-5-vserver-mckinley (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages util-vserver depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  iproute                20120521-3+b4
ii  libbeecrypt7           4.2.1-4
ii  libc6.1                2.13-38+deb7u10
ii  make                   3.81-8.2
ii  net-tools              1.60-24.2
ii  util-linux             2.20.1-5.3

Versions of packages util-vserver recommends:
ii  binutils     2.22-8+deb7u2
ii  debootstrap  1.0.48+deb7u4
ii  python       2.7.3-4+deb7u1

Versions of packages util-vserver suggests:
pn  htop                                                     <none>
pn  iotop                                                    <none>
ii  iptables                                                 1.4.14-3.1
ii  linux-image-2.6.32-5-vserver-mckinley [linux-image-2.6]  2.6.32-48squeeze1
ii  module-init-tools                                        9-3
ii  procps                                                   1:3.3.3-3
ii  vlan                                                     1.9-3
ii  wget                                                     1.13.4-3+deb7u2
pn  yum                                                      <none>

-- Configuration Files:
/etc/init.d/util-vserver changed:
DEBIANCONFIG=/etc/default/util-vserver
if [ -f $DEBIANCONFIG ]
then
        . $DEBIANCONFIG
fi
mkdir -p /var/run/vservers
mkdir -p /var/run/vservers.rev
mkdir -p /var/run/vshelper
: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
test -e "$UTIL_VSERVER_VARS" || 
   {
        echo "Can not find util-vserver installation (the file 
'$UTIL_VSERVER_VARS' is expected); aborting..." >&2
        exit 1
   }
. "$UTIL_VSERVER_VARS"
PIDFILE=/var/run/rebootmgr.pid
LOCKFILE=$MARK
vprocunhide_lockfile=/var/run/vprocunhide
export MARK NUMPARALLEL LOCKFILE
TMPLEGACYTEST=$(find /etc/vservers/ -name "*.conf")
if [ -n "$TMPLEGACYTEST" ]
then
    legacy=yes
fi
is_true() {
    if [ "x$1" = "xtrue" -o "x$1" = "xyes" ] ; then
        return 0
    else
        return 1
    fi
}
sortserver(){
        (
        cd $__CONFDIR
        for serv in *.conf
        do
                test -f "$serv" || continue
                PRIORITY=100
                . $serv
                test "$ONBOOT" || continue
                printf "%03d %s\n" $PRIORITY `basename $serv .conf`
        done
        ) | sort $* | (while read a b; do echo $b; done)
}
startservers(){
        cd $__CONFDIR
        for name in `sortserver`
        do
                ONBOOT=
                . $name.conf
                if is_true "$ONBOOT" ; then
                echo "Starting Linux-VServer guests..."
                        $_VSERVER_LEGACY $name start
                else
                        echo "virtual server $name not configured for on boot 
start"
                fi
        done
}
start()
{
    # First set vserver related attributes for /proc, this
    # makes some necessary /proc entries visible in vservers
    if [ -e /proc/self/vinfo ]
    then
        # Check for vc_set_iattr feature, if its not detected, then we are 
probably running a 
        # 2.4 kernel where all of /proc is unhidden by default
        $_VSERVER_INFO - FEATURE iattr
        if [ $? -eq 0 ]
        then
                echo -n "Fixing visibility of /proc entries for Linux-VServer 
guests..."
                $_VPROCUNHIDE
                if [ $? -ne 0 ]
                then
                        echo "Error in setting Linux-VServer related attributes 
for /proc"
                else
                        touch "$vprocunhide_lockfile"
                        echo "done."
                fi
        fi
        # Remove barrier on / if it exists
        if [ -e /proc/self/vinfo ]
        then
                showattr -d / | awk '{print $1'} | grep -q B
                if [ $? -eq 0 ]
                then
                        setattr --~barrier /
                fi
        fi
        # Then set the chroot barrier
        for vserver in `ls /etc/vservers` 
        do 
                vdiractual=`readlink -f /etc/vservers/$vserver/vdir` 
                if [ -d "$vdiractual" ]
                then
                        setattr --barrier $vdiractual/..
                fi
        done
        vrootactual=`readlink -f /etc/vservers/.defaults/vdirbase`
        setattr --barrier $vrootactual $vrootactual/.pkg $vrootactual/.hash
        # Then start up vservers with $MARK if $AUTO is set to start things
        if is_true "$AUTO"
        then
                if is_true "$BACKGROUND"
                then
                        echo "Starting Linux-VServers in background"
                        /usr/lib/util-vserver/vserver-wrapper start  >/dev/tty8 
</dev/tty8 2>/dev/tty8 &
                else
                        /usr/lib/util-vserver/vserver-wrapper start
                fi
        else
                echo "Auto starting of Linux-VServer guests is not enabled in 
$DEBIANCONFIG"
                echo "Please start your Linux-VServer guests manually with 
'vserver <vserver-name> start'"
        fi
    else
           echo -n "Linux-VServer capability not detected in kernel."
    fi
    echo
}
stop()
{
    if [ -e /proc/self/vinfo ]
    then
        if is_true "$AUTO"
        then
                /usr/lib/util-vserver/vserver-wrapper stop;
        fi
        rm -f "$vprocunhide_lockfile"
    else
        echo -n "Linux-VServer capability not detected in kernel."
    fi
}
forcestop()
{
        echo "Stopping all running Linux-VServer guests..."
        for vserver in `vserver-stat | grep -v "CTX   PROC    VSZ    RSS  
userTIME   sysTIME    UPTIME NAME" |grep -v ^0 | awk '{print $8}'`
        do 
                echo -n "Stopping $vserver: "
                vserver $vserver stop 2>&1 >/dev/null
                echo "done."
        done
        # This is broken: /usr/lib/util-vserver/start-vservers --stop --running
}
restart()
{
    stop
    start
}
case "$1" in
    start)
          # First run the legacy starts, if there are any
          if is_true "$legacy" ; then
              if is_true "$BACKGROUND" ; then
                  startservers >/dev/tty8 </dev/tty8 2>/dev/tty8 &
              else
                  startservers
              fi
              touch /var/lock/subsys/vservers-legacy
          fi
          # Then start the modern vservers, if there are any
          start
          # Update rrouting tables
          sh /etc/init.d/routes start
          ;;
    stop)
         # First stop the legacy vservers
         if is_true "$legacy" ; then
             echo "Stopping Vservers"
             cd $__CONFDIR
             for name in `sortserver -r`
             do
               $_VSERVER_LEGACY $name stop
             done
         rm -f /var/lock/subsys/vservers-legacy
         fi
         # Then stop the modern vservers
         stop
         if is_true "$ALWAYS_STOP"
         then
                forcestop
         fi
         ;;
    forcestop)
        stop
        forcestop       
        ;;
    restart)    
            $1
            ;;
    reload)             
            ;;
    status)
        # Do tests for old legacy interface
           if is_true "$legacy" ; then
                cd $__CONFDIR
                for serv in *.conf
                do
                  ONBOOT=no
                  name=`basename $serv .conf`
                  . $serv
                  echo -n ONBOOT=$ONBOOT " "
                  $_VSERVER_LEGACY $name running
                done
           else 
                # Now check for the modern stuff
                APIVER=`vserver-info - APIVER`
                if [ $? -ne 0 ]
                then
                        echo "Linux-VServer enabled kernel not detected"
                else
                        echo "API version detected in kernel: $APIVER" 
                        vserver-stat
                fi
            fi
            ;;
    *)
        echo "Usage: $0 {start|stop|forcestop|reload|restart|status}"
        exit 2
        ;;
esac


-- debconf information:
  util-vserver/prerm_stop_running_vservers: true
  util-vserver/postrm_remove_vserver_configs: false

Reply via email to