What happens when you don't do SUID PERL

Started by LogicX, August 11, 2004, 08:32:23 AM

Previous topic - Next topic

LogicX

This is just a FYI Post. I was dumb; some port tried to install perl 5.6.1 -- it mostly succeeded; so I had to reinstall perl5.8 -- yea, didn't do it with SUID.

Here's the bad stuff that happens:

root:tract|10:22:45am|/var/log/mail/smtp: cat @40000000411a266c14a7123c.s
@40000000411a25441edb3d14 rm: /var/spool/qmailscan/tmp/tract.imcc.ca109223250647918495/: Permission denied
@40000000411a25441edf389c rm: /var/spool/qmailscan/working/new/tract.imcc.ca109223250647918495: Permission denied


/var/log/maillog:
Aug 11 00:11:21 tract X-Qmail-Scanner-1.22: [tract.imcc.ca109219748147971235] cannot open /var/spool/qmailscan/qmail-scanner-queue-version.txt - did you initialise the system by running "qmail-scanner-queue.pl -z"? - Permission denied
Aug 11 00:11:27 tract X-Qmail-Scanner-1.22: [tract.imcc.ca109219748747973575] cannot open /var/spool/qmailscan/qmail-scanner-queue-version.txt - did you initialise the system by running "qmail-scanner-queue.pl -z"? - Permission denied



not quite sure what the -z does; but I seemingly had to run /var/qmail/bin/qmail-scanner-queue.pl -z anyway; after I reinstall SUID perl.

Sad Sad situation.  I had issues in my google searches, none of the results actually came out and screamed at me: YOU DON'T HAVE SUID PERL INSTALLED!

Thankfully (back me up Matt) -- because "rm: /var/spool/qmailscan/tmp/tract.imcc.ca109223250647918495/: Permission denied" was the error returned to remote mail servers -- they saw it as a temporary error, and continued to retry mail, and in theory no mail should've been lost??
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com