Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43715 - sux doesn't set HOME environment variable
Summary: sux doesn't set HOME environment variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 07:52 UTC by Siegbert Baude
Modified: 2004-03-04 23:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siegbert Baude 2004-03-04 07:52:47 UTC
sux doesn't set the HOME environment variable, which breaks a lot of things or at least produces unwanted warnings.

Reproducible: Always
Steps to Reproduce:
1. emerge sux
2. sux
3. echo $HOME

Actual Results:  
$ sux
Password:
bash-2.05b# echo $HOME

bash-2.05b#

Expected Results:  
Set  HOME=/root

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS=" ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.sdv.fr
http://gentoo.tiscali.nl/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/overlay"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="X alsa apache2 apm arts avi cdr crypt cscope cups directfb dvd dvdr encode
esd fbcon flac gif gpm icq imagemagick imap imlib java joysticks jpeg kde
linguas_de lirc maildir mmx mozilla mpeg ncurses nls nocd nptl oggvorbis opengl
pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell
sse ssl svga tcpd tetex tiff truetype usb video_cards_matrox videos wmf x86 xml2
xmms xv zlib"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-03-04 23:31:03 UTC
This was already fixed in december, but -r1 wasn't marked stable until now. Thanks for the hint and sorry for any inconvenience.