[Bug 258190] sysutils/nut start fails with OMRON UPS after upgrading 13.0-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Sep 2021 01:15:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258190

            Bug ID: 258190
           Summary: sysutils/nut start fails with OMRON UPS after
                    upgrading  13.0-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: hsakamt@tsnr.com
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Hi,

I'm using sysutils/nut with OMRON UPS(blazer_usb driver). 
I also set up /etc/devfs.conf like:
---
own ugen1.3 root:uucp
perm ugen1.3 0660
---
and it was fine to work on 11.4-RELEASE.

But after upgrading FreeBSD to 13.0-RELEASE. Start fails on boottime since
/etc/rc.d/devfs kicked up after /usr/local/etc/rc.d/nut.

I changed rc script as:

--- files/nut.in.orig   2021-09-01 09:47:11.014756000 +0900
+++ files/nut.in        2021-09-01 09:47:34.144203000 +0900
@@ -1,7 +1,7 @@
 #!/bin/sh

 # PROVIDE: nut
-# REQUIRE: NETWORKING
+# REQUIRE: NETWORKING devfs
 # BEFORE: LOGIN
 # KEYWORD: shutdown

and it works fine again.

Best regards,

-- 
You are receiving this mail because:
You are the assignee for the bug.