On Sun, Jun 09, 2002 at 01:28:21PM -0400, Sam Varshavchik wrote:
> Courier User writes:
>
> > [ ... ]
> >
> >The "parentheses" fix that I described in my subsequent message will
> >make this portable.
>
> Your definition of "portable" is slightly wrong. Portable does not mean
> "something works on one system, but not on another system." Portable means
> "the specifications are the same on all systems."
>
> This is an implementation bug, and nothing more.
Well, we can argue semantics, but the fact remains that the
source/courierctl.start script does not function properly under
freebsd 4.0.
> Upgrade. There's a reason why successive versions of an operating system
> come about: to fix the bugs in the previous versions, and to add new
> capabilities and features, of course.
Upgrading the OS's on the servers used by an entire ISP that serves
many users is not a trivial task. It cannot be done quickly.
Putting two characters (an open paren and a close paren) onto one
line of source/courierctl.start is quick and easy, and it solves the
problem that is caused by this sh bug. See the patch below.
And are you sure that this sh bug doesn't exist in other OS's that
are out there? Since it's in earlier versions of freebsd, I'd bet
that it's an old sh bug from the Berkeley 4.{1,2,3,4} days that
might still be around in various offshoots of that OS.
You can add those two characters to share/courierctl.start in 1
minute, and then the next release of Courier will start up properly
even for those users whose sh might have this bug.
Here's the patch:
*** courierctl.start.orig Sat Jun 8 14:26:06 2002
--- courierctl.start Sun Jun 9 12:51:22 2002
***************
*** 18,21 ****
#'"${libexecdir}/courier/courierd &
#" | /bin/cat ${sysconfdir}/courierd - | /usr/bin/env - /bin/sh
! /usr/bin/env - /bin/sh -c "set -a ; . ${sysconfdir}/courierd;
${libexecdir}/courier/courierd &"
--- 18,21 ----
#'"${libexecdir}/courier/courierd &
#" | /bin/cat ${sysconfdir}/courierd - | /usr/bin/env - /bin/sh
! /usr/bin/env - /bin/sh -c "set -a ; . ${sysconfdir}/courierd;
(${libexecdir}/courier/courierd &)"
> --
> Sam
--
Courier User
[EMAIL PROTECTED]
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users