Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [opensuse] Problem With Sendmail in 10.1 Beta 5 and Beta 9
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Mon, 17 Apr 2006 22:17:46 +0200
  • Message-id: <20060417201745.GA32449@xxxxxxx>
On Mon, Apr 17, 2006 at 03:10:24PM -0500, Scott Alan Chaffin wrote:
> When installing sendmail (instead of postfix) in the default location of
> /usr/sbin/sendmail, the mail daemon doesn't start, only the queue
> handler. Attempting to start the daemon by hand results in the
> following error:
>
> huron:/usr/sbin # ./sendmail -bD -q15m
> 451 4.0.0 opendaemonsocket: daemon MTA: cannot bind: Permission denied
> 421 4.0.0 opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting
> huron:/usr/sbin #
>
> When I move the sendmail binary to /usr/lib and make a symbolic link to
> /usr/sbin, it starts as expected, both on the command line and in the
> /etc/init.d/sendmail script.
>
> It's only a minor inconvenience to start things this way, but it is an
> inconvenience. I suspect that this is related to some sort of enhanced
> security on /usr/sbin. The file system is reiserfs.
>
> Does anyone know how to rectify this condition?

Likely caused by AppArmor. Check "logprof" output, or /var/log/audit/audit.log

Ciao, Marcus

< Previous Next >
Follow Ups
References