| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
to see if a prior devfs has been mounted. If no devfs is mounted on
${jail_devdir}/dev then proceed. This will prevent the stack up of
multiple devfs mounts on the same mount point.
Discussed with: pjd
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to run initdiskless before we run rcorder on /etc/rc.d. To allow this,
move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly
from /etc/rc.
Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start
with entropy unblocked) and was only used by initdiskless when it
was needed.
Discussed on: freebsd-rc
Repocopy by: peter
|
|
|
|
|
|
| |
this wasn't there already... it makes much more sense this way.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this flag, if the symlink existed already a new symlink would
be created in the source directory. While harmless if the two symlinks
were the same, it nonetheless caused pointless confusion.
The pathological case is that when there is an existing /etc/namedb
symlink, but named_chrootdir in rc.conf pointed to a different
directory, it was the symlink in /var/named that was getting
updated, not the one in /etc. This led to some difficult to diagnose
problems for users.
|
|
|
|
| |
Reviewed by: harti
|
|
|
|
|
|
|
|
|
| |
sockets placed into prisons from the host environment get clobbered
by the prison's instance of cleanvar. (assuming /etc/rc is run in
the prison).
Discussed with: pjd, green, cperciva
MFC after: 1 week
|
|
|
|
| |
swap device listed in /etc/fstab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
save file was /var/db/entropy, which also happens to
be the directory where the individual entropy files
created by /usr/libexec/save-entropy are stored.
Change the suggestion to be /var/db/entropy-file
instead.
In an error condition where the shutdown file is not
created, the error message accessed a variable that
doesn't exist.
PR: conf/75722
Submitted by: Nicolas Rachinsky <list@rachinsky.de>
|
|
|
|
|
|
|
|
|
| |
systems that boot with this value at the lowest setting. Change the
default boot config back to "leave frequency as BIOS set it". Also, fix
buglet where acpi_throttle wouldn't be used if p4tcc was present but
disabled by the user.
MFC after: 1 week
|
|
|
|
| |
This gives a better chance of debugging /dev/random related panics.
|
|
|
|
|
|
|
|
|
| |
entries that way when rules are read in, it doesn't break established
connections.
Approved by: mlaier
Reviewed by: rc
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
on boot, force it to HIGH. This is needed for some systems which appear
to boot with a low acpi_throttle setting by default. Thanks to Christian
Brueffer for tracking this down on his system.
MFC after: 1 day
|
|
|
|
|
|
| |
This will allow better integration with the ports system.
Submitted by: clement
|
|
|
|
|
| |
PR: conf/35242
Submitted by: Annihilator <annihilator.c@usa.net>
|
|
|
|
|
| |
Reported by: Martin Jakob, on freebsd-stable@
MFC after: 1 month
|
|
|
|
|
| |
Approved by: kris
MFC after: 3 days
|
|
|
|
|
|
|
| |
BEFORE instead of REQUIRE.
Probably ok by: jhb
MFC after: 3 days
|
|
|
|
| |
ipdivert.ko module a chance to load.
|
|
|
|
| |
Forgotten by: trhodes (the real one)
|
|
|
|
|
|
| |
or build the policy into a kernel.
Approved by: rwatson
|
|
|
|
| |
and do exactly what last commit message described.
|
|
|
|
| |
CVS ----------------------------------------------------------------------
|
|
|
|
| |
Submitted by: Alexander Peresunko
|
| |
|
|
|
|
|
| |
Reported by: Tai-hwa Liang <avatar at mmlab dot cse dot yzu dot edu dot tw>
Point hat: brooks
|
|
|
|
|
|
|
|
|
|
|
|
| |
default for now. Default flags create missing directories.
Remove comment about doing this in etc/rc.d/var.
Unlike in the PR, I chose to do this in the lpd script where we reliably
have /usr available.
PR: conf/71488
Submitted by: RZ-FreeBSD0904 at fh-karlsruhe dot de
|
|
|
|
|
|
|
| |
to hit this case when /usr is remote and thus hasn't been mounted (since
you're supposed to have /var before mounting remote file systems).
Normal machines that don't have a /var for some reason will have /usr
already available because it's local.
|
|
|
|
|
|
|
|
|
| |
automaticly created at boot. There's no need to maintain a list of
files and permissions in multiple places. This also means binary
updates won't stomp on log files.
For the record, utmp is created in etc/rc.d/cleanvar, wtmp and lastlog
in etc/rc.d/var, and the reset via etc/rc.d/newsyslog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Enable it by default, running newsyslog with -CN which creates files
that have the C flag specified in /etc/newsyslog.conf.
- Remove the "newsyslog -CC" call from etc/rc.d/var and the check for
newsyslog.
- Add the C flag to entries in /etc/newsyslog.conf that are currently
installed as part of the base system.
There are two effects from this change:
- Users who delete default syslog files to stop logging to them
will need to set newsyslog_enable=NO in rc.conf or remove the C
flag from those file in /etc/newsyslog.conf or they will come back
on the next boot.
- Diskless systems now create the same set of files that ordinary
systems have by default instead of every file in newsyslog.conf.
|
|
|
|
|
|
|
| |
to create /var/log/lastlog.
- Also create /var/log/wtmp if missing.
- Attempt to create these files unless populate_var is NO rather then
only when /var is empty or populate_var=YES.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
bus one is not needed) and ifdef _KERNEL added.
PR: kern/74215
MFC after: 1 day
|
|
|
|
| |
Submitted by: Pawel Worach
|
|
|
|
|
| |
a mobile Celeron, disable it by default for the release. We'll have to
nail the last few cases later.
|
|
|
|
| |
up to the build.
|
| |
|
| |
|
|
|
|
|
|
| |
given power profile.
MFC after: 1 day
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
| |
Approved by: grehan (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hosts to share an IP address, providing high availability and load
balancing.
Original work on CARP done by Michael Shalayeff, with many
additions by Marco Pfatschbacher and Ryan McBride.
FreeBSD port done solely by Max Laier.
Patch by: mlaier
Obtained from: OpenBSD (mickey, mcbride)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this can cause a really heavy load on system. Several kernel debugging
messages can be triggered even remotely (e.g. bad ARP replies).
Use kern.warning instead, so that really significant messages still
will be printed on console.
Reviewed by: current@
MFC after: 1 week
Security: this change fixes a DoS condition, when default system
console is serial, and box is flooded with bogus ARP
packets
|
|
|
|
|
|
| |
frequencies are specified with performance_cpu_freq and economy_cpu_freq.
Of course, special values LOW and HIGH are also supported. Also, remove
old throttling support.
|
| |
|
|
|
|
| |
tr(1)/sed(1)/awk(1).
|
|
|
|
|
|
| |
uart(4) is the default driver.
MFC after: 2 weeks
|
|
|
|
| |
Suggested by: simon
|
|
|
|
|
| |
PR: docs/35648
Submitted by: Gary W. Swearingen
|