[2018-03-14] * rcstatus: shouldn't exit 0 if the service is not running * sync rc framework with freebsd * cleanup etc/Makefile * kldstat: sync with freebsd, improve man page about "-m " * syslogd: auto create required logfile (e.g., console.log, all.log)? [2018-03-15] * periodic/security: generic catmsgs() function [2018-03-15] * IF_EGRESS support (-> openbsd: sys/net/if.c: if_group_egress_build) [2018-03-18] * dumpon: - /etc/rc.conf: DUMPDEV=AUTO ?? - improve the error message in program [2018-03-22] * idr.9: Add an example, add history & author sections * staticize devfs functions, clean up [2018-03-23] * w(1): show full IPv6 address [2018-03-26] * /etc/rc.d/addswap: do not hardcode "vn0" [2018-03-27] * installer: password dialog, toggle show passwod * update pwait(1) with freebsd (option -t) [2018-03-29] * openbsd's mdocml man.cgi(7), better html man pages [2018-04-03] * mount_tmpfs: remove "tmpfs" from options * initrd: test/improve/cleanup with diskless(8), e.g., do not write to / (ro) [2018-05-20] * Check (and fix) files/directories permissions https://www.debian.org/doc/debian-policy/#permissions-and-owners * pseduo key device to unlock dm-crypt/tcplay encrypted volume - a frontend to dm-crypt/tcplay, respectively - accept user's password, then create a pseudo key device (with an ID) - use the created key device to unlock the dm-crypt/tcplay volume - if unlock successfully, keep this pseudo key device; otherwise, destroy it and re-ask user for the password - after first-stage boot (only root is unlocked and mounted), other encrypted volumes can ask the key device to unlock them - if failed, then ask user for password, then another key device (for the new password with different ID) is created for unlocking other volumes - never reveal the plain password! similar the SSH authentication or ACME challenge processes. - see also pubkey auth mechanism (e.g., ssh) - symmetric key derivation (e.g., enchive: https://github.com/skeeto/enchive) * geli(8) caches passphrase: https://github.com/freebsd/freebsd/commit/93cbefc1746325e5c24d1592b8e8b1af075a1cef [2018-05-24] * update closefrom.2 man page to match the code (recently updated) [2018-06-05] * "reboot" (choose reboot) in the installer hangs at "press any key to reboot" in virtualbox [2018-06-16] * crontab -n: no email when everything works ok https://github.com/openbsd/src/commit/14eea8168449751553ba549cb1e8725fe289aeaf [2018-06-24] * find(1): pseudo fstype: local; inconsistent with mount(8) e.g., mount(8) says: /build/var.log on /var/log (null) -> no "local" but "find /var/log -fstype local ..." gives results. * implement "mount -t local" ?? [2018-07-10] * loader - module load - fix loading twice https://reviews.freebsd.org/D3204 https://reviews.freebsd.org/rS286234 [2018-07-14] * rescue/sh: Cannot read termcap database; using dumb terminal settings. * rescue/less: WARNING: terminal is not fully functional * rescue/vi: No terminal database found [2018-07-19] * port linux's keyctl(2), keyctl(1); kernel keyring [2018-07-21] * diskinfo(8): print type: disk, disk-part (mbr/gpt), slice, slice-part [2018-08-07] * sys/queue.h: - Add SLIST_CONCAT, LIST_CONCAT (slow) https://github.com/freebsd/freebsd/commit/0aeae89e961290a23a4bb11c8cb5663a86933a88 - Implement LIST_PREV https://github.com/freebsd/freebsd/commit/0fa239bbd777d6f3e2661e7e950511e42bf4e720 - sync with freebsd? [2018-08-09] * ls(1): COLORTERM https://github.com/freebsd/freebsd/commit/b0b07656b594066e09c0526aef09dc1e9703e27d [2018-10-07] * switch to ttyv0 (activate console #0) on shutdown/reboot. [2018-10-16] * IPv6: DAD: dhcpcd's IPV6_POLLADDRFLAG https://github.com/NetBSD/src/commit/024a48a9708d33cf119e61612697404e144ec602 [2018-10-18] * Network Configurator: https://roy.marples.name/projects/dhcpcd-ui (dhcpcd & wpa_supplicant) [2018-10-20] * add 'VENDOR UPDATE' section to development.7 [2018-11-01] * warn about deprecated/obsolete rc options: - etc/rc.obsolete.conf: record the deprecated/obsolete options and the warn message (e.g., alternative/new options) - rc.d/obsolete: execute at the last of rc stage to print the warns [2018-11-04] * socket.2 man page update: https://github.com/freebsd/freebsd/commit/eb50299101ac736f06ae00ebf32b7fc2da51a293 [2018-11-25] * hammer_ccd_mirror.sh; initrd; rconfig(8) * vnconfig -c filename -> invalid command -> create vn node, but unconfigured -> 'vnconfig -u' cannot destroy it. * initrd(7) man page: add a section how to modify it (copy, decompress, mount, modify, umount, compress) [2018-12-11] * network.subr: - network6_interface_setup(): remove rtsol_* [2018-12-18] * varsym(1): - Fix 'varsym =' -> invalid syntax [2019-02-12] * hammer(8): change volume/partition name * initrd: support /etc overlay [2019-03-15] * disklabel64(8): - add -L "packid" option; allow to change label packid - remove the optional 'packid' [2019-03-25] * usb (ehci) bug: - FreeBSD/CAM/USB: https://lists.freebsd.org/pipermail/freebsd-current/2013-February/040050.html - Kingston DT G3 quirk: https://reviews.freebsd.org/rS247154 - CAM/scsi_extract_sense_ccb(): https://reviews.freebsd.org/rS237478 [2019-05-12] * bring jot(1) improvements from openbsd * bring arc4random(3) improvements from openbsd [2019-06-025] * ex/vi: disable temporary files in rescue mode (read-only file system) [2019-07-08] * mandoc -Tlint (rc.conf.5, rc.8, rc.subr.8) * mount -a: - hammer: remount exit with an error [2019-07-09] * rc.subr: add $SYSCTL_Q: quiet; sysctl_w(): write MIB, echo result * import openbsd's signify(1): - https://flak.tedunangst.com/post/signify - http://man.openbsd.org/signify * minisign: https://jedisct1.github.io/minisign/ (C; requires libsodium) [2019-07-10] * newsyslog: - rc.d/newsyslog - defaults/rc.conf: newsyslog_enable=YES, newsyslog_flags="-CN" - newsyslog.conf: C flags - rc.conf.5 man page https://github.com/freebsd/freebsd/commit/14774e80eefdef732d74a62d75bcdc6aff9e4c9f * rc.d scripts / todo: - change 'ccd_enable' to 'start_ccd' (similar to 'start_vinum') - change 'lvm_enable' to 'start_lvm' ?? - cleartmp - ipfw - netoptions - nfsclient - nfsd - nfsserver - nscd - nsswitch - pf - pflog [2019-07-11] * rc.d/pwcheck: can be removed; originally used in usr.sbin/adduser/rmuser.perl; long deprecated ... * rc.d/rcconf: can be removed ?? [2019-07-17] * dumpon, dumpdev=AUTO * savecore(8): do not require 'directory' when check (-C) or clear (-c) * rename 'rc.d/swap1' to 'rc.d/swap'; provide 'swap' instead of 'localswap' [2019-07-27] * rc.conf.5: - ppp_* [2019-10-14] * dhcpcd: - deprecate 'ipv6_ifconfig_IF=DHCP', but what user should be aware is if they want to allow receving RA - whether DHCPv6 is required or not should be controlled by RA, not configuration on the host side - DHCP-PD should be handled in the rc.d script - deprecate rtsold(8) since it's confusing to have both rtsold and dhcpcd [credit: https://lists.freebsd.org/pipermail/freebsd-net/2019-October/054558.html] [see also: https://reviews.freebsd.org/D22012] [2019-10-28] * nrelease: mount '/usr/distfiles' [2019-11-10] * locate: updatedb.sh: ignore tmpfs by default [check with freebsd?] [2019-12-03] * fix fstab (mkinitrd, etc.) in examples/rcconfig scripts, e.g., encrypt_root.sh [by peeter] [2020-04-06] * Port 'SO_USER_COOKIE' from FreeBSD, used by WireGuard Go - https://github.com/freebsd/freebsd/commit/d5e8d236f4009fc2611f996c317e94b2c8649cf5 - https://github.com/freebsd/freebsd/commit/e7ccc85b8fa77badd0aebc86e7657d29f3710e08 [2020-04-22] * port blacklistd(8) from netbsd/freebsd [2020-04-29] * improve daemons to auto-create directory in /var/run/ [2020-05-17] * gpt(8): partition size in MB/GB/etc. instead of number of sectors * vi(1): update man page: window split, vsplit [2020-06-26] * ipv6: - fill sin6_scope_id in kernel freebsd: 456b7a93418939408dbedc100658b7b995c87a8b [2020-06-27] * tap: add virtio-net offloads (LSO/TSO) https://github.com/freebsd/freebsd/commit/8e95c619ec556dba7d36ce449443c9c43b3db453 [2020-12-13] * route(8): route delete default '' hangs for several seconds and then complains about 'bad address: ' ... this can be improved * top(1): sync with freebsd [2021-01-01] * track the broken log messages (especially from hammer2 kernel) in /var/log/messages... see how syslog handles /dev/klog (messages from kernel) [2021-01-02] * port cpuset(1), cpuset(2), cpuset(9) from freebsd - check our usched(8) [2021-01-15] * port WAPBL(4) file system journaling from NetBSD WAPBL: write ahead physical block logging replace softupdates in UFS [2021-02-26] * cp(1): Remove fts sorting - https://cgit.freebsd.org/src/commit/bin/cp/cp.c?id=c633f8dc046f6a9589887ef057374d034e7dac72 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=53475 * cp(1): implement -s https://github.com/freebsd/freebsd-src/commit/7ea2450f4209652352fe1f6cc12f5b3b81cf4210 * cp/mv/touch: nanosecond precision https://github.com/freebsd/freebsd-src/commit/5faf2ae1601299ad5561e80c9a4647c224aae336 * cp/mv: use futimens() instead of utimensat() https://github.com/freebsd/freebsd-src/commit/347b9f6de08d398e6b1dad1c200c2e14d55693dc