One quick comment --

I was "forced" (by a client) to install the latest QMT onto a Fedora Core
8 system. As has been noted here before, there is an incompatibility in
the build scripts for simscan and the glibc that FC8 (actually FC7 too)
uses.
(my FC5 uses glibc 2.4, FC7 & 8 use glibc 2.7).

My own investigation turned up that simscanmk.c was calling an open
routine in glibc that in the newer version REQUIRES an explicit mode (set
of permissions). So, I patched the simscanmk.c file and rebuilt (it seems
OK to me so far -- but it has been in service only about 2 weeks now).
NOTE: I did it "brute force" by adding a "0x0644" mode -- the RIGHT way
would be to get the UMASK value from the system and use it to build the
right mode -- but I was in a hurry and my UMASK for regular files was 022
anyway!

I should also note that simscan itself is now at release 1.4 (vs. the 1.3
that the toaster uses). I suspect a main reason for the 1.4 release was
the new fopen requirements in the new glibc! (I'm sure other
"improvements" are included -- but compatibility has to have been a major
"driving force".)

Not sure if this is of any relevance to you (or anyone on the list) -- but
thought it might be worth mentioning. BTW: The line in simscanmk.c is #133
-- just add the 0x0644 to the open call. It's actually irrelevant, as
there is a call to chmod later to explicitly set the permission to 644
anyway!)

I didn't actually create a "patch file" -- I just manually edited the
file, then finished the build.

I hope this helps.... someone!

Dan



-- 

Dan McAllister, President
IT4SOHO, LLC

PLEASE NOTE OUR NEW ADDRESS:
224 - 13th Avenue N
St. Petersburg, FL 33701

All other contact info remains unchanged:
877-IT4SOHO - Toll Free
727-647-7646 - In Pinellas
727-507-9435 - Fax


On Thu, September 4, 2008 11:09 am, Eric Shubert wrote:
> nightduke wrote:
>> qmailctl cdb
>> Usage: Qmail
>> {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}
>
> Which qmailctl are you running? qmail-toaster-1.03-1.3.15 gives:
> # qmailctl
> Usage: /usr/bin/qmailctl
> {start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}
>
>> i do qmail restart but dosen't but i try simscan and do segmentation
>> fault.
>
> simscan is not meant to be run from the CLI.
>
>> Nightduke
>>
>>
>>
>> 2008/9/4 Eric Shubert <[EMAIL PROTECTED]>:
>>> Or, you could have run qtp-newmodel if you had qmailtoaster-plus
>>> installed.
>>> ;) Much safer this way.
>>>
>>> BTW, did you think to:
>>> .) qmailctl cdb, in case simscan needs to know about the new clamav?
>>> .) restart qmail?
>>> These aren't always required, but sometimes they are.
>>>
>>> nightduke wrote:
>>>> Finally i found how to update on centos.
>>>> i download the file from qmail toaster
>>>> rpmbuild --rebuild --with cnt50 clamav-toaster-0.94-1.3.21.src.rpm
>>>> at /usr/src/redhat/RPMS/i386
>>>> rpm -Uvh clamav-toaster-0.94-1.3.21.i386.rpm
>>>> Updated.
>>>>
>>>> Thanks.
>>>>
>>>> Nightduke
>>>>
>>>>
>>>> 2008/9/4 nightduke <[EMAIL PROTECTED]>:
>>>>> How i do the update to the latest version of clamav?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Nightduke
>>>>>
>>>>>
>>>>> 2008/9/4 Erik A. Espinoza <[EMAIL PROTECTED]>:
>>>>>> Greetings,
>>>>>>
>>>>>> A new clamav package has been released and is on qmailtoaster.com
>>>>>> for download.
>>>>>>
>>>>>> Thanks,
>>>>>> Erik
>>>>>>
>>>
>>> --
>>> -Eric 'shubes'
>>>
>>> ---------------------------------------------------------------------
>>>     QmailToaster hosted by: VR Hosted <http://www.vr.org>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> --
> -Eric 'shubes'
>
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to