Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42936 - sshd cries for "/var/empty" directory after emerge -U world
Summary: sshd cries for "/var/empty" directory after emerge -U world
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 16:13 UTC by Lari Korpi
Modified: 2004-03-18 03:07 UTC (History)
1 user (show)

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 Lari Korpi 2004-02-25 16:13:09 UTC
After updateing openssh I couldn't get sshd to start with out doing 
"mkdir /var/empty" (I did as root and did not temper with chmod after). So It's not a show stopper, but a clitch in system.

I don't remember what was the version of the openssh before update, but now it's naturaly 3.7.1_p2-r2

Reproducible: Didn't try
Steps to Reproduce:
1. # emerge -U world
2. # /etc/init.d/sshd restart
3.

Actual Results:  
Following error message:
Missing privilege separation directory: /var/empty

Expected Results:  
sshd should start just fine.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) MP 2200+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/ http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X apache2 apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad mbox mikmod motif
mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl sendmail slang snmp spell ssl svga tcltk tcpd truetype
x86 xml xml2 xmms xv zlib"
Comment 1 Nicolas ANTONIAZZI 2004-02-28 11:21:03 UTC
I had the same problem.

It has been resolved when I emerged openssh version 3.8_p1
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-18 03:07:11 UTC
Added check for /var/empty to initscript. Soon in CVS, thanks!