Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254100 - app-forensics/rkhunter-1.3.4 refuses to run
Summary: app-forensics/rkhunter-1.3.4 refuses to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 13:53 UTC by gapon
Modified: 2011-10-27 14:21 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rkhunter.cron.patch (rkhunter.cron.patch,1.00 KB, patch)
2009-01-08 14:56 UTC, Christian Ruppert (idl0r)
Details | Diff
rkhunter.conf.patch (rkhunter.conf.patch,786 bytes, patch)
2009-01-08 14:57 UTC, Christian Ruppert (idl0r)
Details | Diff
rkhunter-ppc64.patch (rkhunter-ppc64.patch,353 bytes, patch)
2009-01-08 14:57 UTC, Christian Ruppert (idl0r)
Details | Diff
rkhunter-1.3.4.ebuild.patch (rkhunter-1.3.4.ebuild.patch,2.90 KB, patch)
2009-01-08 14:59 UTC, Christian Ruppert (idl0r)
Details | Diff
rkhunter.cron.patch (rkhunter.cron.patch,1.27 KB, patch)
2009-01-14 22:18 UTC, Christian Ruppert (idl0r)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gapon 2009-01-07 13:53:04 UTC
After updating to rkhunter 1.3.4, I get:

cattie ~ # rkhunter -c
Invalid INSTALLDIR configuration option - no installation directory specified.

The previous version worked fine.


Reproducible: Always




cattie ~ # emerge --info
Portage 2.2_rc15 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Genuine_Intel-R-_CPU_T2600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Wed, 07 Jan 2009 00:00:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://gentoo.inode.at/ ftp://213.186.33.38/gentoo-distfiles/ http://gentoo.inf.elte.hu/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bzr-gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa apache2 aspnet aspnetedit avi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dbus directfb divx4linux dri dvd dvdr dvdread eds emboss encode evo examples exif faad fam fbcon ffmpeg firebird firefox firefox3 fortran ftp gdbm gif git gnutls gpm groovy gstreamer gtk gtk2 hal http iconv imap inotify ipod ipv6 isdnlog jabber java java5 java6 jpeg jpeg2k jython kde kdeenablefinal laptop ldap libnotify logitech-mouse logrotate mad midi mikmod mmx mmx2 mng mono moonlight mp3 mpeg mplayer mudflap mysql ncurses networkmanager nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pch pcmcia pcre pdf perl png pnp postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl seamonkey session smp spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg swig sysfs tcpd theora tiff truetype unicode usb utf8 vim vim-syntax vorbis webkit wifi win32codecs wireshark x264 x86 xcb xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel" 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="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" CAMERAS="ptp2 canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nvidia nv vga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Graham Murray 2009-01-07 15:35:03 UTC
And if you manually add 'INSTALLDIR=/usr' it then complains about a missing '/usr/lib/rkhunter/tmp'. If you create that, then it complains about missing internationalisation directory '/usr/lib/rkhunter/db/i18n'. Creating this directory does not help, as it then complains about missing language files.

So overall, I think that this ebuild is rather broken.

Comment 2 Patrick Lauer gentoo-dev 2009-01-07 18:54:40 UTC
As the Changelog says - 
Bump to 1.3.4. Might need some more love.


I'll have a look.
Comment 3 Juergen Rose 2009-01-08 08:54:37 UTC
The same here
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2009-01-08 14:56:22 UTC
Created attachment 177754 [details, diff]
rkhunter.cron.patch

fixed RKHUNTER_EXEC for new location in my ebuild patch.
--report-mode is obsolete/invalid.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2009-01-08 14:57:04 UTC
Created attachment 177755 [details, diff]
rkhunter.conf.patch
Comment 6 Christian Ruppert (idl0r) gentoo-dev 2009-01-08 14:57:28 UTC
Created attachment 177757 [details, diff]
rkhunter-ppc64.patch
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2009-01-08 14:59:37 UTC
Created attachment 177759 [details, diff]
rkhunter-1.3.4.ebuild.patch

small summary:
changed to EAPI 2.
removed sed and use patch instead.
elog -> einfo ( i think it is not necessary to log these message.)
a bit cleanup.

so please test :D
Comment 8 Sebastian Günther 2009-01-11 17:51:08 UTC
Tested and everything runs fine.
Comment 9 Christian Ruppert (idl0r) gentoo-dev 2009-01-14 22:18:23 UTC
Created attachment 178527 [details, diff]
rkhunter.cron.patch
Comment 10 Patrick Lauer gentoo-dev 2009-01-17 20:57:11 UTC
+*rkhunter-1.3.4-r1 (17 Jan 2009)                                                                                                         
+                                                                                                                                         
+  17 Jan 2009; Patrick Lauer <patrick@gentoo.org>                                                                                        
+  +files/rkhunter.conf.patch, +files/rkhunter.cron.patch,                                                                                
+  +files/rkhunter-ppc64.patch, +rkhunter-1.3.4-r1.ebuild:                                                                                
+  Fixed 1.3.4-r1 ebuild. Fixes bug #254100 and thanks to Christian Ruppert                                                               
+  <spooky85@gmail.com> for the patches

Thanks!