Date: Wed, 15 Aug 2001 05:10:01 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/29699: Setting NO_MAILWRAPPER results in a system without working MTA Message-ID: <200108151210.f7FCA1599098@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/29699; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Cc: bug-followup@FreeBSD.org Subject: Re: conf/29699: Setting NO_MAILWRAPPER results in a system without working MTA Date: Wed, 15 Aug 2001 15:08:18 +0300 On Tue, Aug 14, 2001 at 11:50:01AM -0700, Andre Albsmeier wrote: > The following reply was made to PR conf/29699; it has been noted by GNATS. > > From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> > To: freebsd-gnats-submit@FreeBSD.org > Cc: > Subject: Re: conf/29699: Setting NO_MAILWRAPPER results in a system without working MTA > Date: Tue, 14 Aug 2001 20:42:44 +0200 > > One more thing I noticed here: When using the above Makefile and > NO_MAILWRAPPER is set and the link /usr/sbin/sendmail -> > /usr/sbin/mailwrapper exists, sendmail gets installed as > /usr/sbin/mailwrapper: > > andre@voyager:/usr/sbin>ll sendmail mailwrapper > -r-sr-xr-x 1 root wheel - 371756 Aug 14 20:35 mailwrapper* > lrwxr-xr-x 1 root wheel - 21 Aug 14 20:34 sendmail@ -> /usr/sbin/mailwrapper > Hmm, I can't reproduce it here. Make sure you haven't mistyped -DNO_MAILWRAPPER. > I don't understand this since man install says: > > -S Safe copy. Normally, install unlinks an existing target before > installing the new file. With the -S flag a temporary file is > used and then renamed to be the target. The reason this is safer > is that if the copy or rename fails, the existing target is left > untouched. > > The -S option is not used during the install, so the file should get > unlinked before but this is obviously not the case. I have helped myself > with the following, additional path to usr.sbin/sendmail/Makefile: > Even with -S, symlink gets deleted before the new one is installed. I have even checked with pre -S version of install(1), just to make sure. Everything works as expected, symlink gets deleted first. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108151210.f7FCA1599098>