Commit Graph

5402 Commits

Author SHA1 Message Date
maxv
7ee848d944 Add tests for USER_LDT. 2020-04-19 13:22:58 +00:00
kim
aae8c85b3e Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA 2020-04-15 20:31:57 +00:00
christos
3dd07195ab Prevent waiting for processes to exit forever by introducing _rc_kill_ntries,
which if set, will SIGKILL the processes that did not die yet.
2020-04-05 21:03:08 +00:00
sevan
841fdb7e60 Support the use of DHCP in the install environment 2020-04-05 14:36:43 +00:00
jdolecek
1322d29b97 remove nsmb from MD list of devices to create for 'all' 2020-04-05 14:09:17 +00:00
christos
ab8a9ee1de us and them, then! 2020-04-05 00:36:25 +00:00
christos
d8e96a2d4f Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.
2020-04-04 19:50:53 +00:00
jdolecek
30f38bbb3f remove nsmb(4) 2020-04-04 16:04:36 +00:00
roy
e9f01a9072 Add a default dhcpcd_chrootdir 2020-04-02 13:02:05 +00:00
roy
852a3f7b05 Add chroot support for dhcpcd 2020-04-02 12:58:49 +00:00
roy
d5aa3c6a01 Add _dhcpcd user and group 2020-04-02 12:35:13 +00:00
gson
eacfd1aef9 Create the qemufwcfg device as part of "all". Discussed with jmcneill.
Also, include it in the list of special purpose devices.
2020-04-01 15:32:21 +00:00
christos
fb9a6ed20e Add rpcapd examples 2020-03-29 17:14:13 +00:00
kim
bb3ccfc179 Fix skipped daily in Eastern Europe
- Move /etc/daily from 03:15 -> 04:15
- Move /etc/weekly from 04:30 -> 05:30 (to keep the spacing)

This should prevent problems during daylight savings changeover (which
is usually between 01:00 -> 04:00, depending upon the region) where the
cronjobs may be executed twice, or never at all...

This expands on the previous fix in revision 1.13 from 1997.
2020-03-29 06:44:16 +00:00
christos
94b4b9938a remove obsolete option 2020-03-21 20:20:59 +00:00
rin
9d99da222f Fix build; add -f flag to "rm miniroot.fs" in case of its absence. 2020-03-16 09:42:04 +00:00
is
19c1568616 provide both miniroot.fs (for people wanting to install NetBSD without
more 3rdparty software than what's provided on our ISO) and .fs.tz (for
people downloading over slow links).
2020-03-14 16:27:19 +00:00
is
ca70afd1bf Provide the (small) miniroot uncompressed, so that it can be used from
an AmigaOS without additional software to install NetBSD.
Closes PR port-amiga/45443
2020-03-13 10:01:07 +00:00
mgorny
5fb02e28e8 Add tests for missing libc catalog entries 2020-03-08 22:08:46 +00:00
rin
501603fb78 sun2 kernel is restricted to ~2MB due to bootloader.
It seems that working kernel should be more smaller.

Strip off most kernel options, and provide by kernel modules.
Also add GENERIC kernel for NFS root instead of FFS.
2020-03-08 06:23:18 +00:00
christos
b511f17d83 Add a commented out entry for pam_u2f.so 2020-03-03 00:47:33 +00:00
christos
ef038d3b4c Extra directories for fido and cbor 2020-03-03 00:42:33 +00:00
riastradh
db3a54e6ae Create /dev/ipmi0 in `MAKEDEV all'.
Works on my machine with sysutils/ipmitool if the latter is built
with CONFIGURE_ARGS+= --enable-intf-open.
2020-03-02 15:49:30 +00:00
roy
5abb0d8844 mountall: Mount ZFS filesystems before fstab
This allows null mounts in fstab to reference fstab mounts.
It's highly unlikely ZFS mounts would reference anything outside of ZFS.
2020-03-01 15:22:55 +00:00
riastradh
ca00c5f3fd Create some more cgd device nodes. 2020-02-27 16:59:23 +00:00
riastradh
88079b1878 If zfs=YES, unconditioally do zfs mount/unmount -a.
If you set zfs=YES, presumably you positively want the automatic rc.d
actions, so if there's no /sbin/zfs or if zfs can't find pools with
/etc/zfs/zpool.cache, presumably you would like feedback about that
in rc.log.
2020-02-23 08:53:25 +00:00
riastradh
d3b9fe60e3 Allow random seed on zfs. 2020-02-23 08:53:14 +00:00
roy
536a6b742b Revert unrelated changes to prior 2020-02-22 11:55:43 +00:00
roy
68c104dbdb rc.d/network: improve wording of waiting for DAD to finish 2020-02-22 11:52:45 +00:00
kim
6ca5a47e66 Use the configured IP6ADDRCTL_CMD for stopping also. 2020-02-14 12:12:07 +00:00
kamil
bc3e03d8e1 Install LLVM sanitizers to /usr/lib/clang/9.0.0
This is the proper location where clang 9.0.0 looks for them.
2020-02-07 18:48:58 +00:00
roy
01184df4dd Enable hostapd syslog support by default. 2020-02-03 09:12:53 +00:00
maya
5e031685d6 remove urio(4), a driver for the Rio500 MP3 player.
At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
2020-01-29 18:39:00 +00:00
kim
5639632747 Add NetBSD ID 2020-01-27 08:33:24 +00:00
kim
b5a7b1ab14 Skip inet6 addresses that begin with fe80: (not just exact match). 2020-01-27 08:28:33 +00:00
riastradh
08a157de6e Remove filemon(4).
Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings.  You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table.  (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)
2020-01-19 20:41:17 +00:00
jmcneill
c91ab881ac Build radeon and nouveau drivers on evbarm. 2020-01-19 00:58:13 +00:00
christos
77b92099d2 Add more test directories 2020-01-17 16:09:11 +00:00
maxv
87107185b5 Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
kamil
c0c748b872 Remove obsolete mtree entry of usr/share/examples/supfiles 2019-12-18 14:44:16 +00:00
maxv
e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
sevan
a8ffec0052 This script just makes sure that the ZFS module loads and unloads, mountall
script takes care of mounting filesystems.
Don't try to unmount all file systems before unloading the ZFS module, leave
that to the operator in preperation or the mountall script to take care
of. Module will of course fail to unload then if file systems are still
mounted.
2019-12-09 00:11:32 +00:00
sevan
9112ea0837 We don't need to require the presence of /etc/zfs/zpool.cache to unmount &
unload the module, just like for the start target.
2019-12-08 00:58:16 +00:00
riastradh
c91905c4be Save the entropy seed daily in /etc/security. 2019-12-06 14:43:29 +00:00
sevan
cb3f9ff633 Undo loading pciverbose module by default.
See item 14 in src/doc/TODO.modules.
2019-12-05 22:02:29 +00:00
sevan
ffa03210f1 Make use of the pcidevs database by default. 2019-12-04 21:53:20 +00:00
jmcneill
0bd087563f Add missing rcvar=$name 2019-12-04 16:46:50 +00:00
mrg
ce3aa71a56 remove no longer existing gnu/* from cdpath. 2019-12-04 08:21:50 +00:00
jmcneill
aa92e84215 Attempt to load the zfs module even if /etc/zfs/zpool.cache is absent. The
module needs to be loaded to create a pool in the first place, and
autoloading won't work after the fact won't work at securelevel=1.
2019-12-01 21:00:43 +00:00
martin
9d445e0761 Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
important information when trying to reproduce a build.
2019-11-22 13:30:19 +00:00