NetBSD Problem Report #41224
From perry@piermont.com Wed Apr 15 21:54:31 2009
Return-Path: <perry@piermont.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id C9BE363B8A5
for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Apr 2009 21:54:30 +0000 (UTC)
Message-Id: <20090415215405.98C0C8D1FD2@snark.piermont.com>
Date: Wed, 15 Apr 2009 17:54:05 -0400 (EDT)
From: perry@piermont.com
Reply-To: perry@piermont.com
To: gnats-bugs@gnats.NetBSD.org
Subject: a number of pseudodependencies in /etc/rc.d are not CAPITALIZED
X-Send-Pr-Version: 3.95
>Number: 41224
>Category: misc
>Synopsis: a number of pseudodependencies in /etc/rc.d are not CAPITALIZED
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 15 21:55:00 +0000 2009
>Last-Modified: Wed Apr 15 23:45:01 +0000 2009
>Originator: Perry E. Metzger
>Release: NetBSD 4.99.28
>Organization:
Perry E. Metzger perry@piermont.com
>Environment:
System: NetBSD snark.cb.piermont.com 4.99.28 NetBSD 4.99.28 (ZWEI) #0: Sun Aug 12 13:52:43 EDT 2007 perry@snark.piermont.com:/usr/src/sys/arch/amd64/compile/ZWEI amd64
Architecture: x86_64
Machine: amd64
>Description:
The following pseudo-dependencies are listed in /etc/rc.d/*'s PROVIDE
and REQUIRE lines but do not correspond to actual started
facilities. Such dummy provides/requires are supposed to be in all caps:
bluetooth
bootconf
disks
ike
localswap
mail
nonlocalswap
tty
Other pseudos like LOGIN and NETWORK are handled properly.
Note that for some of these, like "tty", there is an actual script,
"ttys", and the depend should be renamed "ttys" or the script should
be renamed "tty". For others, like mail, the dependency should clearly
be named "MAIL".
This is not just a question of being nutty about a standard -- it
makes it much easier to figure out what is a pseudodependency and what
is not.
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: re: misc/41224: a number of pseudodependencies in /etc/rc.d are not CAPITALIZED
Date: Thu, 16 Apr 2009 09:41:47 +1000
The following pseudo-dependencies are listed in /etc/rc.d/*'s PROVIDE
and REQUIRE lines but do not correspond to actual started
facilities. Such dummy provides/requires are supposed to be in all caps:
bluetooth
bootconf
disks
ike
localswap
mail
nonlocalswap
tty
Other pseudos like LOGIN and NETWORK are handled properly.
Note that for some of these, like "tty", there is an actual script,
"ttys", and the depend should be renamed "ttys" or the script should
be renamed "tty". For others, like mail, the dependency should clearly
be named "MAIL".
This is not just a question of being nutty about a standard -- it
makes it much easier to figure out what is a pseudodependency and what
is not.
i don't agree with this.
these all provide a particular service.
LOGIN, NETWORK and DAEMON are about particular points in the graph
that aren't about any particular service, but about a collection
of them. i guess the only one i agree with is disks.
tty vs. ttys file name is irrelevant. it can probably be fixed,
but it's no more "pseudo" than any of bluetooth, bootconf, ide,
localswap, nonlocalswap. mail is not quite so clear, but since
it is a "particular service", rather than a "group" it also
doesn't fit.
.mrg.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.