retitle 704563 Several issues in lxc-ubuntu template
thanks

Turns out I was incorrect about my initial assessment for the cause of
the bug.  The --include= error was due to selecting Ubuntu (without
selecting systemd in the preseed), not because Packages was left
blank.

In figuring this out and after working around the issue, I have found
several more issues with the lxc-ubuntu template.  If you like, I can
split these issues into separate bug reports.  But, since they seem
related (and mostly minor) I'll list them here for now:

(Cosmetic) The following errors are reported from `Chroot apt-get
update` called at lxc-debconfig:574:

Err http://archive.ubuntu.com raring/updates/main i386 Packages
  404  Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com raring/updates/restricted i386 Packages
  404  Not Found [IP: 2001:67c:1360:8c01::19 80]
Ign http://archive.ubuntu.com raring/updates/main Translation-en
Ign http://archive.ubuntu.com raring/updates/restricted Translation-en
W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/raring/updates/main/binary-i386/Packages 
 404  Not Found [IP: 2001:67c:1360:8c01::19 80]
W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/raring/updates/restricted/binary-i386/Packages
  404  Not Found [IP: 2001:67c:1360:8c01::19 80]
E: Some index files failed to download. They have been ignored, or old ones 
used instead.

Because raring/updates/main doesn't exist.

(Minor) The following errors are reported from `dpkg-reconfigure
base-files` called at lxc-debconfig:243:

debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm 
line 7.)
debconf: falling back to frontend: Teletype

The first because whiptail, dialog, and Xdialog are not installed, the
second because perl-modules (and the full perl package) are not
installed.

(Minor) The following errors are reported from `apt-get install
live-debconfig` called at lxc-debconfig:282:

Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package live-debconfig

Obviously, because live-debconfig doesn't exist in Ubuntu.  I'm not
sure if the code in Warning should also warn for _DISTRIBUTION raring
or if LXC_DEBCONFIG_WITH_LIVE_DEBCONFIG should not be considered for
Ubuntu, or something else.

(Major) Upstart hangs after lxc-start waiting for /run to be mounted.
I'm not sure whether the best solution is to grant CAP_SYS_ADMIN
(which worked for me) or to add/change upstart configuration files to
avoid depending on events which require these capabilities.  Not ideal
in either case.

Thanks,
Kevin


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

Reply via email to