Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40271 - Bacula doesn't seem to be installed properly.
Summary: Bacula doesn't seem to be installed properly.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 06:56 UTC by Andrew MacKenzie
Modified: 2004-02-11 15:38 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 Andrew MacKenzie 2004-02-03 06:56:03 UTC
The bacula 'console' script is pointing at a file that doesn't exist.  

root@hamlet(0):/etc/bacula > cat console
#!/bin/sh
cd /home/amackenz/new/tmp/portage/bacula-1.29/work/bacula-1.29/src/console
if [ $# = 1 ] ; then
   echo "doing console $1.conf"
   ./console -c $1.conf
else
   ./console
fi
root@hamlet(0):/etc/bacula > ls -Fhla /home/amackenz/new/tmp/portage/bacula-1.29/work/bacula-1.29/src/console
ls: /home/amackenz/new/tmp/portage/bacula-1.29/work/bacula-1.29/src/console: No such file or directory


Reproducible: Always
Steps to Reproduce:
1. emerge bacula
2. /etc/bacula/console
3.

Actual Results:  
/etc/bacula/console: line 2: cd:
/var/tmp/portage/bacula-1.29/work/bacula-1.29/src/console: No such file or directory
/etc/bacula/console: line 7: ./console: No such file or directory
root@hamlet(1):/etc/bacula > find / -name 'console' 2>/dev/null
/usr/src/uml/linux-2.6.1/drivers/video/console
/usr/src/linux-2.6.0/drivers/video/console
/usr/src/linux-2.6.1-gentoo/drivers/video/console
/usr/src/linux-2.6.1/drivers/video/console
/usr/lib/MozillaFirebird/chrome/classic/skin/classic/global/console
/var/run/console
/dev/console
/etc/bacula/console
/lib/dev-state/console
/sys/class/tty/console

Expected Results:  
Console should be run.

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/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 /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="http://hamlet.edespot.com/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/amackenz/new/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib alsa apm arts avi berkdb bonobo cdr crypt cups
dedicated directfb encode esd foomaticdb gd gdbm gif gnome gpg gphoto2 gpm gtk
gtk2 gtkhtml guile imap imlib jpeg kde kerberos ldap libg++ libwww mad mikmod
mmx motif mozilla mpeg mysql nas ncurses nls nvidia oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd
tetex truetype x86 xml2 xmms xv zlib"
Comment 1 Andrew MacKenzie 2004-02-03 06:58:52 UTC
I've downloaded the tarball of the latest bacula, and it looks like 'console' and 'gconsole' (if gnome support is added) are supposed to be in /sbin/.  
Comment 2 Chuck Short (RETIRED) gentoo-dev 2004-02-11 15:38:21 UTC
Fixed in cvs thanks for the bug report.