]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
timeout: Move from /usr/bin to /bin
authorMateusz Piotrowski <0mp@FreeBSD.org>
Wed, 1 Feb 2023 15:24:59 +0000 (16:24 +0100)
committerMateusz Piotrowski <0mp@FreeBSD.org>
Tue, 7 Feb 2023 17:37:53 +0000 (18:37 +0100)
commit0a4f7dbd9e9450cea25af944d47dce578960a1b8
treed893333999c47571d026f7576ede344e44c8c039
parent6b05c3fc615bbbb1f28ecd2533711122d7e16fc4
timeout: Move from /usr/bin to /bin

timeout(1) is used by /etc/rc.d/zfskeys. Unfortunately, having
timeout(1) installed in /usr/bin causes problems when /usr is an
encrypted ZFS partition.

Implementing timeout(1) in sh(1) is not trivial. A more elegant solution
is to move timeout(1) to /bin so that it is available to early services
in the boot process.

PR: 265221
Reviewed by: allanjude, des, imp
Approved by: allanjude, des, imp
Reported by: Ivan <r4@sovserv.ru>
Fixes: 33ff39796ffe Add zfskeys rc.d script for auto-loading encryption keys
Relnotes: yes
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D38344

(cherry picked from commit e7ab133648a168c4bf7c11da840663c5581771d8)
ObsoleteFiles.inc
bin/Makefile
bin/timeout/Makefile [moved from usr.bin/timeout/Makefile with 69% similarity]
bin/timeout/Makefile.depend [moved from usr.bin/timeout/Makefile.depend with 100% similarity]
bin/timeout/tests/Makefile [moved from usr.bin/timeout/tests/Makefile with 100% similarity]
bin/timeout/tests/Makefile.depend [moved from usr.bin/timeout/tests/Makefile.depend with 100% similarity]
bin/timeout/tests/timeout_test.sh [moved from usr.bin/timeout/tests/timeout_test.sh with 100% similarity]
bin/timeout/timeout.1 [moved from usr.bin/timeout/timeout.1 with 100% similarity]
bin/timeout/timeout.c [moved from usr.bin/timeout/timeout.c with 100% similarity]
etc/mtree/BSD.tests.dist
usr.bin/Makefile