|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
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 ...
|
| #
2ffd6857 |
| 21-Apr-2021 |
Edward Tomasz Napierala <[email protected]> |
rc: make the 'linux' script explicitly load filesystem modules
This removes a minor annoyance with Linux jails, where you often want linux_mounts_enable="NO", yet you want those filesystems availabl
rc: make the 'linux' script explicitly load filesystem modules
This removes a minor annoyance with Linux jails, where you often want linux_mounts_enable="NO", yet you want those filesystems available for mounting in jails; normally mount(8) would result in kernel automatically loading the KLD, but this doesn't work inside jails or chroots.
PR: 242955 Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29725
(cherry picked from commit 45aec46246fe61a3f45cf7da1c80850dc226f609)
show more ...
|
|
Revision tags: release/13.0.0 |
|
| #
933cb282 |
| 16-Mar-2021 |
Edward Tomasz Napierala <[email protected]> |
Fix the 'linux' rc script on aarch64.
Previously it would try to load linux.ko instead of linux64.ko and fail. While here, don't try to match 'linuxaout'; even if implemented, it's the same module
Fix the 'linux' rc script on aarch64.
Previously it would try to load linux.ko instead of linux64.ko and fail. While here, don't try to match 'linuxaout'; even if implemented, it's the same module as `linuxelf`.
Reviewed By: emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29288
(cherry picked from commit e026f4243c5a65d19a63d98f55be17e8294a1e87)
show more ...
|
| #
5dc2e1bc |
| 08-Feb-2021 |
Edward Tomasz Napierala <[email protected]> |
Don't check compat.linux.emul_path before loading linux(4)
Fix e40787f900f to make libexec/rc/rc.d/linux retrieve the sysctl after loading the kernel module which provides it, not before.
Reported
Don't check compat.linux.emul_path before loading linux(4)
Fix e40787f900f to make libexec/rc/rc.d/linux retrieve the sysctl after loading the kernel module which provides it, not before.
Reported By: jkim Sponsored By: The FreeBSD Foundation
(cherry picked from commit 07cac176fba947381c8111b8e02e8067e7fa542a)
show more ...
|
| #
1b2802ed |
| 02-Feb-2021 |
Edward Tomasz Napierala <[email protected]> |
Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux
In /etc/rc.d/linux the mounting paths of procfs, sysfs and devfs are hardcoded to "/compat/linux". Switching to the content o
Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux
In /etc/rc.d/linux the mounting paths of procfs, sysfs and devfs are hardcoded to "/compat/linux". Switching to the content of compat.linux.emul_path sysctl would allow to switch linuxulator to different place.
Submitted by: freebsdnewbie_freenet.de Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27807
(cherry picked from commit e40787f900f3c262d5134d342e5a16757dd2193c)
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
6ef8f9d2 |
| 04-Jul-2020 |
Edward Tomasz Napierala <[email protected]> |
Make the linux rc script use linrdlnk by default.
This fixes Linux gettyname(3), with caveats (see PR).
PR: kern/240767 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revisio
Make the linux rc script use linrdlnk by default.
This fixes Linux gettyname(3), with caveats (see PR).
PR: kern/240767 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25558
show more ...
|
|
Revision tags: release/11.4.0 |
|
| #
5dece9b2 |
| 13-Nov-2019 |
Edward Tomasz Napierala <[email protected]> |
Add 'linux_mounts_enable' rc.conf(5) variable, to make it possible to disable mounting Linux-specific filesystems under /compat/linux when 'linux_enable' is set to YES.
Reviewed by: netchild, ian (e
Add 'linux_mounts_enable' rc.conf(5) variable, to make it possible to disable mounting Linux-specific filesystems under /compat/linux when 'linux_enable' is set to YES.
Reviewed by: netchild, ian (earlier version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22320
show more ...
|
| #
c13f19c0 |
| 07-Nov-2019 |
Edward Tomasz Napierala <[email protected]> |
Extend the linux rc script to mount the neccessary file systems, set ELF fallback brand, and load pty(4).
Reviewed by: emaste (earlier version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundatio
Extend the linux rc script to mount the neccessary file systems, set ELF fallback brand, and load pty(4).
Reviewed by: emaste (earlier version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21874
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
ee0ee18c |
| 03-Oct-2019 |
Edward Tomasz Napierala <[email protected]> |
Add rcvar back to the linux rc script. Without it it was enabled unconditionally.
Reported by: Michael Butler <imb at protected-networks dot net> MFC after: 2 weeks Sponsored by: The FreeBSD Founda
Add rcvar back to the linux rc script. Without it it was enabled unconditionally.
Reported by: Michael Butler <imb at protected-networks dot net> MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
show more ...
|
| #
028af4ae |
| 02-Oct-2019 |
Edward Tomasz Napierala <[email protected]> |
Rename etc/rc.d/abi to etc/rc.d/linux; after moving out the SysV IPC stuff it's entirely linux-specific.
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revi
Rename etc/rc.d/abi to etc/rc.d/linux; after moving out the SysV IPC stuff it's entirely linux-specific.
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21830
show more ...
|