configuring dnscache with dnscache-setup via the gentoo way the script cannot locate "einfo"
Code: Select all
asgard Domain Controller # dnscache-setup
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/bin/dnscache-setup: line 4: /sbin/functions.sh: No such file or directory
/usr/bin/dnscache-setup: line 9: einfo: command not found
>>> More information on this package can be found at
>>> http://cr.yp.to/djbdns.html and http://djbdns.org
After this script completes, dnscache will be configured.
Your /etc/resolv.conf will be updated so that all DNS
lookups will be directed to dnscache.
Your original /etc/resolv.conf will be backed up to
/etc/resolv.conf.orig.
If you have previously setup dnscache, those directories will
not be overwritten. To redo setup, delete your dnscache
dirs first or choose a different install location.
(press enter to begin setup, or press control-C to abort)
/usr/bin/dnscache-setup: line 31: einfo: command not found
Where do you want dnscache installed?
Ex. Default (/var) will install dnscache in /var/dnscache,
or an external cache in /var/dnscachex.
!!No trailing slash!!
[/var]>
/usr/bin/dnscache-setup: line 54: einfo: command not found
Specify an address to which dnscache should bind.
If this is the only machine accessing dnscache,
127.0.0.1 is a good start.
Currently running IP addresses:
10.123.100.15 10.123.100.16 10.123.100.17 10.123.100.18 127.0.0.1
IP to bind cache to [127.0.0.1]>
Code: Select all
asgard # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X3220_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 04 Aug 2010 16:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r2, 3.1.2-r3
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.1-r1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests candy ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus djbfft dri dts dvd dvdr dvi eds emboss encode evo exif expat faac faad fam fat fbcondecor ffmpeg fftw firefox flac fontconfig fortran fpx fuse gdbm gdu gif git gnome gnome-keyring gnutls gpm graphviz gs gstreamer gtk hal hdri iconv ieee1394 imagemagick injection inotify ipv6 ithreads java jpeg jpeg2k kde lcms ldap libnotify logrotate logwatch lzma lzo mad madwifi mdnsresponder-compat mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp pam pango pcre pdf perl php pic png policykit postgres ppds pppd python qt3support qt4 readline reflection ruby samba sasl sdl session snmp spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion suexec svg swat sysfs syslog tcl tcpd theora threads tiff tk truetype unicode urandom usb v4l v4l2 vorbis x264 xcb xinetd xml xorg xshape xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="udev actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard joystick mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="sis vesa vga fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



