Bug 199733 - devd requires hastd using CARP+HAST.
Summary: devd requires hastd using CARP+HAST.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 9.3-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-rc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-27 14:23 UTC by hs_fbsd
Modified: 2025-02-05 00:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hs_fbsd 2015-04-27 14:23:23 UTC
I setup CARP and HAST described as:
 https://www.freebsd.org/doc/en/books/handbook/disks-hast.html

But not work on boot time because devd start before hastd.
This patch for /etc/rc.d/devd looks work fine for me.

----
*** devd.old	Mon Apr 27 22:57:42 2015
--- devd	Mon Apr 27 22:57:17 2015
***************
*** 4,10 ****
  #
  
  # PROVIDE: devd
! # REQUIRE: netif
  # BEFORE: NETWORKING mountcritremote
  # KEYWORD: nojail shutdown
  
--- 4,10 ----
  #
  
  # PROVIDE: devd
! # REQUIRE: netif hastd
  # BEFORE: NETWORKING mountcritremote
  # KEYWORD: nojail shutdown
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-05 00:48:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=2d17f44a5ae6e948c3a93cac30b8315d127ba900

commit 2d17f44a5ae6e948c3a93cac30b8315d127ba900
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-02-05 00:36:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-05 00:47:21 +0000

    rc.d: Add hastd as a prereq for devd

    Setuping up CARP and HAST described in:
            https://www.freebsd.org/doc/en/books/handbook/disks-hast.html
    doesn't work at boot time because devd start before hastd.

    PR: 199733
    Submitted-by: hs_fbsd@on-sky.net (no name given)

 libexec/rc/rc.d/devd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Warner Losh freebsd_committer freebsd_triage 2025-02-05 00:50:22 UTC
no mfc planned.