deraadt
74870fb90f
Yes /etc/disklabels/ is a good practice for placing labels of disks
in case of catastropy. But it is so poorly documented that any admin
is more likely to store the labels elsewhere, so let's stop bothering
with providing the directory. Discussed a bit, no objections.
10 years ago
deraadt
31e43b4033
mixerctl.conf wsconsctl.conf can properly become examples.
As discussed a few days ago with aja
10 years ago
deraadt
73c26eea40
the files listed under BIN1 are not binaries in any way. Let's call
them what they are: MUTABLE, as in these are the specific files that
admins do edit in /etc
10 years ago
deraadt
49f512458d
create examples/pf.conf which is a clone of the existing file. Now
the existing file can start losing... examples...
10 years ago
deraadt
0fff1a2399
BIN2 is now just motd; install it direct without the abstractions. While
there, let's make it operator writeable. Or let's do a commit changing it
to operator writeable and see the pro and con camps rise up.
10 years ago
deraadt
0110a70449
lynx has left the tree, and let's be honest noone will find these html
files in their installed system. this extended documentation experience
is available better on the net using a browser installed with pkg_add.
(also note that two of the subsystems involved in this issue are heading
to the bit bucket sometime soon)
10 years ago
deraadt
8841ad7d7c
more lynx bits
10 years ago
deraadt
761d542408
another piece of lynx hides here
10 years ago
deraadt
9c21f5c33d
#ifdef wrap the _rs_forkhandler
10 years ago
bcook
fca7f5a866
added handler for an atfork hook from kettenis@
ok deraadt@ beck@ kettenis@
10 years ago
deraadt
52e978a9d8
tidy up the script
10 years ago
miod
d1cf88ea26
Apparently people updating this no longer fix the DOW and the minute and
seconds values in the announcement timestamps. Damn youngsters.
10 years ago
deraadt
c3a6ab0d79
crank to 5.6-beta
10 years ago
miod
0627e39b9d
Remove ppi (hp300 leftover)
10 years ago
sthen
df49f6c562
add port entries for quagga from the documentation, ok ajacoutot@
/etc/services file moved from etc to base so is no longer really
user-editable as changes will be overwritten at update time
10 years ago
sthen
afb116c353
conserver moved port, ok ajacoutot@
10 years ago
deraadt
63edfe2d88
BSD.local.dist went away
10 years ago
ajacoutot
d65c2f0adb
/var/db/sysmerge -> /usr/share/sysmerge
ok deraadt@
10 years ago
espie
c0a8ea5276
folded back into 4.4BSD.dist
removed to unconfuse devs
okay aja, theo
10 years ago
deraadt
51fcfd90fc
new dir /usr/share/sysmerge
10 years ago
deraadt
d5c05ae2f9
correct dir
10 years ago
sthen
03593f6125
add /usr/local/lib/pkgconfig to mtree, ok espie@ jasper@
10 years ago
deraadt
8d60b9304c
sysctl.conf moves to etc/examples
10 years ago
ajacoutot
71b35ac49d
Add shebang to make it clear these files are shell scripts (they are
explicitely executed by sh(1)).
discussed with deraadt@
10 years ago
ajacoutot
d7bed9d58a
quiet /etc/rc.shutdown, it may not exist.
ok deraadt@
10 years ago
ajacoutot
f6d70a88c8
This isn't C.
10 years ago
ajacoutot
7edabab9f8
Only set kern.securelevel=1 if it was not lowered nor bumped by
rc.securelevel,
with deraadt@
10 years ago
ajacoutot
60cf083fe4
Consistency.
10 years ago
ajacoutot
85bae20714
Do not output anything by default, to be consistent with the other
site-specific rc.* files, the comment is enough.
ok deraadt@
10 years ago
ajacoutot
7648d2dc9b
/etc/rc already takes care of creating /var/run/utmp.
ok deraadt@ giovanni@
10 years ago
deraadt
68f7c0883b
rc.{local,securelevel,shutdown} become examples. If versions of them
are created in /etc, they are executed (they used to be sourced) to
avoid polluting the rc variable space. The powerdown= and securelevel=
features are removed; they are likely only used by 2 people. the
secureleve is now always raised; this is the only sensible default.
ok ajacoutot
10 years ago
pelikan
c78cad8ccc
international currency locale rules as per POSIX.1-2008
required for libc++
ok guenther afresh1
10 years ago
guenther
fbc71be3ba
Update for arc4random and syslog changes
10 years ago
deraadt
2dfe92794b
check for existance of rc.shutdown, before sourcing it
10 years ago
deraadt
f135be3190
enter libressl for make includes
10 years ago
tedu
1d810a359a
include stdint.h for standard ints. from Jean-Philippe Ouellet
10 years ago
claudio
3234bbf1ae
Add iscsid_flags to rc.conf so we do not try to start iscsid all the time.
Noticed by naddy@
10 years ago
tedu
37a5836398
oops, i deleted the wrong word
10 years ago
tedu
13ffbefb0f
remove a lie spotted by guenther
10 years ago
tedu
d3e68c8356
once srandomdev() is called, switch to using arc4random() but mask off the
high bit as required by posix. wouldn't want to break any standards.
idea and ok deraadt
10 years ago
rpe
9bc3ff3e5f
- move the ntpd.conf file to examples directory
- move it from BIN1 to EXAMPLES in src/etc/Makefile
- change the installer to create the file instead of editing it
- add a '+' to the corresponding changelist entry
suggested by and OK deraadt@
OK for the installer change krw@
10 years ago
deraadt
1efcd9909f
Use dl_iterate_phdr() to iterate over the segments and throw the addresses
into the hash; hoping the system has some ASLR or PIE. This replaces and
substantially improves upon &main which proved problematic with some picky
linkers.
Work with kettenis, testing by beck
10 years ago
deraadt
757bd836f8
Provide a link to the canonical API specification.
ok beck
10 years ago
ajacoutot
4287f8a51a
Mismatch between the sets list and what's in DESTDIR should not be fatal
to sysmerge sum files generation.
discussed by deraadt@
10 years ago
ajacoutot
0dc60495c0
Install some config files with mode 0600 as they were before the move to
/etc/examples.
ok deraadt@
10 years ago
claudio
5d638f514c
rc bits for iscsid. Start iscsid as early as possible. Use the new -N
flag for fsck and mount to check and mount the iscsi file systems (marked
with option net) right after the mount -a.
"Get it in" deraadt@
rpe@ is OK with this going in but it may need further changes
10 years ago
claudio
6ff056777f
Add iscsid to the rc.d files to install
10 years ago
claudio
1368d9b148
rc.d script for iscsid.
10 years ago
beck
6289d57278
While we thought this would make portable life easier it actually
makes it much harder.
ok bcook@ kettenis@
10 years ago
beck
7f965a2eac
Take away the use of the address of main as a source of entropy. Causes
distractions to people testing and seeing link errors in some setups.
This will come back in another form
ok deraadt@
10 years ago