| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
when figuring out what the real interpreter is for an
interpreted command. That is, check whether we can read
the script file in the first place and, if so, make sure
we got a valid shebang line from it.
|
| |
|
|
|
|
|
|
| |
we have a fighting chance of having useful stuff from DHCP.
Tighten up the code a little, and fix whitespace issues.
|
| |
|
| |
|
|
|
|
|
| |
While I'm here, make the default PATH match that in the csh profile,
and login.conf.
|
|
|
|
|
|
|
|
|
|
|
| |
stop looking there for things like rc.d and periodic. This avoids
duplicating effort when /usr/X11R6 is a symlink to /usr/local,
which it is by default now.
It is not anticipated at this time that we will MFC this change, since
we'd like to avoid breaking legacy systems. However, there is a fix for
/etc/rc.subr in the works to avoid running any rc.d scripts twice which
we should be able to MFC.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This would cause pseudo network modules to be reloaded again when trying to
unload the first time if any cloned interfaces exist.
MFC after: 2 weeks
|
|
|
|
| |
UUIDs (see src/sys/boot/i386/libi386/smbios.c:smbios_setuuid for details)
|
|
|
|
|
|
| |
/etc/rc.d/hostid now that we switched the origin of the UUID (variable
smbios.system.uuid as provided by the i386 BIOS code) to already provide
a standard conforming lower-case UUID text representation.
|
|
|
|
|
| |
apply an addition from Andrew Thompson <thompsa> for filtering out the
special "Nil" UUID (all zeros) which would be a useless host UUID.
|
|
|
|
|
|
|
|
|
|
| |
usage to an equivalent csh(1) usage as tr(1) stays in /usr/bin and
/etc/rc.d/hostid has just the root filesystem (and this way mainly the
tools in /bin) available.
I've chosen csh(1) here as the string manipulation tools available in
/bin is extremely limited and the (only) alternative ed(1) usage would
have been a lot more complicated or even might require a temporary file.
|
|
|
|
|
|
|
|
| |
and ISO/IEC-9834-8:2005 is with LOWER-CASE hexadecimal characters only,
so translate the (usually upper-case and this way not conforming)
representation of the BIOS UUID when reading it. Also be more strict
about the valid characters in the textual representation by checking for
just the hexadecimal characters.
|
|
|
|
|
|
|
|
| |
Gotcha: Number 48 (mhrp) is replaced with dsr.
Submitted by: edwin
PR: config/112732
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
list.
This is only for the well known known ports (port 1-1023) for tcp and
udp only.
Changes:
- Removed "problems" comments around port 57, 77 and 87
- Removed audionews (port 114)
- Added imap3 (port 220)
- Removed yak-chat (port 258)
- Removed concert (port 786)
- Added a lot of new allocations
Submitted by: edwin
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scripts in rc.d to stop rc(8) from booting into multi-user mode when
a critical or severe error condition is encountered.
o Modify scripts in etc/rc.d that already implemented this functionality
independently.
o Document it.
[1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
to rc.subr(8). Our version differs slightly in that it takes an
optional argument to stop the boot even if "autoboot" is not set.
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
background operator '&'.
PR: conf/102722
o No need to include $kerberos5_server_flags in $command_args as
rc.subr(8) will take care of this.
|
|
|
|
|
|
|
|
|
|
| |
"forced". If some pre-condition is not met, it should fail as it normally
does and rc.subr(8) will make the appropriate decision. Incidentally, the
previous behaviour had a bug where the "force" flag was respected only
when checking rc.conf(5) knobs. The flag was ignored when verifying the
rpcbind(8) dependency.
MFC after: 2 weeks
|
|
|
|
|
| |
Obtained from: IANA list of reserved ports.
Reviewed by: edwin@
|
| |
|
|
|
|
| |
Pointed out by: Henrik Brix Anders
|
|
|
|
|
|
| |
PR: conf/112604
Submitted by: Oliver Fromme
MFC after: 1 month
|
|
|
|
|
| |
rc.d/routing and in to rc.d/netoptions. Also instead of saying
"TCP options" say "IP options".
|
|
|
|
|
|
|
|
| |
dependency was introduced because this script had rc.d/localpkg (which is
*after* rc.d/NETWORKING) in its REQUIRE line.
From an examination of its contents it seems that only the availability of
a local filesystem is necessary for this script to function properly.
|
|
|
|
|
|
|
| |
'zfs mount -a' from the main system - this is by design, as mountpoint
may be set to dangerous value. This all means, that such file system
has to be mounted from within a jail. To make it easier, reorganize
rc.d/zfs script so it can be used from within a jail.
|
|
|
|
| |
Submitted by: rodrigc (BSD.include.dist).
|
|
|
|
|
|
| |
device.
Discussed with: des
|
| |
|
|
|
|
|
|
|
|
|
|
| |
NFS-share anything. This way we can safely start mountd with
/etc/zfs/exports and mountd won't complain.
Pointed out by: ceri
- Move 'zfs volinit' before 'zfs mount -a' and 'zfs volfini' after
'zfs unmount -a'.
|
|
|
|
| |
open, so we not longer has to check if /etc/zfs/exports exists.
|
|
|
|
|
| |
we don't do this and the file doesn't exist mountd(8) will abort.
o The mountd(8) daemon creates a pidfile, so use it.
|
|
|
|
|
|
|
|
|
| |
daemon. The FreeBSD port print/hplip currently provides these services.
PR: conf/99593
Submitted by: Anish Mistry <amistry@am-productions.biz>
Approved by: maxim
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
current misc/amanda-server code uses it.
PR: conf/111050
Submitted by: Charles Sprickman<spork@bway.net>
Approved by: maxim
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The registration names for 5222(tcp,udp) and 5269(tcp,udp) was changed to
xmpp-client and xmpp-server correspondingly.
This inconsistency causes problems to applications developed on other
systems, as they tries to use port numbers from /etc/services as fallback.
PR: conf/100606
Submitted by: Ralph Meijer <freebsd-gnats2@ralphm.ik.nu>
Approved by: maxim
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
software-generated UUID. Store the result in /etc/hostid and use it in
the future. Perform simple UUID format check, as there is a lot of
hardware with broken UUIDs. The check should be improved to also eliminate
fake UUIDs like 00000000-0000-0000-0000-000000000000.
Requested by: many
|
|
|
|
|
|
|
|
|
|
|
| |
which can be used to turn off multicast pfsync support, and enable
the transmission of directed PFSYNC (IP protocol: 240) packets to
a specific "sync peer" host.
PR: conf/111225
Submitted by: Bas van Beek <bas@tobin.nl>
Approved by: mtm, mlaier
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
UUID and stores it in /etc/hostid ($hostid_file) as well as sets kern.hostuuid
and kern.hostid sysctls on every boot.
Hostid can be reset using '/etc/rc.d/hostid reset' command.
Hostid generation and setting can be turned off by setting variable
hostid_enable to "NO" in /etc/rc.conf.
Reviewed by: mlaier, rink, brooks, rwatson
|
|
|
|
|
| |
Requested by: andre@
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
dedicated /boot/ file system and use ZFS for the root file system.
|
| |
|
|
|
|
| |
It'd be nice to send them via e-mail...
|
|
|
|
| |
Submitted by: des
|
|
|
|
|
|
|
| |
Submitted by: des
- When starting mountd(8) and ZFS is enabled, add /etc/zfs/exports file.
- Update rc.conf(5).
|