[Bug 789127] Re: debootstrap hangup and restarts X

Gilles DOFFE 789127 at bugs.launchpad.net
Wed Dec 7 17:01:50 UTC 2011


Bug is always present in Oneiric.

I have investigated and found that changing the tty and come back to the tty running X avoid the problem.
I noticed then that when debootstrap hangs, X restart on the next available tty.

As a workaround I need to do before calling debootstrap command :
$ actualvt=$(fgconsole)
$ chvt `fgconsole --next-available` && chvt ${actualvt}

After this, previously mentionned debootstrap command works perfectly :
$ sudo debootstrap --include=ubuntu-desktop,linux-generic --components=main,restricted,universe,multiverse natty natty_i386

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/789127

Title:
  debootstrap hangup and restarts X

Status in “debootstrap” package in Ubuntu:
  New

Bug description:
  Binary package hint: debootstrap

  when launching the following command, debootstrap hangup and X restarts, falling back to the login screen :
  $ sudo debootstrap --include=ubuntu-desktop,linux-generic --components=main,restricted,universe,multiverse natty natty_i386

  In attachment, the debootstrap.log.

  Here the ubuntu-bug command result :
  ProblemType: Bug
  Architecture: i386
  Date: Fri May 27 14:34:47 2011
  Dependencies:
   coreutils 8.5-1ubuntu6
   debconf 1.5.36ubuntu4
   debconf-i18n 1.5.36ubuntu4
   dpkg 1.16.0~ubuntu7
   gcc-4.5-base 4.5.2-8ubuntu4
   libacl1 2.2.49-4ubuntu2
   libattr1 1:2.4.44-2ubuntu3
   libbz2-1.0 1.0.5-6ubuntu1
   libc-bin 2.13-0ubuntu13
   libc6 2.13-0ubuntu13
   libgcc1 1:4.5.2-8ubuntu4
   liblocale-gettext-perl 1.05-6
   liblzma2 5.0.0-2
   libselinux1 2.0.96-1ubuntu2
   libssl0.9.8 0.9.8o-5ubuntu1
   libtext-charwidth-perl 0.04-6
   libtext-iconv-perl 1.7-2
   libtext-wrapi18n-perl 0.06-7
   multiarch-support 2.13-0ubuntu13
   perl-base 5.10.1-17ubuntu4.1
   tzdata 2011g-0ubuntu0.11.04
   wget 1.12-2.1ubuntu2
   xz-utils 5.0.0-2
   zlib1g 1:1.2.3.4.dfsg-3ubuntu3
  DistroRelease: Ubuntu 11.04
  ExecutablePath: /usr/sbin/debootstrap
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  InterpreterPath: /bin/dash
  Package: debootstrap 1.0.29ubuntu1
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   LANGUAGE=fr_FR:en
   SHELL=/bin/bash
  ProcMaps:
   00523000-0067d000 r-xp 00000000 08:01 134344     /lib/i386-linux-gnu/libc-2.13.so
   0067d000-0067e000 ---p 0015a000 08:01 134344     /lib/i386-linux-gnu/libc-2.13.so
   0067e000-00680000 r--p 0015a000 08:01 134344     /lib/i386-linux-gnu/libc-2.13.so
   00680000-00681000 rw-p 0015c000 08:01 134344     /lib/i386-linux-gnu/libc-2.13.so
   00681000-00684000 rw-p 00000000 00:00 0 
   00ba0000-00bbc000 r-xp 00000000 08:01 139457     /lib/i386-linux-gnu/ld-2.13.so
   00bbc000-00bbd000 r--p 0001b000 08:01 139457     /lib/i386-linux-gnu/ld-2.13.so
   00bbd000-00bbe000 rw-p 0001c000 08:01 139457     /lib/i386-linux-gnu/ld-2.13.so
   08048000-0805c000 r-xp 00000000 08:01 917628     /bin/dash
   0805c000-0805d000 r--p 00013000 08:01 917628     /bin/dash
   0805d000-0805e000 rw-p 00014000 08:01 917628     /bin/dash
   0805e000-08060000 rw-p 00000000 00:00 0 
   09904000-09948000 rw-p 00000000 00:00 0          [heap]
   b7811000-b7812000 rw-p 00000000 00:00 0 
   b782d000-b782f000 rw-p 00000000 00:00 0 
   bf7fc000-bf81d000 rw-p 00000000 00:00 0          [stack]
  ProcStatus:
   Name:	debootstrap
   State:	S (sleeping)
   Tgid:	11665
   Pid:	11665
   PPid:	11664
   TracerPid:	0
   Uid:	0	0	0	0
   Gid:	0	0	0	0
   FDSize:	32
   Groups:	0 99 102 
   VmPeak:	    2048 kB
   VmSize:	    2048 kB
   VmLck:	       0 kB
   VmHWM:	     804 kB
   VmRSS:	     804 kB
   VmData:	     304 kB
   VmStk:	     136 kB
   VmExe:	      80 kB
   VmLib:	    1496 kB
   VmPTE:	      24 kB
   VmSwap:	       0 kB
   Threads:	1
   SigQ:	3/16382
   SigPnd:	0000000000000000
   ShdPnd:	0000000000000000
   SigBlk:	0000000000000000
   SigIgn:	0000000000000000
   SigCgt:	0000000000004007
   CapInh:	0000000000000000
   CapPrm:	ffffffffffffffff
   CapEff:	ffffffffffffffff
   CapBnd:	ffffffffffffffff
   Cpus_allowed:	1
   Cpus_allowed_list:	0
   Mems_allowed:	1
   Mems_allowed_list:	0
   voluntary_ctxt_switches:	384
   nonvoluntary_ctxt_switches:	146
  ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
  SourcePackage: debootstrap
  Tags:  natty unity-2d
  Uname: Linux 2.6.38-9-generic i686
  UpgradeStatus: Upgraded to natty on 2011-05-02 (25 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/789127/+subscriptions




More information about the foundations-bugs mailing list