Package: lxc
Version: 0.7.3-1
Severity: normal

Hi,

I just finished a run using lxc-fedora. It concluded with the
following messages. I'm not sure what they mean, and haven't
investigated yet, but it doesn't look good. I'm putting them in a bug
report, because I think a properly set up script should not produce
such alarming messages.

I just ran the command

#lxc-fedora --path=/lxc/laughlin

where /lxc/laughlin is a filesystem (to be precise, a LVM logical
volume on top of software raid, but that should not matter).

Some of this looks like it is trying to do Debian stuff with Fedora.
Eg the line

line 39: /lxc/laughlin/rootfs/etc/network/interfaces: No such file or
directory

probably comes from

  # configure the network using the dhcp
      cat <<EOF > $rootfs/etc/network/interfaces
      
I don't think Fedora uses /etc/network/interfaces.

Similarly 'locale-gen' 'update-locale' and '/usr/sbin/update-rc.d' may
well be Debian-specific.

I did change the default fedora 10 to 14 (laughlin). That is the only
change I made to the script.

Also, I installed the version of lxc currently in unstable on squeeze.

                                                      Regards, Faheem

Complete!
Download complete.
Copy /var/cache/lxc/fedora/rootfs-i686 to /lxc/laughlin/rootfs ... 
Copying rootfs to /lxc/laughlin/rootfs .../usr/local/bin/lxc-fedora:
line 39: /lxc/laughlin/rootfs/etc/network/interfaces: No such file or directory
/usr/local/bin/lxc-fedora: line 85:
/lxc/laughlin/rootfs/lib/init/fstab: No such file or directory
chroot: failed to run command locale-gen': No such file or directory
chroot: failed to run command update-locale': No such file or directory
chroot: failed to run command /usr/sbin/update-rc.d': No such file or directory
ls: cannot access u*.conf: No such file or directory
ls: cannot access tty[2-9].conf: No such file or directory
ls: cannot access hwclock*.conf: No such file or directory
ls: cannot access module*.conf: No such file or directory
Please change root-password !

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-vserver-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lxc depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  libcap2-bin                   1:2.19-3   basic utility programs for using c

lxc suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to