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

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 2 posts ] 
Author Message
 Post subject: qmail-scanner "Can't do setuid (cannot exec sperl)"
Unread postPosted: Fri May 09, 2008 11:49 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
Ok, this is interesting.

I've just created a new VPS (Centos 4) and went about installing qmail-scanner/dcc/spamassassin/pyzor/razor/etc as usual from the atomic repo.

********
Installed: clamd.i386 0:0.92.1-1.el4.art dcc.i386 0:1.3.82-1.el4.art pyzor.noarch 0:0.4.0-11.el4.art razor-agents.i386 0:2.84-1.el4.art spamassassin.i386 1:3.2.4-1.el4.art
Dependency Installed: clamav.i386 0:0.92.1-1.el4.art clamav-db.i386 0:0.92.1-1.el4.art
Complete!
********

But when it came to installing qmail-scanner, to my surprise I got this:

*************
Running Transaction
Installing: qmail-scanner ######################### [1/1]
Can't do setuid (cannot exec sperl)
Can't do setuid (cannot exec sperl)

Installed: qmail-scanner.noarch 1:2.02-1.el4.art
Complete!
**************

Basically the sperl issue happens when qmail-scanner-reconfigure gets run

perl-suidperl is installed and I've tried symlinking the versioned file to a non-versioned file (sperl to sperl8.8.5)

But no matter what I do, I keep getting this error.

It isn't selinux. This is a Virtuozzo VPS, and selinux doesn't work in them. It is disabled in the config file anyway.

The only difference between this VPS and any other one I've set up is the fact that this one has Plesk 8.4.0 in it. But I can't see how that would cause problems with qmail-scanner-reconfigure

Any ideas anybody?

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: Fri May 09, 2008 12:08 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
Aha! Problem solved.

It was the version of perl-suidperl that was different.

On this particular VPS I had not enabled the centosplus repo, which has more up to date versions of Perl and perl-suidperl

With that repo enabled, and updating those (perl-Apache-ASP had to be removed first -- no loss!!!), all was well.

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  [ 2 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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