I'm now attempting to debug the problems with my new LFS system.
One of the minor ones was that the postfix shutdown failed and I got
a line of 5 red stars to draw it to my attention.  Turns out to be
because the script kills ${PIDFILE} ${BINFILE} and $BINFILE was
pointing to the now non-existent /usr/lib/postfix/master.

 I could just raise a ticket or change the bootscript directly, but
I'd prefer discussion on whether we should allow old installations
to continue to work with the current bootscripts.  For the moment
I've got

if [ -f /usr/lib/postfix/master ]; then
    BINFILE=/usr/lib/postfix/master
else
    BINFILE=/usr/libexec/postfix/master
fi

 which should allow for either version.  But do we want to go for a
degree of backward compatability, or only let it shut down cleanly
with the current installation ?  If we do want compatability, is my
test valid for lesser shells, or have I introduced a bash-ism ?  I
*think* it's good /bin/sh, but I never use other shells.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to