freebsd-src/etc
Pawel Jakub Dawidek d5d7e76d2b Currently there is a problem with fscking UFS file systems created on
top of ZVOLs. The problem is that rc.d/fsck runs before rc.d/zfs. The
latter makes ZVOLs to appear in /dev/. In such case rc.d/fsck cannot
find devfs entry and aborts. We cannot simply move rc.d/zfs before
rc.d/fsck, because we first want kern.hostid to be configured (by
rc.d/hostid). If we won't wait (hostid will be 0) we can reuse disks
which are in use by different systems (eg. in SAN/NAS environment).
We also cannot move rc.d/hostid before rc.d/fsck, because rc.d/hostid on
first system start stores generated kern.hostuuid in /etc/hostid file,
so it needs root file system to be mounted read-write.

The fix is to split rc.d/hostid so that rc.d/hostid (which will now run
before rc.d/fsck) only generates hostid and sets up sysctls, but doesn't
touch root file system and rc.d/hostid_save (which is run after
rc.d/root) and only creates /etc/hostid file.

With that in place, we can move ZVOL initialization to dedicated
rc.d/zvol script which runs before rc.d/fsck.

PR:		conf/120194
Reported by:	James Snow <snow@teardrop.org>
Reviewed by:	brooks
Approved by:	re (kib)
MFC after:	2 weeks
2009-07-29 05:23:52 +00:00
..
bluetooth
defaults rc.d/fsck: allow additional options for fsck_y_enable via fsck_y_flags 2009-06-10 19:03:23 +00:00
devd
etc.amd64 Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
etc.arm Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
etc.i386 Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
etc.ia64 Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
etc.mips Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
etc.powerpc Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
etc.sparc64 Remove the note about using vt220, which makes no sense at all. 2009-06-14 22:35:33 +00:00
gss
mail Add the URL for RFC2142 2009-03-23 00:40:07 +00:00
mtree Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
namedb 1. New feature; option to have the script loop until a specified hostname 2009-05-16 20:55:28 +00:00
pam.d Remove gdm as it is no longer needed. 2009-07-18 16:29:40 +00:00
periodic Rather than using both -prune (which requires directory-first tree traversal) 2009-06-02 07:35:51 +00:00
ppp
rc.d Currently there is a problem with fscking UFS file systems created on 2009-07-29 05:23:52 +00:00
root
sendmail
amd.map
apmd.conf
auth.conf
crontab Remove HOME= - this has surprised me several times in the past. 2009-06-14 06:37:19 +00:00
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf o Add missed semicolon in action script. 2009-05-16 15:12:56 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers
gettytab
group
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf
libalias.conf
login.access
login.conf Usermode portion of the support for swap allocation accounting: 2009-06-23 20:57:27 +00:00
mac.conf
Makefile Welcome to a default installed /etc/ntp.conf 2009-06-07 13:26:57 +00:00
man.alias
master.passwd
minfree
motd
netconfig
netstart Add hostid to the ranks. 2009-03-19 12:52:19 +00:00
network.subr rtsol should not be run on the wireless NIC interfaces directly, 2009-06-26 01:27:16 +00:00
networks
newsyslog.conf
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf
ntp.conf 1) Use our vendor domain at the pool. 2009-07-13 05:51:33 +00:00
opieaccess
pccard_ether
pf.os
phones
portsnap.conf Add INDEX-8 to the default portsnap configuration file, and remove INDEX-5. 2009-07-27 20:24:00 +00:00
printcap
profile
protocols
rc
rc.bsdextended
rc.firewall
rc.firewall6
rc.initdiskless
rc.resume
rc.sendmail
rc.shutdown
rc.subr Now that the last of the *.sh scripts are gone from the base, 2009-05-30 21:41:54 +00:00
rc.suspend
regdomain.xml
remote
rpc
services
shells
snmpd.config
sysctl.conf
syslog.conf syslog.conf: pop up from logging only ppp messages at the end of file 2009-06-11 15:07:02 +00:00
termcap.small Sync termcap.small with main termcap; add xterm entry for libteken 2009-06-13 13:35:18 +00:00