Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76337

Summary: sys-apps/smartmontools x86 references but does not include smartd.conf.example
Product: Gentoo Linux Reporter: Daniel Holth <dholth>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Holth 2005-01-01 12:45:52 UTC
/etc/init.d/smartd says
                eerror "You should setup your /etc/smartd.conf file!"
                eerror "See sample conf: /etc/smartd.conf.example"

but does not include /etc/smartd.conf*

Reproducible: Always
Steps to Reproduce:
1. emerge package
2. start smartd
3. receive bewildering complaint asking you to refer to a missing file

Actual Results:  
couldn't find example config file

Expected Results:  
include file (in x86) or stop referring to it.

Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(TM) XP 1600+
Gentoo Base System version 1.5.3
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.10-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/NX/etc /usr/kde/2/share/config
/usr/kde/3.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/X11/xkb
/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 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main
/usr/local/overlays/deltup"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bitmap-fonts blender-game
bluetooth bonobo c cairo caps cdr crypt cups dvd encode esd f77 flac foomaticdb
fortran gcj gdbm gif gimp gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml guile
imlib ipv6 jabber jack java javascript jikes joystick jpeg kde ldap libg++
libwww mad mikmod mmx mng motif mozilla mozsvg mpeg ncurses network nls nptl
objc ofx oggvorbis opengl oss pam pda pdflib perl pic png postgres ppds python
qt quicktime readline ruby sdl slang snmp speex spell sse ssl svg tcltk tcpd
tetex theora threads tiff truetype usb v4l v4l2 x86 xinerama xml2 xmms xprint xv
zlib zvbi"
Comment 1 Daniel Holth 2005-01-01 12:54:28 UTC
checked latest ~x86 version ; latest version writes smartd.conf.example as smartd.conf, still refers to non-existing smartd.conf.example in init script.
Comment 2 SpanKY gentoo-dev 2005-01-03 12:02:19 UTC
fixed in 5.33