store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Fri May 24, 2013 4:51 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 8 posts ] 
Author Message
 Post subject: sanesecurity+clamac+freshclam disaster and how to fix
Unread postPosted: Tue Jan 27, 2009 6:43 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
Something seems to have gone very badly wrong with the sanesecurity updates.

All our servers got 0Kb updates overnight for the sanesecurity sigs.

Unfortunately clamav doesn't like 0Kb files, and would not start. Psmon therefore went nuts and sent out a few 10000 emails to me from each system.

Anyway, if you are affected in a similar way, go to /var/clamav and delete all 0Kb files then restart clamd and all will be well.

We need a way to check the updates aren't 0Kb in future though. We can't have this happening again. I'll raise a case in the upport portal as this is ASL related I guess.

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 6:48 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
OK, I've just checked and there IS a 0Kb test in the update script:

Code:
  # If file is not 0 size, apply it
  test -s $file     && \
        zcat $file > $new && \
        rm -f $file && \
        clamscan --quiet -d $new - < /dev/null


So something else must have happened....I wonder what?

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 10:04 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
what version are you running? that one might not have the exception in it


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 12:10 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
I'm using the 0.94.2-2.el4.art version

I know there's the 2-3 but I thought it was just the minor bugfix we talked about a couple of days ago so didn't install it.

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 1:06 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
That'll teach ya


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 2:22 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
Soooo.., what you mean is that the -3 update would have handled things OK, for sure?

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 4:29 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
yeah, it has better exception code in it


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 27, 2009 6:14 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
We are talking about better exception code in the binary, not in the updater, right? The updater hasn't actually changed as far as I can see.

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 8 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group