Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70251 - idmapd initscript: "/var/lib/rpc_pipes" directory is not created
Summary: idmapd initscript: "/var/lib/rpc_pipes" directory is not created
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-06 05:01 UTC by Alexander Skwar
Modified: 2004-11-07 21:09 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 Alexander Skwar 2004-11-06 05:01:31 UTC
When I start idmapd with the initscript at /etc/init.d/idmapd, the daemon doesn't start.

This is with net-fs/idmapd-1.5

Reproducible: Always
Steps to Reproduce:
1. emerge net-fs/idmapd-1.5
2. /etc/init.d/idmapd start


Actual Results:  
The daemon silently fails to startup: 
 
[13:58:47 alexander@server:/etc/init.d] $ sudo /etc/init.d/idmapd start 
 * Starting idmapd ...                                                                            
[ ok ] 
[13:59:04 alexander@server:/etc/init.d] $ ps awux | grep -i idm 
1000     25331  0.0  0.1   2696   772 pts/4    S+   13:59   0:00 grep -i idm 

Expected Results:  
The daemon should be up. 
 
The daemon doesn't come up, because the directory /var/lib/rpc_pipes doesn't 
exist. In /etc/init.d/idmapd, the directory should get created, as there are 
already some safety checks which might create the directory on pre-2.6 kernels. 

[13:56:24 alexander@server:/etc/init.d] $ emerge info 
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041102-r0, 
2.6.9-ck2ASN_20041106_03.no-devfs i686) 
================================================================= 
System uname: 2.6.9-ck2ASN_20041106_03.no-devfs i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.6.5 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r6 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache collision-protect distlocks sandbox" 
GENTOO_MIRRORS="http://localhost/~alexander/gentoo-files/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://194.117.158.29" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowex X aalib acl alsa apache2 apm arts artswrappersuid async avi 
bluetooth bzlib cairo calendar cddb cdparanoia cdr cdrom codecs crypt cscope 
cups curl curlwrappers dga diet directfb divx4linux djbfft encode esd ethereal 
evo exif fam fbcon fbdev ffmpeg fftw flac flash foomaticdb foreign-package 
foreign-sysvinit ftp fwdzone gd gdbm gif gimp gimpprint gnokii gnome gphoto2 
gpm gstreamer gtk gtk2 guile hal iconv imagemagick imap imlib immqt-bc java 
javascript jpeg kde libedit libg++ libwww lzo lzw lzw-tiff mad maildir 
mailwrapper matroska matrox mbox mmap mmx mng mozilla mpeg ncurses network nls 
noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch 
nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly 
offensive ofx oggvorbis opengl oss pam parse-clocks pcntl pcre pdflib perl pic 
pie png posix ppds python qt quicktime quotes readline recode samba sasl sdl 
shared slang sockets spell sse ssl svg sysvipc tcltk tcpd tetex theora tiff 
truetype unicode usb videos vim-with-x wmf x86 xchattext xfs xml2 xmms xv xvid 
zlib video_cards_matrox linguas_de"
Comment 1 SpanKY gentoo-dev 2004-11-07 21:09:32 UTC
moved directory creation to the top of the start() function