Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84180 - Emerging qmail-scanner gives an access violation report: open_wr: /usr/opt/bdc/plugins.htm
Summary: Emerging qmail-scanner gives an access violation report: open_wr: /usr/opt/...
Status: RESOLVED DUPLICATE of bug 81103
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 04:56 UTC by Jeroen Asselman
Modified: 2005-06-05 07:18 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 Jeroen Asselman 2005-03-05 04:56:04 UTC
On emerging qmail-scanner I get an access violation report. The complete output of the merge is below:

>>> emerge (17 of 46) mail-filter/qmail-scanner-1.25 to /
>>> md5 src_uri ;-) qmail-scanner-1.25.tgz
>>> md5 src_uri ;-) q-s-1.25st-20050207.patch.gz
>>> Unpacking source...
>>> Unpacking qmail-scanner-1.25.tgz to /var/tmp/portage/qmail-scanner-1.25/work
>>> Unpacking q-s-1.25st-20050207.patch.gz to /var/tmp/portage/qmail-scanner-1.25/work
 * Applying q-s-1.25st-20050207.patch.gz ...                                                                 [ ok ]
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed autoupdaters/update_avp
 *  - fixed autoupdaters/update_fprot
 *  - fixed autoupdaters/update_sophos
 *  - fixed autoupdaters/update_trend
 *  - fixed configure
 * Adding items to the SILENT_VIRUSES list (bagle,beagle,mydoom,sco,maldal,mimail,novarg,shimg,bugler,cissi,cissy,dloade,netsky,qizy)
>>> Source unpacked.

Building Qmail-Scanner 1.25st...

This script will search your system for the virus scanners it knows
about, and will ensure that all external programs
qmail-scanner-queue.pl uses are explicitly pathed for performance
reasons.


It will then generate qmail-scanner-queue.pl - it is up to you to install it
correctly.

Searching ........*** glibc detected *** double free or corruption (fasttop): 0x080584a8 ***

Something like spamc for SpamAssassin detected - but not correctly installed
(didn't include a "X-Spam-Status" line in output).
Please read Q-S FAQ if you want it - especially check that spamd daemon
is running. Ignoring...

..............................
==============================================================
The following binaries and scanners were found on your system:
==============================================================


mimeunpacker=/usr/bin/ripmime

Content/Virus Scanners installed on your System

clamdscan=/usr/bin/clamdscan (which means clamscan won't be used as clamdscan is better)
fprot=/usr/bin/f-prot
bitdefender=/usr/bin/bdc

Qmail-Scanner details.

log-details=mailstats.csv
log-crypto=0
fix-mime=2
ignore-eol-check=0
debug=0
notify=psender,nmlvadm
redundant-scanning=yes
block-password-protected=0
virus-admin=root@localhost
local-domains='localhost'
silent-viruses='klez','bugbear','hybris','yaha','braid','nimda','tanatos','sobig','winevar','palyh','fizzer','gibe','cailont','lovelorn','swen','dumaru','sober','hawawi','hawaii','holar-i','mimail','poffer','bagle','worm.galil','mydoom','worm.sco','tanx','novarg','\@mm','cissy','cissi','qizy','bugler','dloade','netsky','spam','bagle','beagle','mydoom','sco','maldal','mimail','novarg','shimg','bugler','cissi','cissy','dloade','netsky','qizy'
scanners="clamdscan_scanner","fprot_scanner","bitdefender_scanner"

-------------------------------------
st: configuration options for  1.25st
-------------------------------------
admin-fromname='System Anti-Virus Administrator'
minidebug=1
scanners-per-domain=0
dscr-hdrs-text='X-Qmail-Scanner'

If that looks correct, I will now generate qmail-scanner-queue.pl
for your system...

Finished. Please read README(.html) and then go over the script to
check paths/etc, and then install as you see fit.

Remember to copy quarantine-attachments.txt to /var/spool/qmailscan and then
run "qmail-scanner-queue.pl -g" to generate DB version.



              ****** FINAL TEST ******

Please log into an unpriviledged account and run 
/var/qmail/bin/qmail-scanner-queue.pl -g

If you see the error "Can't do setuid", or "Permission denied", then  
refer to the FAQ.

(e.g.  "setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -g")


That's it! To report success:

   % (echo 'First M. Last'; cat SYSDEF)|mail jhaar-s4vstats@crom.trimble.co.nz
Replace First M. Last with your name.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-mail-filter_-_qmail-scanner-1.25-22772.log"

open_wr:   /usr/opt/bdc/plugins.htm
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1. emerge -uv qmail-scanner

Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-mail-filter_-_qmail-scanner-1.25-22772.log"

open_wr:   /usr/opt/bdc/plugins.htm
--------------------------------------------------------------------------------


Expected Results:  
Emerge succesfull
Comment 1 Jeroen Asselman 2005-04-21 05:22:59 UTC
Problem is still there with qmail-scanner-1.25-r1
Comment 2 Jory A. Pratt 2005-06-04 21:16:14 UTC
please provide emerge info if you would like to know what your problem is.
Comment 3 Jeroen Asselman 2005-06-05 02:25:02 UTC
# emerge info 
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.10-mm1y i686)
=================================================================
System uname: 2.6.10-mm1y i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.12
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/run/dspam /var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acpi alsa apache2 apm avi berkdb bitmap-fonts cdr
crypt cscope cups curl dba directfb dvd dvdread eds emboss encode fam firefox
flac foomaticdb gd gdbm gif gnome gstreamer gtk gtk2 guile howl imagemagick imap
imlib ipv6 jack jpeg jpg ldap libg++ libwww mad maildrop mikmod mmx mono mozilla
mp3 mpeg mpeg4 ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png
postgres python qmail quicktime readline samba sdl server session slang speex
spell sqlite ssl tcltk tcpd tetex theora threads tiff truetype truetype-fonts
type1-fonts vhosts vidix virtual-users vorbis xine xinerama xml xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 4 Jory A. Pratt 2005-06-05 07:18:47 UTC

*** This bug has been marked as a duplicate of 81103 ***