| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
(i.e., what it was almost certainly at before powerd was started).
Submitted by: R.B. Riddick
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)
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
| |
surprising results. For now, at least make it safe to boot the default
kernel when /boot/kernel is already a symlink.
|
| |
|
|
|
|
|
| |
Skip useless work when ${natd_interface} is unset.
Double quote user-supplied vars unless there is a reason not to.
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
o Add shutdown KEYWORD;
o Remove PID check;
o Stop auditd with '-t'
o General cleanup.
|
|
|
|
| |
Requested by: ceri
|
| |
|
| |
|
|
|
|
|
|
|
| |
automaticly add it to an Ethernet bridge. This is intended for applications
such as qemu, vmware, openvpn, ... which open tap interfaces and need them
bridged with the hosts network adapter, the user can set up a glob for
interfaces to be automatically added (eg tap*).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
notification so all interfaces including pseudo are reported. When netif
creates the clones at startup devctl_disable has not been turned off yet so the
interfaces will not be initialised twice, enforce this by adding an explicit
order between rc.d/netif and rc.d/devd.
This change allows actions to taken in userland when an interface is cloned
and the pseudo interface will be automatically configured if a ifconfig_<int>=""
line exists in rc.conf.
Reviewed by: brooks
No objections on: net
|
|
|
|
|
|
|
|
|
|
| |
1,2 and so on.
It specifies the command to be run as Nth after jail startup.
sh(1)-fu by: Dario Freni
PR: conf/97697
MFC after: 2 weeks
Reviewed by: ru@ (man page)
|
| |
|
|
|
|
|
|
|
| |
sysctl values.
PR: conf/96509
Submitted by: Gregory Bond <gnb itga.com.au>
|
|
|
|
|
|
|
| |
solution.
Reported by: pjd
Approved by: cperciva
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scripts. These scripts handle vnode backed md(4) devices.
Old ramdisk{,-own} scripts will stay a bit in CVS to allow some time for
migration since variable names have changed (ramdisk_* -> mdconfig_*).
Two new variables have been introduced to be able to populate the md(4)
device once it has been mounted (mdconfig_*_files and mdconfig_*_cmd).
Use should be as easy as:
mdconfig_md0="-t malloc -s 10m"
mdconfig_md1="-t vnode -f /var/foo.img"
See rc.conf(5) for more information and description of the additional
variables.
Approved by: cperciva
|
|
|
|
|
| |
PR: conf/92654
MFC after: 3
|
| |
|
|
|
|
|
| |
Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw
scripts as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
issue where some global jail_* variables were overriden in the script. [1]
- Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a
jail id. [1]
- Update examples and comments in defaults/rc.conf to advertise new
variables and the fact that some of the jail-specific variables may be made
jail-global. [2]
Reported by: pjd [1], clsung [2]
Approved by: cperciva
X-MFC after: i got sufficient testing from people using rc.d/jail
|
|
|
|
|
|
| |
jail_foobar_mount_enable were set, umount those filesystem before exiting. If we set up an alias for jail's IP, remove that alias before exiting.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
with the error.
PR: conf/97024
MFC after: 1 week
|
|
|
|
|
| |
Reported by: Dirk Engling <erdgeist@erdgeist.org>
Pointyhat to: self
|
|
|
|
|
| |
Approved by: cperciva (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
boot. Autogeneration of nsswitch.conf doesn't makes sense in 7.0
since it's not permitted to upgrade from a pre-nss release without
passing through an intermediate release.
Suggested by: brooks
|
|
|
|
|
|
|
| |
it if it does not exist.
Submitted by: Rostislav Krasny <rosti.bsd@gmail.com>
MFC after: 2 weeks
|
| |
|
|
|
|
| |
into generated nsswitch.conf.
|
|
|
|
|
|
|
|
| |
databases.
- Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
|
|
|
|
|
|
|
| |
ldconfig would provide necessary protection for named as well,
so remove the dependency here.
Approved by: flz
|
|
|
|
|
|
|
|
| |
for some early starting services from the ports collection
to have their shared objects available before start.
Reviewed by: freebsd-rc (dougb, brooks)
MFC After: 3 days
|
|
|
|
|
|
|
|
| |
- Add default value in /etc/defaults/rc.conf.
- Add documentation bits to rc.conf(5).
Approved by: cperciva (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
from ports. The effect is that ldconfig is now started right after
mountcritremote. Everything else is left unchanged.
PR: conf/68916
Submitted by: JD Bronson <jd@aurora.org>
Approved by: cperciva (mentor)
MFC after: 1 week
|
|
|
|
|
|
| |
host.conf. Someone may want to edit it later.
Requested by: Rostislav Krasny <rosti.bsd__at__gmail.com>
|
|
|
|
|
|
|
| |
PR: conf/94377
Submitted by: dwhite
Approved by: cperciva (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
- Add the according amd_program default value in defaults.
PR: conf/82738
Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Approved by: cperciva (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Reviewed by: brooks
Approved by: cperciva (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
set:
* jail_mount_enable
* jail_devfs_ruleset
* jail_devfs_enable
* jail_fdescfs_enable
* jail_procfs_enable
* jail_fstab
* jail_flags
- Add a jail_interface / jail_<jid>_interface option. An ip alias will be
created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set.
This is not a mandatory option.
- Document all missing jail_* options in rc.conf(5).
Approved by: cperciva (mentor)
MFC after: 2 weeks
|