Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107264 - List of typical slave runlevels needs cleanup
Summary: List of typical slave runlevels needs cleanup
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 03:35 UTC by Rabbe Fogelholm
Modified: 2006-02-11 06:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diskless-howto.xml.patch (diskless-howto.xml.patch,3.05 KB, patch)
2006-01-30 18:44 UTC, nm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2005-09-26 03:35:13 UTC
"Diskless Nodes with Gentoo", September 16, 2005 version:

Code Listing 6.4 shows typical slave runlevels. This list should be brought
up-to-date, and things that are not relevant should be left out; they are just
confusing in a troubleshooting situation.

1) The boot runlevel

Remove "portmap" (it is not there in an up-to-date system)

Remove "serial" (not relevant to simplest-possible diskless boot)

Add "modules", "domainname", "checkroot" (they would typically be there)


2) The default runlevel

Remove "clock" (it is not there on an up-to-date system)

Remove "distccd" (not relevant to diskless boot)

Remove "metalog" (not relevant to diskless boot)

Remove "ntp-client" (not relevant to diskless boot)

Remove "ntpd" (not relevant to diskless boot)

Rename "vcron" to "vixie-cron"

Add "syslog-ng" (it would typically be there)
Comment 1 SpanKY gentoo-dev 2005-09-26 05:50:56 UTC
portmap need not be mentioned as it has never been in a default runlevel afaik

modules/checkroot are already run in boot, you dont need to add them

metalog vs syslog-ng depends completely on the user and seeing as how metalog is
the default syslogger in Gentoo, mentioning that instead of syslog-ng makes more
sense
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2005-09-26 07:16:41 UTC
(In reply to comment #1) 
> and seeing as how metalog is the default syslogger in Gentoo,  
> mentioning that instead of syslog-ng makes more sense 
 
"The following example installs syslog-ng. Of course substitute with your 
system logger" (hb-install-next) 
 
Comment 3 Rabbe Fogelholm 2005-09-26 12:41:08 UTC
(In reply to comment #1)

> metalog vs syslog-ng depends completely on the user and seeing as how metalog is
> the default syslogger in Gentoo, mentioning that instead of syslog-ng makes more
> sense

I see now that the Handbook mentions three loggers (sysklogd, metalog,
syslog-ng) and it is obviously up to the user to choose one. But where is it
said that metalog is the default syslogger in Gentoo?

The Gentoo install documents currently promotes syslog-ng over the others to
some little extent: the Handbook provides a code listing for syslog-ng, and the
Quick Install Guide mentions syslog-ng but none of the others.
Comment 4 SpanKY gentoo-dev 2005-09-26 13:42:06 UTC
run `emerge virtual/logger -p` on an empty system ... it will give back metalog
Comment 5 Rabbe Fogelholm 2005-09-26 23:24:41 UTC
(In reply to comment #4)
> run `emerge virtual/logger -p` on an empty system ... it will give back metalog

OK then, metalog it is. Thanks for pointing me to this (little documented?)
feature .. I realize now that the file /usr/portage/profiles/base/virtuals would
have saved me some guesswork in the past. Actually it could be used even in the
Diskless Nodes document: "emerge virtual/tftp" would be more generic than
"emerge tftp-hpa".
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2005-09-28 06:12:18 UTC
FYI, ad syslog-ng vs. metalog: 
http://thread.gmane.org/gmane.linux.gentoo.devel/31841 
Comment 7 nm (RETIRED) gentoo-dev 2006-01-30 18:44:03 UTC
Created attachment 78535 [details, diff]
diskless-howto.xml.patch

Done as requested. (Also, there are lots of GuideXML coding style fixes to be applied as well, but this is just a content change.) :)

Patch is attached.
Comment 8 Marcelo Goes (RETIRED) gentoo-dev 2006-01-30 19:02:03 UTC
Cool patch, but metalog is still the default logger. It seems that thread on -dev just died. Anyone care to bring it up again? I've already brought up the logrotate thing recently, I don't want to draw more flames on me!
Comment 9 nm (RETIRED) gentoo-dev 2006-01-30 19:13:34 UTC
(In reply to comment #8)
> Cool patch, but metalog is still the default logger. It seems that thread on
> -dev just died. Anyone care to bring it up again? I've already brought up the
> logrotate thing recently, I don't want to draw more flames on me!
> 

Is there any reason why we should mention a logger at all? We know that:
1. Right now the default logger (virtual/logger) is metalog.
2. Gentoo users have choice, and lots of 'em prefer syslog-ng.
3. This code listing only shows *typical* slave runlevels. Therefore, we can have the more generic setup (that seems to be preferred) by just not mentioning any logger at all. Take out the metalog/syslog-ng init.d line altogether. Would this work?

I'm hoping to just add the rest of the fixes and get this bug closed without a huge discussion of the merits/problems of one logger over the other. :)
Comment 10 nm (RETIRED) gentoo-dev 2006-02-11 06:54:26 UTC
In CVS. Thanks for reporting.