| 099b1253 | 25-Apr-2021 |
Edward Tomasz Napierala <[email protected]> |
rc: improve dependencies for growfs
Previously it depended on sysctl, which itself has no dependencies, so rcorder(8) had a bit too much flexibility when choosing when to run it. Make sure it runs
rc: improve dependencies for growfs
Previously it depended on sysctl, which itself has no dependencies, so rcorder(8) had a bit too much flexibility when choosing when to run it. Make sure it runs just between 'fsck' and 'root'.
Reviewed By: jmg, imp Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29748
(cherry picked from commit b68e6569221ecade8899eaab8e1b088947ef2f8a)
show more ...
|
| 0bf6e572 | 12-Oct-2021 |
Mateusz Piotrowski <[email protected]> |
rc.d/linux: Attempt to mount only if necessary
Currently, if the linux service is run twice, mount(8) fails with:
mount: linprocfs: Device busy mount: linsysfs: Device busy mount: devfs
rc.d/linux: Attempt to mount only if necessary
Currently, if the linux service is run twice, mount(8) fails with:
mount: linprocfs: Device busy mount: linsysfs: Device busy mount: devfs: Device busy mount: fdescfs: Device busy mount: tmpfs: Device busy
It is a bit more user-friendly if before running mount(8) the service checks if there are any file systems left to be mounted. This patch implements this behavior.
Also, while here, create mount points directories (as suggested by otis).
Reviewed by: trasz Approved by: trasz (src) Differential Revision: https://reviews.freebsd.org/D32463
(cherry picked from commit 5690261858b6bd8f7d09eda2ae74f3def2d69a01)
show more ...
|
| fae2a8ca | 16-Jun-2021 |
Thomas Steen Rasmussen <[email protected]> |
pf: fallback if $pf_rules fails to load
Support loading a default pf ruleset in case of invalid pf.conf.
If no pf rules are loaded pf will pass/allow all traffic, assuming the kernel is compiled wi
pf: fallback if $pf_rules fails to load
Support loading a default pf ruleset in case of invalid pf.conf.
If no pf rules are loaded pf will pass/allow all traffic, assuming the kernel is compiled without PF_DEFAULT_TO_DROP, as is the case in GENERIC.
In other words: if there's a typo in the main pf_rules we would allow all traffic. The new default rules minimise the impact of this.
If $pf_program (i.e. pfctl) fails to set $pf_fules and $pf_fallback_rules_enable is YES we will load $pf_fallback_rules_file if set, or $pf_fallback_rules.
$pf_fallback_rules can include multiple rules, for example to permit traffic on a management interface.
$pf_fallback_rules_enable defaults to "NO", preserving historic behaviour.
man page changes by ceri@.
PR: 256410 Reviewed by: donner, kp Sponsored by: semaphor.dk Differential Revision: https://reviews.freebsd.org/D30791
(cherry picked from commit 28f47a199cfd8749ab30a0327b0a3f8977ec2b43)
show more ...
|
| 8056b73e | 22-Nov-2021 |
Colin Percival <[email protected]> |
etc/defaults/rc.conf: Add -i flag to rtsol/rtsold
This disables the random (between zero and one seconds) delay before rtsol and rtsold send a a Router Solicitation packet. This delay is specified
etc/defaults/rc.conf: Add -i flag to rtsol/rtsold
This disables the random (between zero and one seconds) delay before rtsol and rtsold send a a Router Solicitation packet. This delay is specified as a SHOULD by RFC 4861 for avoidance of network congestion, but network speeds have increased enough in the 25 years since this first appeared (in RFC 1970) that it seems unnecessary as a default at this point.
This speeds up the FreeBSD boot process by an average of 500 ms.
Reviewed by: kp Relnotes: yes Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D33089
(cherry picked from commit e29711da2352dae50c575ab884399a6147e9444d)
show more ...
|
| 33b73d01 | 09-Sep-2021 |
Cy Schubert <[email protected]> |
wpa: Address CTRL-EVENT-SCAN-FAILED
5fcdc19a8111 didn't fully resolve the issue. There remains a report that an ifconfig wlan0 up by itself is insufficient. Ifconfig down must precede it.
Reported
wpa: Address CTRL-EVENT-SCAN-FAILED
5fcdc19a8111 didn't fully resolve the issue. There remains a report that an ifconfig wlan0 up by itself is insufficient. Ifconfig down must precede it.
Reported by: Filipe da Silva Santos <contact _ shiori_com_br> Fixes: 5fcdc19a8111
(cherry picked from commit d06d7eb09131edea666bf049d6c0c55672726f76)
show more ...
|