[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I have a beef with policy 3.3.3



* Anthony Towns <aj@azure.humbug.org.au> [000501 22:14]:
> On Mon, May 01, 2000 at 01:59:15PM -0400, Branden Robinson wrote:
> > update-rc.d has no way of knowing if the symlinks in the rc directories
> > aren't there because the local admin removed them, or because the package
> > was just installed.
> 
> So you should leave the K scripts about, rather than completely removing
> all the links. Or changing the word `start' in /etc/init.d/xdm to `begin',
> or so.

While I won't argue with Branden that current policy isn't broken wrt
the update-rc.d program and symlinks, one work-around that I have found
easy, obvious and self-documenting, is to insert an "exit 0" at the top
of the script after stopping the service. Future attemps to start the
service don't get anywhere. If one wishes, one could put an echo "*NOT*
starting service" into the script before the exit 0 to make it more
obvious...

This isn't a bad setup, until the policy document can be amended and the
programs follow suit.

(I didn't read Branden's original posting so closely, so I don't know
that policy is broken.. maybe I should end with, "This isn't a bad
setup, until the program is amended." :)

YMMV, HAND

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
'Netscape engineers are weenies!' -- Microsoft


Reply to: