Re: HEADS UP: change in ports rc.d script behaviour

From: Alex Kapranoff <kappa_at_rambler-co.ru>
Date: Sat, 24 Jul 2004 21:26:20 +0400
Mike Makonnen wrote:

>20040724:
>        The rc.d/loclpkg script now "does the right thing" with respect
>        to ports rc.d scripts. The most disruptive change is that scripts
>        ending in *.sh are sourced in the same shell as rc.d/localpkg (as
>        opposed to a subshell) and may cause the script to end prematurely
>        if a script calls exit. Some broken scripts may not recognize the
>        'fast' prefix to a command. The first problem can be fixed by simply
>        renaming the script so that it doesn't have a '.sh' ending. Another
>        temporary work-arround is to completely remove the 'PROVIDE' line
>        from the script. If you notice a broken ports rc.d script please
>        notify the maintainer. Legacy scripts should not be affected.
>        __FreeBSD_version bumped to 502124.
>
>
>This update to the rc.d/localpkg attempts to normalize the behaviour
>or ports rc.d scripts with that of the base system scripts. This may
>break your ports scripts. Please report any breakage to the port's
>maintainer so the script can be fixed.
>
What's the point of this change? What benefits do we get?
Sorry for ignorance. I can only see that from now on, if any of the 
startup scripts terminates abnormally, we'll get
a half-started system which in some cases could be extremely hard to repair.
Received on Sat Jul 24 2004 - 15:26:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC