These files belong with baselayout
This commit is contained in:
parent
0874acb08c
commit
b439703b4d
488
ChangeLog
488
ChangeLog
@ -1,488 +0,0 @@
|
|||||||
# ChangeLog for Gentoo System Intialization ("rc") scripts
|
|
||||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
|
|
||||||
|
|
||||||
14 Nov 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Move mail user/group and postmaster user to the mailbase package.
|
|
||||||
|
|
||||||
02 Nov 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix ppp config, #197775.
|
|
||||||
Fix an ifconfig calculation for shells that don't support the newer
|
|
||||||
POSIX shell math expansion, #197856.
|
|
||||||
|
|
||||||
01 Nov 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Work cleanly with bridges on kernels without TCP, #197791.
|
|
||||||
Fix fallback, #197788.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_rc6 (31 Oct 2007)
|
|
||||||
|
|
||||||
31 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
You can now log baselayout-2 again, through the RC_LOGGER conf.d/rc
|
|
||||||
setting. The log is temp stored in /lib/rc/init.d/rc.log and appended
|
|
||||||
to /var/log/rc.log if it's writeable. sysinit cannot be logged in Linux
|
|
||||||
as we rely on sysinit to bring the system up to a point where we can log.
|
|
||||||
single user cannot be logged on FreeBSD due to waitpid(0,0,0) incorrectly
|
|
||||||
waiting for the log daemon in another process group.
|
|
||||||
|
|
||||||
30 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
You can now spoof the source address for arping as the third parameter
|
|
||||||
in gateways_eth0 if you have arping2 installed, #180888.
|
|
||||||
|
|
||||||
29 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
rc --override foo will override the runlevel to load after boot
|
|
||||||
or single user runlevels to avoid rc recursion, #196338
|
|
||||||
|
|
||||||
/etc/mtab is now a true reflection on /proc/mounts.
|
|
||||||
The only exception is that we punt any / on tmpfs entry, #194615.
|
|
||||||
|
|
||||||
Network config arrays are now split by embedded new lines instead of
|
|
||||||
being evaled into space separated values. This makes it easier to read,
|
|
||||||
maintain and document as discussed on gentoo-dev.
|
|
||||||
|
|
||||||
23 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
clock init script now works with busybox hwclock.
|
|
||||||
clock init script now handles /etc/adjtime correctly.
|
|
||||||
CLOCK_ADJTIME hinted that it could change the location of /etc/adjtime.
|
|
||||||
This is not the case.
|
|
||||||
|
|
||||||
19 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Mount /dev/shm for Linux systems, even not when in /etc/fstab, #196345.
|
|
||||||
|
|
||||||
16 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
We now build and optionally work with static libraries.
|
|
||||||
|
|
||||||
15 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
rc-status now orders services in start order, #195630
|
|
||||||
|
|
||||||
* baselayout-2.0.0_rc5 (11 Oct 2007)
|
|
||||||
|
|
||||||
11 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Bump librc and libeinfo to .so.1
|
|
||||||
If / block device as in /etc/fstab does not exist, use /dev/root if
|
|
||||||
it's available in checkroot, #171593.
|
|
||||||
|
|
||||||
09 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
netmount, localmount, halt.sh and net scripts now check OS specific flags
|
|
||||||
to see if a mount is network mounted (linux = fstab, *bsd = "local" in
|
|
||||||
mount options) or not, #192772.
|
|
||||||
txqueuelen_eth0= now works, #190538.
|
|
||||||
|
|
||||||
03 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
librc.so and libeinfo.so now have symbol versions.
|
|
||||||
Default to tunctl so we can create the device as a specific
|
|
||||||
user, #194588 thanks to Jaco Kroon.
|
|
||||||
|
|
||||||
28 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
rc_service_state now returns the state as a mask, which means that
|
|
||||||
we can do things with just the one call making is more efficient.
|
|
||||||
keymaps now sets unicode keyboard on all defined ttys, #192442
|
|
||||||
thanks to Pacho Ramos.
|
|
||||||
net.sh now checks to see if root is net mounted if no predown function
|
|
||||||
exists, #194074.
|
|
||||||
enums are now fixed to specific values and are in UPPER CASE.
|
|
||||||
|
|
||||||
26 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
rc_is_env is now rc_env_bool and just works with boolean values.
|
|
||||||
errno is set when it's not a boolean or does not exist.
|
|
||||||
|
|
||||||
25 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Skip consolefont setup when RC_TTY_NUMBER is set to 0.
|
|
||||||
|
|
||||||
Add support for describing the options in the C programs.
|
|
||||||
|
|
||||||
Retain behavior where `rc-update del foo` deletes foo from all runlevels.
|
|
||||||
|
|
||||||
Retain behavior where `rc-update del` warns if nothing changed.
|
|
||||||
|
|
||||||
24 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Do not require portmap in netmount when nolock option is used with nfs
|
|
||||||
mounts and fixup the test so that it actually works.
|
|
||||||
|
|
||||||
24 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix pppd metric, #193574 thanks to Martin Väth.
|
|
||||||
|
|
||||||
21 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Use a pty for prefixed output instead of pipes for stdout/stderr. This
|
|
||||||
is so that programs can get information about the controlling terminal.
|
|
||||||
This change was triggered by bug #188506 where it's possible that
|
|
||||||
stdin, stdout and stderr didn't point to a terminal but ended up on one
|
|
||||||
via our pipes. Using a pty means that stdout and stderr always point to
|
|
||||||
a terminal, but we lose the ability to tell them apart.
|
|
||||||
If there is not a pty available then we use un-prefixed output as normal.
|
|
||||||
This change has also introduced the need for a signal pipe so that
|
|
||||||
SIGCHLD can exit the loop cleanly.
|
|
||||||
|
|
||||||
20 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
libeinfo now works out the number of columns from stdout rather than
|
|
||||||
stdin, #188506.
|
|
||||||
|
|
||||||
19 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Added the checkown applet based on the work by Renato Caldas, #192682
|
|
||||||
checkdir ensures that the specified files (or directories) are owned
|
|
||||||
by the current user/group or as specified on the command line. You can
|
|
||||||
optionally check permissions too.
|
|
||||||
|
|
||||||
Change from /lib/rcscripts to /lib/rc and adjust our files so changing
|
|
||||||
our libdir is much easier in future. This move makes sense it's so much
|
|
||||||
more than a holding place for our scripts now. It also has the added
|
|
||||||
benefit of not loading the splash plugin for rc4 and lower which is
|
|
||||||
ABI incompatible with us now.
|
|
||||||
|
|
||||||
plugin hook function is now rc_plugin_hook instead of a name based
|
|
||||||
on the name of the plugin.
|
|
||||||
|
|
||||||
18 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Only mount /sys if it's not mounted, #192436.
|
|
||||||
|
|
||||||
API changes!
|
|
||||||
|
|
||||||
rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list
|
|
||||||
as a first argument. Instead, use rc_strlist_join to append or prepend
|
|
||||||
the new list to an existing list.
|
|
||||||
|
|
||||||
rc_strlist_add and friends now take char *** instead of char ** and
|
|
||||||
return a pointer to the item added instead of the new list head. This is
|
|
||||||
so we can easily tell if the item was successfully added or not instead
|
|
||||||
of iterating through the list looking for it.
|
|
||||||
|
|
||||||
list = rc_strlist_add (list, item);
|
|
||||||
becomes
|
|
||||||
rc_strlist_add (&list, item);
|
|
||||||
|
|
||||||
17 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Document the preferance of wpa_supplicant, #192828.
|
|
||||||
|
|
||||||
09 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Allow people to specify a list of dirs to clean in bootmisc #191807. Force
|
|
||||||
the +t bit on /tmp and /var/tmp paths.
|
|
||||||
|
|
||||||
04 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
start-stop-daemon now works with userids correctly when a pidfile
|
|
||||||
is not specified, #191206.
|
|
||||||
|
|
||||||
02 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Always attempt to mount /dev/pts when devpts is available as it may appear
|
|
||||||
in some 2.4 setups.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_rc4 (02 Sep 2007)
|
|
||||||
|
|
||||||
02 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
RC_TTY_NUMBER now defaults to 12, #190996 thanks to Pacho Ramos.
|
|
||||||
|
|
||||||
31 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Only generate dependencies for Gentoo scripts, #190547.
|
|
||||||
|
|
||||||
28 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Undocument pause action, fix --nodeps and --ifstarted, #190045.
|
|
||||||
Fix ksoftlevel handling, #190420.
|
|
||||||
|
|
||||||
26 Aug 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Add /etc/gentoo-release to CONFIG_PROTECT_MASK.
|
|
||||||
|
|
||||||
25 Aug 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Make sure we list all config files in rc help output.
|
|
||||||
Punt PAGER and EDITOR. People need to set this themselves now.
|
|
||||||
|
|
||||||
22 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter.
|
|
||||||
|
|
||||||
21 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix pppd getting the interface metric.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_rc3 (20 Aug 2007)
|
|
||||||
|
|
||||||
20 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
As discussed on the -dev ml, RC_DEPEND_STRICT now defaults to yes.
|
|
||||||
|
|
||||||
17 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Stop un-needed services when changing runlevels, #189050.
|
|
||||||
|
|
||||||
15 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
`config /etc/fstab' can now be used in depend() functions to show that
|
|
||||||
the deptree should be regenerated if /etc/fstab has changed.
|
|
||||||
Add bzr port 4155 to /etc/services, #188970 thanks to Andrew Cowie.
|
|
||||||
|
|
||||||
08 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Add help to rc-update #188170.
|
|
||||||
If given a pidfile, just match on that for seeing if we have crashed
|
|
||||||
or not, #186159.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_rc2 (04 Aug 2007)
|
|
||||||
|
|
||||||
04 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Boot properly when we cannot set an early font, #187628.
|
|
||||||
rc-update works again, #187487.
|
|
||||||
|
|
||||||
03 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix adding multiple IP addresses, #187526.
|
|
||||||
Fix static IPv6 routes, #187514.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_rc1 (02 Aug 2007)
|
|
||||||
|
|
||||||
01 Aug 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Punt /dev/shm from default /etc/fstab as we handle it and add a helpful
|
|
||||||
hint about the RC_USE_FSTAB option.
|
|
||||||
|
|
||||||
31 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
All our binaries are now multicalls into rc, which makes our on disk size
|
|
||||||
a lot smaller.
|
|
||||||
|
|
||||||
23 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
appending noinitd=xdm will skip the xdm service when first booting, #181858.
|
|
||||||
|
|
||||||
22 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Harden gendepends.sh some more so we only capture the stdout we want from
|
|
||||||
the depend function, #186072.
|
|
||||||
|
|
||||||
21 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
RC_DEPEND_STRICT now controls dependency strictness.
|
|
||||||
If yes then we only use services in the boot and default runlevels,
|
|
||||||
regradless of service state.
|
|
||||||
If no then we take into account coldplugged services and the state
|
|
||||||
of currently running services.
|
|
||||||
Fixes #185640.
|
|
||||||
|
|
||||||
15 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
adsl module now finds the correct exe, #185276 thanks to Marcello Laganà.
|
|
||||||
|
|
||||||
14 Jul 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Add --remove-destination to example /dev recover command #40987.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_alpha4 (12 Jul 2007)
|
|
||||||
|
|
||||||
11 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Don't unmount network filesystems in localmount or halt.sh, #175602.
|
|
||||||
Don't do interactive when changing init, #174141.
|
|
||||||
|
|
||||||
10 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
init scripts and their extra options can now have descriptions, #184327.
|
|
||||||
We no longer care about numerical runlevels, #184733.
|
|
||||||
|
|
||||||
09 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Add an option to fork ldconfig in env-update, #182794
|
|
||||||
|
|
||||||
06 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Add and delete IPv6 addresses and routes correctly on FreeBSD, #184430
|
|
||||||
thanks to Friedrich Oslage.
|
|
||||||
|
|
||||||
02 Jul 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Don't wait for services that were inactive, #183667 thanks to Daniel Drake
|
|
||||||
|
|
||||||
30 Jun 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Don't set an early font if consolefont isn't in a runlevel, #183773.
|
|
||||||
|
|
||||||
27 Jun 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Add --no-ldconfig option to env-update to match portage.
|
|
||||||
|
|
||||||
26 Jun 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
--nocolor works again, #181011 thanks to Daniel Drake.
|
|
||||||
Change pwd to / for all init scripts, #181224.
|
|
||||||
|
|
||||||
21 Jun 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Allow urandom location to be customized #134489.
|
|
||||||
|
|
||||||
02 Jun 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Fix from comio for /proc/filesystems typo in localmount #180621.
|
|
||||||
|
|
||||||
Use -q option with modprobe rather than sending to /dev/null.
|
|
||||||
|
|
||||||
31 May 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Don't warn about Factory clock when booting off of livecd.
|
|
||||||
|
|
||||||
30 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Only call systohw in clock when we don't have adjfile or we aren't UTC.
|
|
||||||
Use killall5 again so we can cleanly remount / readonly, #168977
|
|
||||||
and #177689.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_alpha3 (14 May 2007)
|
|
||||||
|
|
||||||
14 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
RC_INTERACTIVE now works, #178331.
|
|
||||||
Add --startas back to s-s-d, #175980, #175981.
|
|
||||||
Allow time for pidfiles to be created, #178274.
|
|
||||||
Use int instead of char for getopt, #177202 #178084 thanks to drizztbsd.
|
|
||||||
|
|
||||||
11 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Store the defined random pool size, #177722 thanks to Yaroslav Isakov.
|
|
||||||
Use auto for /mnt/cdrom, #177990.
|
|
||||||
Use clock MONOTONIC to timeout, not localtime, #177514.
|
|
||||||
|
|
||||||
08 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
When we don't have an address return 1, #176577.
|
|
||||||
|
|
||||||
05 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix KV_to_int working with funky kernel versions, #177197.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_alpha2 (04 May 2007)
|
|
||||||
|
|
||||||
04 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix unicode keymaps, #173528.
|
|
||||||
Some fonts show the currency symbol instead of the Euro when doing
|
|
||||||
AltGr-E, so we provide an easy setting to fix this.
|
|
||||||
|
|
||||||
03 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Allow ip6to4 tunnels to use any derived address, #170290.
|
|
||||||
|
|
||||||
dns_sortlist and dns_options now work as documented, #175367.
|
|
||||||
|
|
||||||
02 May 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
SSD_NICELEVEL can now affect the nicelevel for daemons started
|
|
||||||
by start-stop-daemon, #175397.
|
|
||||||
|
|
||||||
Don't delete addresses for PPP interfaces, #176764.
|
|
||||||
|
|
||||||
30 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.
|
|
||||||
|
|
||||||
/etc/init.d/foo start and stop no longer exit when service is fully
|
|
||||||
started or stopped, #176452.
|
|
||||||
|
|
||||||
27 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
env-update now respects COLON_SEPARATED and SPACE_SEPARATED env.d
|
|
||||||
values, #176198.
|
|
||||||
|
|
||||||
26 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
checkroot and checkfs now use more friendly generic options, #116016.
|
|
||||||
|
|
||||||
25 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
We now have an alternative to buffering stdout and stderr.
|
|
||||||
RC_PREFIX="yes" will put the service name as a prefix to all output
|
|
||||||
made by the service. Thanks to Ciaran McCreesh for the idea.
|
|
||||||
|
|
||||||
24 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
We now buffer stdout and stderr to a file and flush that when running in
|
|
||||||
parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.
|
|
||||||
|
|
||||||
20 Apr 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Automatically mount selinuxfs on /selinux in localmount.
|
|
||||||
|
|
||||||
20 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Added the rc-abort command, #175106 thanks to Daniel Drake.
|
|
||||||
|
|
||||||
Plugins now run in a forked process for extra resliance.
|
|
||||||
|
|
||||||
17 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix bridge, vlan and bonding modules to work together, #174792.
|
|
||||||
env vars ECOLOR_GOOD and friends now override our hardcoded builtins.
|
|
||||||
|
|
||||||
16 Apr 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
Allow addons to pass up their exit status in import_addon.
|
|
||||||
|
|
||||||
Simplify /dev handling in init.sh and add mdev as an option.
|
|
||||||
|
|
||||||
16 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Punted the volumes init script. Volume handling will be handled by
|
|
||||||
init script that can be run at any point, even before checkroot.
|
|
||||||
|
|
||||||
Don't search for a space after interface names in /proc/net, #174792
|
|
||||||
thanks to Mike Auty.
|
|
||||||
|
|
||||||
13 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Fix module loading, #174360.
|
|
||||||
s-s-d now changes group when changing user, #174362.
|
|
||||||
netmask -> CIDR is worked out correctly #174341.
|
|
||||||
|
|
||||||
* baselayout-2.0.0_alpha1 (11 Apr 2007)
|
|
||||||
|
|
||||||
07 Apr 2007; Mike Frysinger <vapier@gentoo.org>:
|
|
||||||
|
|
||||||
"modules-update" -> "update-modules".
|
|
||||||
|
|
||||||
05 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
|
||||||
|
|
||||||
Rewrite the core parts in C. We now provide librc so other programs can
|
|
||||||
query runlevels, services and state without using bash. We also provide
|
|
||||||
libeinfo so other programs can easily use our informational functions.
|
|
||||||
|
|
||||||
As such, we have dropped the requirement of using bash as the init script
|
|
||||||
shell. We now use /bin/sh and have strived to make the scripts as portable
|
|
||||||
as possible. Shells that work are bash and dash. busybox works provided
|
|
||||||
you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
|
|
||||||
should disable find too.
|
|
||||||
zsh and ksh do not work at this time.
|
|
||||||
|
|
||||||
Networking support is currently being re-vamped also as it was heavily bash
|
|
||||||
array based. As such, a new config format is available like so
|
|
||||||
config_eth0="1.2.3.4/24 5.6.7.8/16"
|
|
||||||
or like so
|
|
||||||
config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"
|
|
||||||
|
|
||||||
We will still support the old bash array format provided that /bin/sh IS
|
|
||||||
a link it bash.
|
|
||||||
|
|
||||||
ChangeLog for baselayout-1 can be found in our SVN repo.
|
|
59
Makefile
59
Makefile
@ -1,19 +1,13 @@
|
|||||||
# baselayout Makefile
|
# Open Run Control Makefile
|
||||||
# Copyright 2006-2007 Gentoo Foundation
|
# Copyright 2006-2007 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
#
|
|
||||||
# We've moved the installation logic from Gentoo ebuild into a generic
|
|
||||||
# Makefile so that the ebuild is much smaller and more simple.
|
|
||||||
# It also has the added bonus of being easier to install on systems
|
|
||||||
# without an ebuild style package manager.
|
|
||||||
|
|
||||||
SUBDIRS = conf.d etc init.d man net sh share src
|
|
||||||
|
|
||||||
NAME = baselayout
|
|
||||||
VERSION = 2.0.0_rc6
|
|
||||||
|
|
||||||
|
NAME = openrc
|
||||||
|
VERSION = 1.0pre1
|
||||||
PKG = $(NAME)-$(VERSION)
|
PKG = $(NAME)-$(VERSION)
|
||||||
|
|
||||||
|
SUBDIRS = conf.d init.d man net sh src
|
||||||
|
|
||||||
ifeq ($(OS),)
|
ifeq ($(OS),)
|
||||||
OS=$(shell uname -s)
|
OS=$(shell uname -s)
|
||||||
ifneq ($(OS),Linux)
|
ifneq ($(OS),Linux)
|
||||||
@ -21,28 +15,15 @@ OS=BSD
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BASE_DIRS = $(RC_LIB)/init.d $(RC_LIB)/tmp
|
NET_LO = net.lo0
|
||||||
KEEP_DIRS = /boot /home /mnt /root \
|
|
||||||
/usr/local/bin /usr/local/sbin /usr/local/share/doc /usr/local/share/man \
|
|
||||||
/var/lock /var/run
|
|
||||||
|
|
||||||
ifeq ($(OS),Linux)
|
ifeq ($(OS),Linux)
|
||||||
KEEP_DIRS += /dev /sys
|
|
||||||
NET_LO = net.lo
|
NET_LO = net.lo
|
||||||
endif
|
endif
|
||||||
ifneq ($(OS),Linux)
|
|
||||||
NET_LO = net.lo0
|
|
||||||
endif
|
|
||||||
|
|
||||||
TOPDIR = .
|
TOPDIR = .
|
||||||
include $(TOPDIR)/default.mk
|
include $(TOPDIR)/default.mk
|
||||||
|
|
||||||
install::
|
install::
|
||||||
# These dirs may not exist from prior versions
|
|
||||||
for x in $(BASE_DIRS) ; do \
|
|
||||||
$(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \
|
|
||||||
touch $(DESTDIR)$$x/.keep || exit $$? ; \
|
|
||||||
done
|
|
||||||
# Don't install runlevels if they already exist
|
# Don't install runlevels if they already exist
|
||||||
if ! test -d $(DESTDIR)/etc/runlevels ; then \
|
if ! test -d $(DESTDIR)/etc/runlevels ; then \
|
||||||
(cd runlevels; $(MAKE) install) ; \
|
(cd runlevels; $(MAKE) install) ; \
|
||||||
@ -60,23 +41,6 @@ install::
|
|||||||
rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak ; \
|
rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
layout:
|
|
||||||
# Create base filesytem layout
|
|
||||||
for x in $(KEEP_DIRS) ; do \
|
|
||||||
$(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \
|
|
||||||
touch $(DESTDIR)$$x/.keep || exit $$? ; \
|
|
||||||
done
|
|
||||||
# Special dirs
|
|
||||||
install -m 0700 -d $(DESTDIR)/root || exit $$?
|
|
||||||
touch $(DESTDIR)/root/.keep || exit $$?
|
|
||||||
install -m 1777 -d $(DESTDIR)/var/tmp || exit $$?
|
|
||||||
touch $(DESTDIR)/var/tmp/.keep || exit $$?
|
|
||||||
install -m 1777 -d $(DESTDIR)/tmp || exit $$?
|
|
||||||
touch $(DESTDIR)/tmp/.keep || exit $$?
|
|
||||||
# FHS compatibility symlinks stuff
|
|
||||||
ln -snf /var/tmp $(DESTDIR)/usr/tmp || exit $$?
|
|
||||||
ln -snf share/man $(DESTDIR)/usr/local/man || exit $$?
|
|
||||||
|
|
||||||
diststatus:
|
diststatus:
|
||||||
if test -d .svn ; then \
|
if test -d .svn ; then \
|
||||||
svnfiles=`svn status 2>&1 | egrep -v '^(U|P)'` ; \
|
svnfiles=`svn status 2>&1 | egrep -v '^(U|P)'` ; \
|
||||||
@ -88,15 +52,6 @@ diststatus:
|
|||||||
fi \
|
fi \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
distforce:
|
|
||||||
rm -rf /tmp/$(PKG)
|
|
||||||
cp -pPR . /tmp/$(PKG)
|
|
||||||
$(MAKE) -C /tmp/$(PKG) clean
|
|
||||||
(find /tmp/$(PKG) -type d -name .svn -exec rm -rf {} \; 2>/dev/null; exit 0)
|
|
||||||
tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
|
|
||||||
rm -rf /tmp/$(PKG)
|
|
||||||
ls -l /tmp/$(PKG).tar.bz2
|
|
||||||
|
|
||||||
distit:
|
distit:
|
||||||
rm -rf /tmp/$(PKG)
|
rm -rf /tmp/$(PKG)
|
||||||
svn export . /tmp/$(PKG)
|
svn export . /tmp/$(PKG)
|
||||||
@ -107,6 +62,6 @@ distit:
|
|||||||
|
|
||||||
dist: diststatus distit
|
dist: diststatus distit
|
||||||
|
|
||||||
.PHONY: layout dist distforce distit diststatus
|
.PHONY: layout dist distit diststatus
|
||||||
|
|
||||||
# vim: set ts=4 :
|
# vim: set ts=4 :
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
SUBDIRS = env.d profile.d
|
|
||||||
|
|
||||||
DIR = /etc
|
|
||||||
FILES = hosts networks profile protocols rc.conf services shells
|
|
||||||
|
|
||||||
TOPDIR = ..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
@ -1,10 +0,0 @@
|
|||||||
# /etc/env.d/00basic
|
|
||||||
# Do not edit this file
|
|
||||||
|
|
||||||
PATH="/opt/bin"
|
|
||||||
ROOTPATH="/opt/bin"
|
|
||||||
LDPATH="/usr/local/lib"
|
|
||||||
MANPATH="/usr/local/share/man:/usr/share/man"
|
|
||||||
INFOPATH="/usr/share/info"
|
|
||||||
CVS_RSH="ssh"
|
|
||||||
CONFIG_PROTECT_MASK="/etc/gentoo-release"
|
|
@ -1,5 +0,0 @@
|
|||||||
DIR = /etc/env.d
|
|
||||||
FILES = 00basic
|
|
||||||
|
|
||||||
TOPDIR = ../..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
31
etc/hosts
31
etc/hosts
@ -1,31 +0,0 @@
|
|||||||
# /etc/hosts: Local Host Database
|
|
||||||
#
|
|
||||||
# This file describes a number of aliases-to-address mappings for the for
|
|
||||||
# local hosts that share this file.
|
|
||||||
#
|
|
||||||
# In the presence of the domain name service or NIS, this file may not be
|
|
||||||
# consulted at all; see /etc/host.conf for the resolution order.
|
|
||||||
#
|
|
||||||
|
|
||||||
# IPv4 and IPv6 localhost aliases
|
|
||||||
127.0.0.1 localhost
|
|
||||||
::1 localhost
|
|
||||||
|
|
||||||
#
|
|
||||||
# Imaginary network.
|
|
||||||
#10.0.0.2 myname
|
|
||||||
#10.0.0.3 myfriend
|
|
||||||
#
|
|
||||||
# According to RFC 1918, you can use the following IP networks for private
|
|
||||||
# nets which will never be connected to the Internet:
|
|
||||||
#
|
|
||||||
# 10.0.0.0 - 10.255.255.255
|
|
||||||
# 172.16.0.0 - 172.31.255.255
|
|
||||||
# 192.168.0.0 - 192.168.255.255
|
|
||||||
#
|
|
||||||
# In case you want to be able to connect directly to the Internet (i.e. not
|
|
||||||
# behind a NAT, ADSL router, etc...), you need real official assigned
|
|
||||||
# numbers. Do not try to invent your own network numbers but instead get one
|
|
||||||
# from your network provider (if any) or from your regional registry (ARIN,
|
|
||||||
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
|
|
||||||
#
|
|
@ -1,9 +0,0 @@
|
|||||||
# /etc/networks
|
|
||||||
#
|
|
||||||
# This file describes a number of netname-to-adress
|
|
||||||
# mappings for the TCP/IP subsytem. It is mostly
|
|
||||||
# used at boot time, when no name servers are running.
|
|
||||||
#
|
|
||||||
|
|
||||||
loopback 127.0.0.0
|
|
||||||
link-local 169.254.0.0
|
|
62
etc/profile
62
etc/profile
@ -1,62 +0,0 @@
|
|||||||
# /etc/profile: login shell setup
|
|
||||||
#
|
|
||||||
# That this file is used by any Bourne-shell derivative to setup the
|
|
||||||
# environment for login shells.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Load environment settings from profile.env, which is created by
|
|
||||||
# env-update from the files in /etc/env.d
|
|
||||||
if [ -e /etc/profile.env ] ; then
|
|
||||||
. /etc/profile.env
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 077 would be more secure, but 022 is generally quite realistic
|
|
||||||
umask 022
|
|
||||||
|
|
||||||
# Set up PATH depending on whether we're root or a normal user.
|
|
||||||
# There's no real reason to exclude sbin paths from the normal user,
|
|
||||||
# but it can make tab-completion easier when they aren't in the
|
|
||||||
# user's PATH to pollute the executable namespace.
|
|
||||||
#
|
|
||||||
# It is intentional in the following line to use || instead of -o.
|
|
||||||
# This way the evaluation can be short-circuited and calling whoami is
|
|
||||||
# avoided.
|
|
||||||
if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
|
|
||||||
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
|
|
||||||
else
|
|
||||||
PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
|
|
||||||
fi
|
|
||||||
export PATH
|
|
||||||
unset ROOTPATH
|
|
||||||
|
|
||||||
if [ -n "${BASH_VERSION}" ] ; then
|
|
||||||
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
|
|
||||||
# including color. We leave out color here because not all
|
|
||||||
# terminals support it.
|
|
||||||
if [ -f /etc/bash/bashrc ] ; then
|
|
||||||
# Bash login shells run only /etc/profile
|
|
||||||
# Bash non-login shells run only /etc/bash/bashrc
|
|
||||||
# Since we want to run /etc/bash/bashrc regardless, we source it
|
|
||||||
# from here. It is unfortunate that there is no way to do
|
|
||||||
# this *after* the user's .bash_profile runs (without putting
|
|
||||||
# it in the user's dot-files), but it shouldn't make any
|
|
||||||
# difference.
|
|
||||||
. /etc/bash/bashrc
|
|
||||||
else
|
|
||||||
PS1='\u@\h \w \$ '
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Setup a bland default prompt. Since this prompt should be useable
|
|
||||||
# on color and non-color terminals, as well as shells that don't
|
|
||||||
# understand sequences such as \h, don't put anything special in it.
|
|
||||||
if type whoami >/dev/null 2>/dev/null && \
|
|
||||||
type cut >/dev/null 2>/dev/null && \
|
|
||||||
type uname >/dev/null 2>/dev/null ; then
|
|
||||||
PS1="`whoami`@`uname -n | cut -f1 -d.` \$ "
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
for sh in /etc/profile.d/*.sh ; do
|
|
||||||
[ -r "$sh" ] && . "$sh"
|
|
||||||
done
|
|
||||||
unset sh
|
|
@ -1,4 +0,0 @@
|
|||||||
DIR = /etc/profile.d
|
|
||||||
|
|
||||||
TOPDIR = ../..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
147
etc/protocols
147
etc/protocols
@ -1,147 +0,0 @@
|
|||||||
#
|
|
||||||
# Internet protocols
|
|
||||||
#
|
|
||||||
# $FreeBSD: src/etc/protocols,v 1.20 2005/02/22 13:04:02 glebius Exp $
|
|
||||||
# from: @(#)protocols 5.1 (Berkeley) 4/17/89
|
|
||||||
#
|
|
||||||
# See also http://www.iana.org/assignments/protocol-numbers
|
|
||||||
#
|
|
||||||
ip 0 IP # internet protocol, pseudo protocol number
|
|
||||||
#hopopt 0 HOPOPT # hop-by-hop options for ipv6
|
|
||||||
icmp 1 ICMP # internet control message protocol
|
|
||||||
igmp 2 IGMP # internet group management protocol
|
|
||||||
ggp 3 GGP # gateway-gateway protocol
|
|
||||||
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
|
|
||||||
st2 5 ST2 # ST2 datagram mode (RFC 1819)
|
|
||||||
tcp 6 TCP # transmission control protocol
|
|
||||||
cbt 7 CBT # CBT, Tony Ballardie <A.Ballardie@cs.ucl.ac.uk>
|
|
||||||
egp 8 EGP # exterior gateway protocol
|
|
||||||
igp 9 IGP # any private interior gateway (Cisco: for IGRP)
|
|
||||||
bbn-rcc 10 BBN-RCC-MON # BBN RCC Monitoring
|
|
||||||
nvp 11 NVP-II # Network Voice Protocol
|
|
||||||
pup 12 PUP # PARC universal packet protocol
|
|
||||||
argus 13 ARGUS # ARGUS
|
|
||||||
emcon 14 EMCON # EMCON
|
|
||||||
xnet 15 XNET # Cross Net Debugger
|
|
||||||
chaos 16 CHAOS # Chaos
|
|
||||||
udp 17 UDP # user datagram protocol
|
|
||||||
mux 18 MUX # Multiplexing protocol
|
|
||||||
dcn 19 DCN-MEAS # DCN Measurement Subsystems
|
|
||||||
hmp 20 HMP # host monitoring protocol
|
|
||||||
prm 21 PRM # packet radio measurement protocol
|
|
||||||
xns-idp 22 XNS-IDP # Xerox NS IDP
|
|
||||||
trunk-1 23 TRUNK-1 # Trunk-1
|
|
||||||
trunk-2 24 TRUNK-2 # Trunk-2
|
|
||||||
leaf-1 25 LEAF-1 # Leaf-1
|
|
||||||
leaf-2 26 LEAF-2 # Leaf-2
|
|
||||||
rdp 27 RDP # "reliable datagram" protocol
|
|
||||||
irtp 28 IRTP # Internet Reliable Transaction Protocol
|
|
||||||
iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4
|
|
||||||
netblt 30 NETBLT # Bulk Data Transfer Protocol
|
|
||||||
mfe-nsp 31 MFE-NSP # MFE Network Services Protocol
|
|
||||||
merit-inp 32 MERIT-INP # MERIT Internodal Protocol
|
|
||||||
sep 33 SEP # Sequential Exchange Protocol
|
|
||||||
3pc 34 3PC # Third Party Connect Protocol
|
|
||||||
idpr 35 IDPR # Inter-Domain Policy Routing Protocol
|
|
||||||
xtp 36 XTP # Xpress Tranfer Protocol
|
|
||||||
ddp 37 DDP # Datagram Delivery Protocol
|
|
||||||
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport Proto
|
|
||||||
tp++ 39 TP++ # TP++ Transport Protocol
|
|
||||||
il 40 IL # IL Transport Protocol
|
|
||||||
ipv6 41 IPV6 # ipv6
|
|
||||||
sdrp 42 SDRP # Source Demand Routing Protocol
|
|
||||||
ipv6-route 43 IPV6-ROUTE # routing header for ipv6
|
|
||||||
ipv6-frag 44 IPV6-FRAG # fragment header for ipv6
|
|
||||||
idrp 45 IDRP # Inter-Domain Routing Protocol
|
|
||||||
rsvp 46 RSVP # Resource ReSerVation Protocol
|
|
||||||
gre 47 GRE # Generic Routing Encapsulation
|
|
||||||
mhrp 48 MHRP # Mobile Host Routing Protocol
|
|
||||||
bna 49 BNA # BNA
|
|
||||||
esp 50 ESP # encapsulating security payload
|
|
||||||
ah 51 AH # authentication header
|
|
||||||
i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA
|
|
||||||
swipe 53 SWIPE # IP with Encryption
|
|
||||||
narp 54 NARP # NBMA Address Resolution Protocol
|
|
||||||
mobile 55 MOBILE # IP Mobility
|
|
||||||
tlsp 56 TLSP # Transport Layer Security Protocol
|
|
||||||
skip 57 SKIP # SKIP
|
|
||||||
ipv6-icmp 58 IPV6-ICMP icmp6 # ICMP for IPv6
|
|
||||||
ipv6-nonxt 59 IPV6-NONXT # no next header for ipv6
|
|
||||||
ipv6-opts 60 IPV6-OPTS # destination options for ipv6
|
|
||||||
# 61 # any host internal protocol
|
|
||||||
cftp 62 CFTP # CFTP
|
|
||||||
# 63 # any local network
|
|
||||||
sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK
|
|
||||||
kryptolan 65 KRYPTOLAN # Kryptolan
|
|
||||||
rvd 66 RVD # MIT Remote Virtual Disk Protocol
|
|
||||||
ippc 67 IPPC # Internet Pluribus Packet Core
|
|
||||||
# 68 # any distributed filesystem
|
|
||||||
sat-mon 69 SAT-MON # SATNET Monitoring
|
|
||||||
visa 70 VISA # VISA Protocol
|
|
||||||
ipcv 71 IPCV # Internet Packet Core Utility
|
|
||||||
cpnx 72 CPNX # Computer Protocol Network Executive
|
|
||||||
cphb 73 CPHB # Computer Protocol Heart Beat
|
|
||||||
wsn 74 WSN # Wang Span Network
|
|
||||||
pvp 75 PVP # Packet Video Protocol
|
|
||||||
br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring
|
|
||||||
sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary
|
|
||||||
wb-mon 78 WB-MON # WIDEBAND Monitoring
|
|
||||||
wb-expak 79 WB-EXPAK # WIDEBAND EXPAK
|
|
||||||
iso-ip 80 ISO-IP # ISO Internet Protocol
|
|
||||||
vmtp 81 VMTP # Versatile Message Transport
|
|
||||||
secure-vmtp 82 SECURE-VMTP # SECURE-VMTP
|
|
||||||
vines 83 VINES # VINES
|
|
||||||
ttp 84 TTP # TTP
|
|
||||||
nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP
|
|
||||||
dgp 86 DGP # Dissimilar Gateway Protocol
|
|
||||||
tcf 87 TCF # TCF
|
|
||||||
eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco)
|
|
||||||
ospf 89 OSPFIGP # Open Shortest Path First IGP
|
|
||||||
sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol
|
|
||||||
larp 91 LARP # Locus Address Resolution Protocol
|
|
||||||
mtp 92 MTP # Multicast Transport Protocol
|
|
||||||
ax.25 93 AX.25 # AX.25 Frames
|
|
||||||
ipip 94 IPIP # Yet Another IP encapsulation
|
|
||||||
micp 95 MICP # Mobile Internetworking Control Pro.
|
|
||||||
scc-sp 96 SCC-SP # Semaphore Communications Sec. Pro.
|
|
||||||
etherip 97 ETHERIP # Ethernet-within-IP Encapsulation
|
|
||||||
encap 98 ENCAP # Yet Another IP encapsulation
|
|
||||||
# 99 # any private encryption scheme
|
|
||||||
gmtp 100 GMTP # GMTP
|
|
||||||
ifmp 101 IFMP # Ipsilon Flow Management Protocol
|
|
||||||
pnni 102 PNNI # PNNI over IP
|
|
||||||
pim 103 PIM # Protocol Independent Multicast
|
|
||||||
aris 104 ARIS # ARIS
|
|
||||||
scps 105 SCPS # SCPS
|
|
||||||
qnx 106 QNX # QNX
|
|
||||||
a/n 107 A/N # Active Networks
|
|
||||||
ipcomp 108 IPComp # IP Payload Compression Protocol
|
|
||||||
snp 109 SNP # Sitara Networks Protocol
|
|
||||||
compaq-peer 110 Compaq-Peer # Compaq Peer Protocol
|
|
||||||
ipx-in-ip 111 IPX-in-IP # IPX in IP
|
|
||||||
carp 112 CARP vrrp # Common Address Redundancy Protocol
|
|
||||||
pgm 113 PGM # PGM Reliable Transport Protocol
|
|
||||||
# 114 # any 0-hop protocol
|
|
||||||
l2tp 115 L2TP # Layer Two Tunneling Protocol
|
|
||||||
ddx 116 DDX # D-II Data Exchange
|
|
||||||
iatp 117 IATP # Interactive Agent Transfer Protocol
|
|
||||||
st 118 ST # Schedule Transfer
|
|
||||||
srp 119 SRP # SpectraLink Radio Protocol
|
|
||||||
uti 120 UTI # UTI
|
|
||||||
smp 121 SMP # Simple Message Protocol
|
|
||||||
sm 122 SM # SM
|
|
||||||
ptp 123 PTP # Performance Transparency Protocol
|
|
||||||
isis 124 ISIS # ISIS over IPv4
|
|
||||||
fire 125 FIRE
|
|
||||||
crtp 126 CRTP # Combat Radio Transport Protocol
|
|
||||||
crudp 127 CRUDP # Combat Radio User Datagram
|
|
||||||
sscopmce 128 SSCOPMCE
|
|
||||||
iplt 129 IPLT
|
|
||||||
sps 130 SPS # Secure Packet Shield
|
|
||||||
pipe 131 PIPE # Private IP Encapsulation within IP
|
|
||||||
sctp 132 SCTP # Stream Control Transmission Protocol
|
|
||||||
fc 133 FC # Fibre Channel
|
|
||||||
# 134-254 # Unassigned
|
|
||||||
pfsync 240 PFSYNC # PF Synchronization
|
|
||||||
# 255 # Reserved
|
|
||||||
divert 258 DIVERT # Divert pseudo-protocol [non IANA]
|
|
32
etc/rc.conf
32
etc/rc.conf
@ -1,32 +0,0 @@
|
|||||||
# /etc/rc.conf: Global startup script configuration settings
|
|
||||||
|
|
||||||
# UNICODE specifies whether you want to have UNICODE support in the console.
|
|
||||||
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
|
|
||||||
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.
|
|
||||||
|
|
||||||
UNICODE="no"
|
|
||||||
|
|
||||||
# You should set EDITOR and PAGER in a file in /etc/profile.d/ like "base.sh".
|
|
||||||
|
|
||||||
# XSESSION is a new variable to control what window manager to start
|
|
||||||
# default with X if run with xdm, startx or xinit. The default behavior
|
|
||||||
# is to look in /etc/X11/Sessions/ and run the script in matching the
|
|
||||||
# value that XSESSION is set to. The support scripts are smart enough to
|
|
||||||
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
|
|
||||||
# so setting it to "enlightenment" can also work. This is basically used
|
|
||||||
# as a way for the system admin to configure a default system wide WM,
|
|
||||||
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
|
|
||||||
#
|
|
||||||
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
|
|
||||||
# is called.
|
|
||||||
# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
|
|
||||||
# be executed rather than ~/.xsession, else KDM breaks ...
|
|
||||||
#
|
|
||||||
# Defaults depending on what you install currently include:
|
|
||||||
#
|
|
||||||
# Gnome - will start gnome-session
|
|
||||||
# kde-<version> - will start startkde (look in /etc/X11/Sessions/)
|
|
||||||
# Xsession - will start a terminal and a few other nice apps
|
|
||||||
# Xfce4 - will start a XFCE4 session
|
|
||||||
|
|
||||||
#XSESSION="Gnome"
|
|
1180
etc/services
1180
etc/services
File diff suppressed because it is too large
Load Diff
10
etc/shells
10
etc/shells
@ -1,10 +0,0 @@
|
|||||||
# /etc/shells: valid login shells
|
|
||||||
/bin/bash
|
|
||||||
/bin/csh
|
|
||||||
/bin/esh
|
|
||||||
/bin/fish
|
|
||||||
/bin/ksh
|
|
||||||
/bin/sash
|
|
||||||
/bin/sh
|
|
||||||
/bin/tcsh
|
|
||||||
/bin/zsh
|
|
@ -1,5 +0,0 @@
|
|||||||
DIR = /usr/share/man
|
|
||||||
MANS = modules.autoload.5
|
|
||||||
|
|
||||||
TOPDIR = ..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
@ -1,19 +0,0 @@
|
|||||||
.TH MODULES.AUTOLOAD 5 "Gentoo Linux" "Nov 2001"
|
|
||||||
.SH NAME
|
|
||||||
\fI/etc/modules.autoload\fR - kernel modules to load at boot time
|
|
||||||
.SH DESCRIPTION
|
|
||||||
.PP
|
|
||||||
The \fI/etc/modules.autoload\fR
|
|
||||||
file contains the names of kernel modules that are to be loaded at boot
|
|
||||||
time, one per line. Arguments can be given on the same line as the module
|
|
||||||
name. Comments begin with a `#', and everything on the line after it is
|
|
||||||
ignored. This file is read by the \fI/etc/init.d/modules\fR initscript,
|
|
||||||
which is usually linked in the \fI/etc/runlevels/boot\fR directory.
|
|
||||||
.SH "SEE ALSO"
|
|
||||||
.BR update-modules (8),
|
|
||||||
.BR modprobe (8),
|
|
||||||
.BR modules.conf (5)
|
|
||||||
.TP
|
|
||||||
The \fI/sbin/update-modules\fR script.
|
|
||||||
.TP
|
|
||||||
The files in \fI/etc/modules.d\fR.
|
|
@ -1,6 +0,0 @@
|
|||||||
DIR = /usr/share/baselayout
|
|
||||||
FILES = fstab group
|
|
||||||
FILES_SECURE = master.passwd
|
|
||||||
|
|
||||||
TOPDIR = ..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
@ -1,21 +0,0 @@
|
|||||||
# /etc/fstab: static file system information.
|
|
||||||
#
|
|
||||||
# noatime turns off atimes for increased performance (atimes normally aren't
|
|
||||||
# needed.
|
|
||||||
#
|
|
||||||
# The root filesystem should have a pass number of either 0 or 1.
|
|
||||||
# All other filesystems should have a pass number of 0 or greater than 1.
|
|
||||||
#
|
|
||||||
# See the manpage fstab(5) for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
# <fs> <mountpoint> <type> <opts> <dump/pass>
|
|
||||||
|
|
||||||
/dev/ad0s1a / ufs rw,noatime 1 1
|
|
||||||
/dev/ad0s1b none swap sw 0 0
|
|
||||||
|
|
||||||
/dev/acd0 /mnt/cdrom cd9660 ro,noauto 0 0
|
|
||||||
|
|
||||||
# Enable this line to mount /proc automatically.
|
|
||||||
# Required for Linux emulation.
|
|
||||||
#none /proc linprocfs rw,noexec,nosuid 0 0
|
|
@ -1,18 +0,0 @@
|
|||||||
wheel:*:0:root
|
|
||||||
daemon:*:1:
|
|
||||||
kmem:*:2:
|
|
||||||
sys:*:3:
|
|
||||||
tty:*:4:
|
|
||||||
operator:*:5:root
|
|
||||||
mail:*:6:
|
|
||||||
bin:*:7:
|
|
||||||
news:*:8:
|
|
||||||
audio:*:18:
|
|
||||||
guest:*:31:
|
|
||||||
uucp:*:66:
|
|
||||||
dialer:*:68:
|
|
||||||
network:*:69:
|
|
||||||
users:*:100:games
|
|
||||||
portage:*:250:
|
|
||||||
nogroup:*:65533:
|
|
||||||
nobody:*:65534:
|
|
@ -1,15 +0,0 @@
|
|||||||
root:*:0:0::0:0:GOD:/root:/bin/bash
|
|
||||||
toor:*:0:0::0:0:Bourne-again Superuser:/root:
|
|
||||||
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
|
|
||||||
operator:*:2:5::0:0:System Operator:/:/usr/sbin/nologin
|
|
||||||
bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin
|
|
||||||
tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin
|
|
||||||
kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin
|
|
||||||
mail:*:6:6::0:0:Mail programs:/var/spool/mail:/usr/sbin/nologin
|
|
||||||
games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin
|
|
||||||
news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin
|
|
||||||
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
|
|
||||||
smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin
|
|
||||||
uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
|
|
||||||
portage:*:250:250::0:0:Portage user:/var/tmp/portage/homedir:/bin/sh
|
|
||||||
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
|
|
@ -1,6 +0,0 @@
|
|||||||
DIR = /usr/share/baselayout
|
|
||||||
FILES = fstab issue.devfix group passwd
|
|
||||||
FILES_SECURE = shadow
|
|
||||||
|
|
||||||
TOPDIR = ..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
@ -1,25 +0,0 @@
|
|||||||
# /etc/fstab: static file system information.
|
|
||||||
#
|
|
||||||
# noatime turns off atimes for increased performance (atimes normally aren't
|
|
||||||
# needed; notail increases performance of ReiserFS (at the expense of storage
|
|
||||||
# efficiency). It's safe to drop the noatime options if you want and to
|
|
||||||
# switch between notail / tail freely.
|
|
||||||
#
|
|
||||||
# The root filesystem should have a pass number of either 0 or 1.
|
|
||||||
# All other filesystems should have a pass number of 0 or greater than 1.
|
|
||||||
#
|
|
||||||
# See the manpage fstab(5) for more information.
|
|
||||||
#
|
|
||||||
# Keep in mind that the boot scripts will ignore many of the core mounts
|
|
||||||
# (like /proc or /dev or /dev/shm) unless you set RC_USE_FSTAB in your
|
|
||||||
# /etc/conf.d/rc file appropriately.
|
|
||||||
#
|
|
||||||
|
|
||||||
# <fs> <mountpoint> <type> <opts> <dump/pass>
|
|
||||||
|
|
||||||
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
|
|
||||||
/dev/BOOT /boot ext2 noauto,noatime 1 2
|
|
||||||
/dev/ROOT / ext3 noatime 0 1
|
|
||||||
/dev/SWAP none swap sw 0 0
|
|
||||||
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
|
|
||||||
/dev/fd0 /mnt/floppy auto noauto 0 0
|
|
@ -1,26 +0,0 @@
|
|||||||
root::0:root
|
|
||||||
bin::1:root,bin,daemon
|
|
||||||
daemon::2:root,bin,daemon
|
|
||||||
sys::3:root,bin,adm
|
|
||||||
adm::4:root,adm,daemon
|
|
||||||
tty::5:
|
|
||||||
disk::6:root,adm
|
|
||||||
lp::7:lp
|
|
||||||
mem::8:
|
|
||||||
kmem::9:
|
|
||||||
wheel::10:root
|
|
||||||
floppy::11:root
|
|
||||||
news::13:news
|
|
||||||
uucp::14:uucp
|
|
||||||
console::17:
|
|
||||||
audio::18:
|
|
||||||
cdrom::19:
|
|
||||||
tape::26:root
|
|
||||||
video::27:root
|
|
||||||
cdrw::80:
|
|
||||||
usb::85:
|
|
||||||
users::100:games
|
|
||||||
portage::250:portage
|
|
||||||
utmp:x:406:
|
|
||||||
nogroup::65533:
|
|
||||||
nobody::65534:
|
|
@ -1,21 +0,0 @@
|
|||||||
-----------------------------------------------------
|
|
||||||
Your system seems to be missing critical device files
|
|
||||||
in /dev ! Although you may be running udev or devfs,
|
|
||||||
the root partition is missing these required files !
|
|
||||||
|
|
||||||
To rectify this situation, please do the following:
|
|
||||||
mkdir /mnt/fixit
|
|
||||||
mount --bind / /mnt/fixit
|
|
||||||
cp -a --remove-destination /dev/* /mnt/fixit/dev/
|
|
||||||
umount /mnt/fixit
|
|
||||||
rmdir /mnt/fixit
|
|
||||||
|
|
||||||
You may refer to these instructions at /etc/issue.
|
|
||||||
If you previously had an issue file, it has been
|
|
||||||
backed up at /etc/issue.devfix. Once you've fixed
|
|
||||||
your system, you will have to restore your old issue
|
|
||||||
file in order to get rid of this warning.
|
|
||||||
|
|
||||||
Thanks for using Gentoo ! :)
|
|
||||||
http://bugs.gentoo.org/show_bug.cgi?id=40987
|
|
||||||
-----------------------------------------------------
|
|
@ -1,13 +0,0 @@
|
|||||||
root:x:0:0:root:/root:/bin/bash
|
|
||||||
bin:x:1:1:bin:/bin:/bin/false
|
|
||||||
daemon:x:2:2:daemon:/sbin:/bin/false
|
|
||||||
adm:x:3:4:adm:/var/adm:/bin/false
|
|
||||||
lp:x:4:7:lp:/var/spool/lpd:/bin/false
|
|
||||||
sync:x:5:0:sync:/sbin:/bin/sync
|
|
||||||
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
|
|
||||||
halt:x:7:0:halt:/sbin:/sbin/halt
|
|
||||||
news:x:9:13:news:/var/spool/news:/bin/false
|
|
||||||
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
|
|
||||||
operator:x:11:0:operator:/root:/bin/bash
|
|
||||||
portage:x:250:250:portage:/var/tmp/portage:/bin/false
|
|
||||||
nobody:x:65534:65534:nobody:/:/bin/false
|
|
@ -1,16 +0,0 @@
|
|||||||
root:*:10770:0:::::
|
|
||||||
halt:*:9797:0:::::
|
|
||||||
operator:*:9797:0:::::
|
|
||||||
shutdown:*:9797:0:::::
|
|
||||||
sync:*:9797:0:::::
|
|
||||||
bin:*:9797:0:::::
|
|
||||||
daemon:*:9797:0:::::
|
|
||||||
adm:*:9797:0:::::
|
|
||||||
lp:*:9797:0:::::
|
|
||||||
mail:*:9797:0:::::
|
|
||||||
postmaster:*:9797:0:::::
|
|
||||||
news:*:9797:0:::::
|
|
||||||
uucp:*:9797:0:::::
|
|
||||||
games:*:9797:0:::::
|
|
||||||
guest:*:9797:0:::::
|
|
||||||
nobody:*:9797:0:::::
|
|
@ -1,4 +0,0 @@
|
|||||||
# Empty Makefile as share is currently OS specific
|
|
||||||
|
|
||||||
TOPDIR = ..
|
|
||||||
include $(TOPDIR)/default.mk
|
|
Loading…
x
Reference in New Issue
Block a user