webOS Nation Forums >  Homebrew >  WebOS Internals > Bug Report for Chroot Debian/Ubuntu
Bug Report for Chroot Debian/Ubuntu

  Reply
 
LinkBack Thread Tools Display Modes
Old 08/30/2011, 06:43 PM   #1 (permalink)
Member
 
Join Date: Aug 2011
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bug Report for Chroot Debian/Ubuntu

Hrm.. Where do I go to submit bug reports for Chroot Debian/Ubuntu?

Package unison-gtk is throwing an error in both Debian and Ubuntu and does not start...

"Fatal Error: exception Util.Fatal("Environment variable HOME not found")

This can be fixed by setting the HOME environment variable.. I've done this manually, but I'd think this should be done automatically by the Chroot Debian/Ubuntu, right?
Sidicas is offline   Reply With Quote
Old 10/07/2011, 10:10 PM   #2 (permalink)
Member
 
alex80386's Avatar
 
Join Date: Sep 2011
Location: New Zealand
Posts: 127
Likes Received: 5
Thanks: 6
Thanked 24 Times in 17 Posts
Default

I'd also like to know the proper way to submit bug reports for Debian /Ubuntu Chroot and Xserver/Xterm.

Regrading the missing $HOME - perhaps it is already fixed, but are you trying to run the application as the original root user that started chroot, or the root user in debian/ubuntu or another user (e.g. the 'webos' user in debian chroot)?

The original user that starts debian 6.0.2 chroot runs:

chroot /media/ext3fs/debian-squeeze-chroot /bin/bash

But perhaps this is not a true login to debian (dosen't execute /bin/login?), just a shell, so 'echo $HOME' isn't going to find the value defined from debian chroot /etc/passwd ... however if you use 'su' command it returns the $HOME variable.

For example, if we start the debian chroot (6.0.2-6), then check $HOME.

/# echo $HOME

/# su -
~# echo $HOME
/root

The same is true for other environment variables.

/# echo $LANG

/# su -
~# echo $LANG
en_NZ.UTF-8

Obviously you need to have run "apt-get install locales" and setup locales to get the last one.

Last edited by alex80386; 10/07/2011 at 10:33 PM.
alex80386 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0