| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
- Note that diskless_remount files may use ".." to support mounts above
the root path.
- Copy dot files when populating directories from /conf. [1]
PR: misc/102724 [1]
Submitted by: Attila Nagy <bra at fsn.hu> [1]
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
login.conf resource limits and features.
|
|
|
|
|
|
| |
repository.
Sponsored by: FreeBSD security development fundraiser
|
|
|
|
|
| |
that local changes can be made more easily (without having to comment
these lines, and making the diff more readable).
|
| |
|
|
|
|
|
|
|
| |
(i.e., what it was almost certainly at before powerd was started).
Submitted by: R.B. Riddick
MFC after: 3 days
|
|
|
|
| |
Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>
|
|
|
|
|
|
| |
is not UID/GID 0, limits will be ignored and a strange error sent to auth.log.
Head nod: ru, rwatson
|
| |
|
|
|
|
|
|
| |
/conf/base/diskless_remount -> /conf/base/etc/diskless_remount
MFC after: 3 days
|
|
|
|
|
|
|
| |
Reported by: David Thompson <dat1965@yahoo.com>
Discussed on: -rc (brooks)
Approved by: cperciva (mentor, implicit)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
certain conditions. I haven't been able to find a better solution yet:
- Set a two read-only variables (${prefix} and ${etcdir}). This is
especially useful when using /etc/rc.d scripts with third-party
software installed from ports.
- Fix rc.d/sshd to work with openssh from ports using ${etcdir}
instead of hardcoded /etc.
- Reflect prefix/etcdir changes in rc.subr.8.
src/etc/rc.d/sshd: rev 1.9 -> 1.10
src/etc/rc.subr: rev 1.51 -> 1.52
src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12
Approved by: cperciva (mentor)
|
|
|
|
|
|
| |
- Update ObsoleteFiles.inc.
Approved by: cperciva (mentor)
|
|
|
|
| |
Reported by: Dominique Goncalves <dominique.goncalves at gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
it limits the width of its output to the value of $COLUMNS, or
what TIOCGWINSZ reports, or 79 columns. We should specify -ww
to ps(1) so that it removes the limit and prints lines in full.
Otherwise very long command pathnames could be mishandled, e.g.,
by _find_processes().
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
to specified dhclient flags.
Mention background_dhclient_iface.
Suggested by: ru
|
|
|
|
| |
Spotted by: ru
|
|
|
|
|
|
|
|
|
|
| |
despite the interface link status.
Add dhclient_flags_iface and background_dhclient_iface rc.conf options.
(where iface is a specific interface). These can be used to give
interface specific flags to dhclient.
Reviewed by: brooks@
|
|
|
|
|
|
|
|
| |
The order in _doit must be "nice su", not "su nice", for that.
In addition, don't ignore the exit status from "cd $foo_chdir".
Reviewed by: freebsd-rc (silence)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
touch interfaces that don't actually exist in the stop case. In the
process move some IPv4 specific code from ifconfig_down to ipv4_down.
This should solve problems with ifconfig: error messages on boot when
interfaces are renamed.
|
|
|
|
|
|
|
|
| |
thing to do in most (all?) cases and certainly should not be the default
now that we're running pccard_ether on all interface creates and
destroys.
MFC after: 3 days
|
|
|
|
|
|
| |
and so users get hangs until interrupts are generated another way. We'll
have to find a way to make the 2 work together before re-enabling this by
default.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
PowerPC-based Apple's machines and small utility to do it from
userland modelled after the similar utility in Darwin/OSX.
Only tested on 1.25GHz G4 Mac Mini.
MFC after: 1 month
|
|
|
|
|
| |
surprising results. For now, at least make it safe to boot the default
kernel when /boot/kernel is already a symlink.
|
| |
|
|
|
|
|
|
|
| |
test(1) is built in sh(1) and it always evaluates
both sides of -a or -o, unlike && or || in sh(1).
Requested by: dougb
|
| |
|
|
|
|
|
| |
Skip useless work when ${natd_interface} is unset.
Double quote user-supplied vars unless there is a reason not to.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Messages should end in full stop unless
that can lead to confusion.
|
| |
|
|
|
|
| |
rc.conf(5) knobs, too: osf1_enable, unaligned_print.
|
|
|
|
|
|
|
|
|
|
| |
and replace it with a new ntpdate_config variable.
- Document it in defaults/rc.conf and rc.conf.5.
- Document ntpdate_hosts in defaults/rc.conf.
Requested by: Chris Timmons <cwt@networks.cwu.edu>
Approved by: cperciva (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not be mounted unless the -l flag was specified.
Add an rc script, mountlate, which basically runs 'mount -a -l'. It runs
after DAEMON but before LOGIN.
This is useful for things like loopback mounts, because mountcritremote
runs before mountd / nfsd (since /usr might be a remote file system), so
an attempt to mount a loopback network file system in mountcritremote will
fail.
Also add a progress message to mountcritlocal, for the sake of symmetry
with similar messages in mountcritremote and mountlate.
Reviewed by: freebsd-rc
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
expect to see quite a few files appearing in libdata/ldconfig directories.
This change avoids the screen to be filled with the names of those ldconfig
files and replace them by the actual non-default directories they contain.
Most of them will be ${PREFIX}/lib so, 'sort -u' will help reducing the
output.
Approved by: cperciva (implicit)
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
of them do that conditionally depending on kldstat. The code is
duplicated all over, but bugs can be uniqie.
To make the things more consistent, introduce a new rc.subr function,
load_kld, which takes care of loading a kernel module conditionally.
(Found this lying for a while in my p4 branch for various hacks.)
|
|
|
|
|
|
| |
PR: conf/96658
Submitted by: James Snow
MFC after: 1 week
|
| |
|