Package: linux-container
Version: 1-1
Severity: important

Reconfiguring a container from any cwd except / causes an error.

To reproduce:

  1. Log in to a container
  2. cd /tmp (or any dir besides /)
  3. dpkg-reconfigure linux-container

Result:

  : Updating file /etc/default/linux-container... done.
  /var/lib/dpkg/info/linux-container.postinst: 377: 
.//usr/share/linux-container/scripts/debian-squeeze/ifupdown_607713.sh: not 
found


To work around:

  1. Log in to container
  2. cd /
  3. dpkg-reconfigure linux-container

Result (as expected):

  P: Updating file /etc/default/linux-container... done.
  P: Updating file /etc/inittab...P: Disabling feature selinux... done.
  P: Creating file /etc/hosts... done.
  P: Creating file /etc/network/interfaces... done.
  P: Creating file /etc/resolv.conf... done.
  P: Creating file /etc/hostname... done.
  P: Disabling service checkroot.sh... done.
  P: Disabling service umountfs... done.
  P: Disabling service umountroot... done.
  P: Disabling service hwclock.sh... done.
  P: Disabling service hwclockfirst.sh... done.
  root@:/#

 
This also affects manual installs of the package, e.g. if running 'dpkg
-i linux-container.deb' from a cwd other than /.



-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.1+2011113003-luciddg (SMP w/24 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-container depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy

linux-container recommends no packages.

linux-container suggests no packages.

-- debconf information excluded

 

Reply via email to