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

Bug#225465: debian-policy: packages must give choice to not start at boot, via debconf



On Tue, Dec 30, 2003 at 04:44:50AM +0800, Dan Jacobson wrote:
> Package: debian-policy
> Version: 3.6.1.0
> Severity: wishlist
> 
> Debian should no longer be like some mere arcade kiddie game machine,
> where if you don't like the games staring when you deposit your coin,
> then sorry.

I'm not particularly amused by that generally flawed analogy...

> And the frailty of the instructions on link dismemberment, which have
> to be garnered from asking in newsgroups... how is the user to
> remember the proper way to revisit the situation in several months to
> make adjustments if needed?  Wouldn't a comfy debconf dialog be better
> than having to try to remember what one changed, and what newsgroups
> one asked what questions to try and 'kluge forthward' further, in
> meddling with the links in way that each differing package maintainer
> never expected, though "legal".

That's one debconf question too many. The instructions for stopping the
starting of daemons are pretty simple -- for the vast majority of users
it's simply a matter of

	rm /etc/rc2.d/S??daemonname

because they will never use any other runlevel other than the second.
You should probably file a bug against doc-debian to have this more
prominently displayed in the FAQ.

> J> For you, just rm /etc/rc*.d/*ircd-hybrid and that should do the trick..
> 
> Maybe not, as another poster pointed out one shouldn't rm all the
> links, lest the get rebuilt at upgrade, and also, stopping at shutdown
> is still nice when we started by hand.

Yeah, so prepend an "S" to the second wildcard above.

> Plus, I'll never remember what I did, plus a user like me has no
> business issuing commands like rm /etc/anything, much less posting in
> this devel group.

I don't follow. Either you're a sysadmin who is deciding not to start
services, or you're a user who can't rm files in /etc.

> So word of mouth unofficial ways are bad.

% man update-rc.d
...
       If  any  files  /etc/rcrunlevel.d/[SK]??name already exist then update-
       rc.d does nothing.  This is so that the system administrator can  rear-
       range  the links, provided that they leave at least one link remaining,
       without having their configuration overwritten.
...

That is the official way; it simply needs better documentation.
Also, don't believe everything you read on the Internet :)

-- 
     2. That which causes joy or happiness.



Reply to: