SUMMARY: Mail broken on Solaris 8 E250 system with can not chdir(/var/spool/mqueue): Permission denied]

From: Richard Skelton (Richard.Skelton@infineon.com)
Date: Mon Jun 13 2005 - 10:08:17 EDT


Hi,
Well you always miss the most obvious :-)
Someone have changed the owner and group of /usr/lib/sendmail it should be:-
root: ls -l /usr/lib/sendmail
-r-sr-xr-x 1 root bin 761388 Aug 13 2004 /usr/lib/sendmail*

-------- Original Message --------
Message-ID: <42AD7F7B.2020502@infineon.com>
Date: Mon, 13 Jun 2005 13:43:39 +0100
From: Richard Skelton <Richard.Skelton@infineon.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041208)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: SunManagers <sunmanagers@sunmanagers.org>
Subject: Mail broken on Solaris 8 E250 system with can not
chdir(/var/spool/mqueue): Permission denied
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
I have a strange problem on an E250 Solaris 8 system.
Mail is broken:-
rskelton: mailx Richard.Skelton@Infineon.com
Subject: Test
Test
.
EOT
rskelton: can not chdir(/var/spool/mqueue): Permission denied

If I try this as root:-
root: mailx Richard.Skelton@Infineon.com
Subject: test
Test
.
EOT
root: drop_privileges: setuid(0) succeeded (when it should not):
Operation not permitted

I have checked the package for mailx:-
root: grep "/usr/bin/mailx" /var/sadm/install/contents
/usr/bin/mailx f none 2511 root mail 126880 47389 1003406180 SUNWcsu
root: pkgchk SUNWcsu
ERROR: /usr/share/lib/termcap
   file size <136663> expected <137359> actual
   file cksum <35225> expected <23929> actual
root: ls -ld /var/spool/mqueue
drwxr-x--- 2 root bin 3072 Jun 13 08:30 /var/spool/mqueue/
root: ls -l /usr/bin/mailx
-r-x--s--x 1 root mail 126880 Oct 18 2001 /usr/bin/mailx*
I also have lots of errors from sendmail in /var/adm/messages:-
Jun 13 13:00:27 brscs04 sendmail[19848]: [ID 801593 mail.crit] NOQUEUE:
SYSERR(cadadm): can not chdir(/var/spool/mqueue): Permission denied

Does anyone have any ideas how I can fix this problem without a re-boot?

-- 
Cheers
Richard Skelton
Richard.Skelton@infineon.com
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808
-- 
Cheers
Richard Skelton
Richard.Skelton@infineon.com
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:53 EDT