Created attachment 234357 [details] [PATCH] rc.d/hostid: remove useless cat I tried to post this to freebsd-rc@freebsd.org, but your MX really didn't like mine (unrelated reasons, I'll have to call my g.d. ISP again). I'm attaching a patch that just re-uses the already-read-and-validated ID (and avoids a TOCTTOU, technically, but meh), based on yesterday's git HEAD.
Patch lgtm, thanks I'll take it
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=11bd40d04af59daa7ae7feea0518081a35f07053 commit 11bd40d04af59daa7ae7feea0518081a35f07053 Author: наб <nabijaczleweli@nabijaczleweli.xyz> AuthorDate: 2022-05-30 23:18:12 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-06-18 01:27:19 +0000 rc.d/hostid: remove useless cat We've already read it and validated it ‒ re-reading is wasteful PR: 264376 libexec/rc/rc.d/hostid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7af7a0d1b14e669277f704eac0b8d3f82d327a9b commit 7af7a0d1b14e669277f704eac0b8d3f82d327a9b Author: наб <nabijaczleweli@nabijaczleweli.xyz> AuthorDate: 2022-05-30 23:18:12 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2023-09-24 15:48:34 +0000 rc.d/hostid: remove useless cat We've already read it and validated it ‒ re-reading is wasteful PR: 264376 (cherry picked from commit 11bd40d04af59daa7ae7feea0518081a35f07053) libexec/rc/rc.d/hostid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
^Triage: committed to all supported branches.