/[baselayout]/branches/baselayout-1_12/etc/conf.d/rc
Gentoo

Contents of /branches/baselayout-1_12/etc/conf.d/rc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2386 - (show annotations) (download)
Wed Nov 15 16:07:28 2006 UTC (7 years, 10 months ago) by uberlord
File size: 8868 byte(s)
Typo
1 # /etc/conf.d/rc: Global config file for the Gentoo RC System
2
3 # This is the number of tty's used in most of the rc-scripts (like
4 # consolefont, numlock, etc ...)
5
6 RC_TTY_NUMBER=11
7
8 # Set to "yes" if you want the rc system to try and start services
9 # in parallel for a slight speed improvement. NOTE: When RC_PARALLEL_STARTUP
10 # is enabled, init script output is replaced with simple "service foo
11 # starting/stopping" messages so that output is not mixed up.
12 # You can stop this from happening on the command line by passing --verbose
13 # to the init script or by setting RC_VERBOSE="yes" below.
14
15 RC_PARALLEL_STARTUP="no"
16
17 # Set RC_INTERACTIVE to "yes" and you'll be able to press the I key during
18 # boot so you can choose to start specific services. Set to "no" to disable
19 # this feature.
20
21 RC_INTERACTIVE="yes"
22
23 # Do we allow services to be hotplugged? If not, set to RC_HOTPLUG="no"
24 # NOTE: This does not affect anything hotplug/udev related, just the
25 # starting/stopping of the init.d service triggered by hotplug.
26
27 RC_HOTPLUG="yes"
28
29 # Dynamic /dev managers can trigger coldplug events which cause services to
30 # start before we are ready for them. If this happens, we can defer these
31 # services to start in the boot runlevel. Set RC_COLDPLUG="no" if you don't
32 # want this.
33 # NOTE: This also affects module coldplugging in udev-096 and higher
34 # If you want module coldplugging but not coldplugging of services then you
35 # can set RC_COLDPLUG="yes" and RC_PLUG_SERVICES="!*"
36
37 RC_COLDPLUG="yes"
38
39 # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a
40 # list of services that are matched in order, either allowing or not. By
41 # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
42 # anyway.
43 # Example - RC_PLUG_SERVICES="net.wlan !net.*"
44 # This allows net.wlan and any service not matching net.* to be plugged.
45
46 RC_PLUG_SERVICES=""
47
48 # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
49 # The following values are allowed:
50 # none - The 'net' service is always considered up.
51 # no - This basically means that at least one net.* service besides net.lo
52 # must be up. This can be used by notebook users that have a wifi and
53 # a static nic, and only wants one up at any given time to have the
54 # 'net' service seen as up.
55 # lo - This is the same as the 'no' option, but net.lo is also counted.
56 # This should be useful to people that do not care about any specific
57 # interface being up at boot.
58 # yes - For this ALL network interfaces MUST be up for the 'net' service to
59 # be considered up.
60
61 RC_NET_STRICT_CHECKING="no"
62
63 # RC_DOWN_INTERFACE allows you to specify if RC will bring the interface
64 # completely down when it stops. The default is yes, but there are some
65 # instances where you may not want this to happen such as using Wake On LAN.
66
67 RC_DOWN_INTERFACE="yes"
68
69 # RC_VOLUME_ORDER allows you to specify, or even remove the volume setup
70 # for various volume managers (MD, EVMS2, LVM, DM, etc). Note that they are
71 # stopped in reverse order.
72
73 RC_VOLUME_ORDER="raid evms lvm dm"
74
75 # RC_VERBOSE will make init scripts more verbose. Only networking scripts
76 # really use this at this time, and this is useful for trouble shooting
77 # any issues you may have.
78 # This is also used to re-enable init script output for init scripts
79 # started or stopped from the command line.
80
81 RC_VERBOSE="no"
82
83 # RC_BOOTLOG will generate a log of the boot messages shown on the console.
84 # Useful for headless machines or debugging. You need to emerge the
85 # app-admin/showconsole package for this to work. Note that this probably
86 # won't work correctly with boot splash.
87
88 RC_BOOTLOG="no"
89
90 # Set to "yes" if you want to benchmark system boot with bootchart.
91 # You'll need to emerge the app-benchmarks/bootchart package for this to work.
92
93 RC_BOOTCHART="no"
94
95 # RC_USE_FSTAB allows you to override the default mount options for the
96 # standard /proc, /sys, /dev, and /dev/pts mount points. Note that this
97 # is the new way for selecting ramfs/tmpfs/etc... for udev mounting.
98
99 RC_USE_FSTAB="no"
100
101 # RC_USE_CONFIG_PROFILE allows you to have different /etc/conf.d files
102 # based on your runlevel - if a conf.d file for your profile does not exist
103 # then we try and use the default one.
104 # To enable runlevel selection at boot, append "softlevel=foobar" to your
105 # kernel line to change to the foobar runlevel. Here we would search for
106 # /etc/conf.d/<service>.foobar config files before trying to use the default
107 # /etc/conf.d/<service>.
108 # Note that it is only active if 'softlevel' was specified via the kernel line,
109 # and it is intended to use for different grub/lilo entries to specify config
110 # changes for say laptops between home and work, where you would have setup
111 # 'work' and 'home' runlevels, with /etc/conf.d/*.<runlevel> as needed.
112
113 RC_USE_CONFIG_PROFILE="yes"
114
115 # RC_FORCE_AUTO tries its best to prevent user interaction during the boot and
116 # shutdown process. For example, fsck will automatically be run or volumes
117 # remounted to create proper directory trees. This feature can be dangerous
118 # and is meant ONLY for headless machines where getting a physical console
119 # hooked up is a huge pita.
120
121 RC_FORCE_AUTO="no"
122
123 # Use this variable to control the /dev management behavior.
124 # auto - let the scripts figure out what's best at boot
125 # devfs - use devfs (requires sys-fs/devfsd)
126 # udev - use udev (requires sys-fs/udev)
127 # static - let the user manage /dev (YOU need to create ALL device nodes)
128
129 RC_DEVICES="auto"
130
131 # UDEV OPTION:
132 # Set to "yes" if you want to save /dev to a tarball on shutdown
133 # and restore it on startup. This is useful if you have a lot of
134 # custom device nodes that udev does not handle/know about.
135
136 RC_DEVICE_TARBALL="no"
137
138 # RC_SWAP_ERASE controls erasing of swap partitions at shutdown.
139 # Useful for all those paranoid peeps to nuke their memory.
140
141 RC_SWAP_ERASE="no"
142
143 # RC_DMESG_LEVEL sets the level at which logging of messages is done to the
144 # console. See dmesg(8) for more info.
145
146 RC_DMESG_LEVEL="1"
147
148
149
150
151
152 #
153 # Controlling start-stop-daemon behavior
154
155 # Set to "yes" if start-stop-daemon should always retry killing the
156 # service with sig KILL if it fails the first time.
157
158 RC_RETRY_KILL="yes"
159
160
161 # Set the amount of seconds start-stop-daemon should wait between
162 # retries.
163
164 RC_RETRY_TIMEOUT=1
165
166
167 # Set the amount of times start-stop-daemon should try to kill
168 # a service before giving up.
169
170 RC_RETRY_COUNT=5
171
172
173 # Set to "yes" if start-stop-daemon should fail if the service
174 # is marked as started, but not actually running on stop.
175
176 RC_FAIL_ON_ZOMBIE="no"
177
178
179 # Set to "yes" if start-stop-daemon should attempt to kill
180 # any children left in the system.
181 # Be careful with this as it really does what it was on the tin.
182 # fex, if you're in an ssh process and you restart a service on which ssh
183 # depends then your terminal will be killed also.
184
185 RC_KILL_CHILDREN="no"
186
187
188 # Set the amount of seconds start-stop-daemon waits after starting
189 # the daemon to check it is still running. If it's not then we
190 # try and stop any children if possible.
191 RC_WAIT_ON_START="0.1"
192
193
194 ##############################################################################
195 # SERVICE CONFIGURATION VARIABLES
196 # These variables are documented here, but should be configured in
197 # /etc/conf.d/foo for service foo and NOT enabled here unless you
198 # really want them to work on a global basis.
199
200 # Some daemons are started and stopped via start-stop-daemon.
201 # We can launch them through other daemons here, for example valgrind.
202 # This is only useful for serious debugging of the daemon
203 # WARNING: If the script's "stop" function does not supply a PID file then
204 # all processes using the same daemon will be killed.
205 #RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"
206
207 # strace needs to be prefixed with --background as it does not detach when
208 # it's following
209 #RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"
210
211 # Pass ulimit parameters
212 #RC_ULIMIT="-u 30"
213
214 ##############################################################################
215
216
217 #
218 # Internal configuration variables
219 #
220 # NB: These are for advanced users, and you should really
221 # know what you are doing before changing them!
222 #
223
224 # rc-scripts dep-cache directory
225 #
226 # NOTE: Do not remove the next line, as its needed by the baselayout ebuild!
227 #
228 # svcdir="/var/lib/init.d"
229
230 svcdir="/var/lib/init.d"
231
232 # Should we mount $svcdir in a ram disk for some speed increase
233 # for slower machines, or for the more extreme setups ?
234
235 svcmount="no"
236
237 # FS type that should be used for $svcdir. Note that you need
238 # $svcmount above set to "yes" for this to work ... Currently
239 # tmpfs, ramfs, and ramdisk are supported (tmpfs is the default).
240
241 svcfstype="tmpfs"
242
243 # Size of $svcdir in KB. Note that ramfs doesn't support this
244 # due to kernel limitations.
245
246 svcsize=2048

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20