| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
o Add shutdown KEYWORD;
o Remove PID check;
o Stop auditd with '-t'
o General cleanup.
|
|
|
|
| |
Requested by: ceri
|
| |
|
| |
|
|
|
|
|
| |
controls in NIS, similar access controls should be considered for the
rpcbind as well.
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
PR: conf/98055
Submitted by: thierry herbelot <thierry at herbelot dot com>
|
|
|
|
|
|
|
| |
sysctl values.
PR: conf/96509
Submitted by: Gregory Bond <gnb itga.com.au>
|
|
|
|
|
|
|
|
|
|
|
| |
more appropriate value and is also the default set by the kernel. I
could not find a justification of why rc.conf began overriding it back
in 1998.
This dramatically cuts NFS traffic on e.g. a busy system with NFS root.
Reviewed by: mohans
MFC After: 2 weeks
|
|
|
|
|
|
|
| |
Each byte in BD_ADDR should exactly two nibbles, i.e
"1:2:3:4:5:6" is NOT valid and "01:02:03:04:05:06" is valid BD_ADDR.
MFC after: 1 day
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
subdirectories that will be used for removable media mount points (i.e.
mount points for CDs, floppy disks, USB drives, etc.). While the primary
purpose of /media is to provide a location for HAL
(http://www.freedesktop.org/wiki/Software_2fhal) to mount volumes, it could
be used by any application that needs to manage removable media volumes.
Discussed on: arch@
Approved by: mux
MFC after: 1 week
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Prodded by: hrs
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Sync with latest version from NetBSD.
'In order to handle some perl scripts running as daemons, add a
pattern which also matches "`basename $interpreter`: $command" in the
ps listing.'
Approved by: cperciva (mentor)
Obtained from: NetBSD
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Reported by: ru, ceri
Pointy hat: brooks
|
|
|
|
| |
Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>
|
|
|
|
|
|
|
| |
PR: conf/95654
Submitted by: Rong-En Fan <rafan@infor.org>
Noticed/Fix by: many people on freebsd-current@
Approved by: cperciva (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
working on.
1) Make it possible to configure interfaces with certain characters in
their names that aren't valid in shell variables. Currently supported
characters are ".-/+". They are converted into '_' characters.
2) Replace nearly all eval statements in network.subr with a new
function get_if_var which substitues an interface name (after the
translations above) for "IF" in a variable name.
3) Fix list_net_interfaces() in the nodhcp case.
4) Allow the administrator to specify if dhclient should be started
when /etc/rc.d/netif configures the interface or only by devd.
This can be set on both a per interface and system wide basis.
PR: conf/88974 [1,2], conf/92433 [1,2]
|
|
|
|
|
|
| |
host.conf. Someone may want to edit it later.
Requested by: Rostislav Krasny <rosti.bsd__at__gmail.com>
|
|
|
|
| |
MFC after: 2 weeks
|