Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 12:05:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216673] net/dhcp6: rcorder incorrect
Message-ID:  <bug-216673-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216673

            Bug ID: 216673
           Summary: net/dhcp6: rcorder incorrect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: tdb@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org

Created attachment 179475
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179475&action=
=3Dedit
Possible fix.

This port has the following settings for rcorder:

# PROVIDE: dhcp6c
# REQUIRE: DAEMON
# BEFORE: NETWORKING
# KEYWORD: shutdown

# PROVIDE: dhcp6s
# REQUIRE: DAEMON
# BEFORE: NETWORKING
# KEYWORD: shutdown

This tells rcorder to put dhcp6{c,s} after DAEMON and before NETWORKING. So,
eg:

DAEMON
dhcp6c
dhcp6s
NETWORKING

Unfortunately, this conflicts with DAEMON:

# PROVIDE: DAEMON
# REQUIRE: NETWORKING SERVERS

Which requires that NETWORKING come before DAEMON. The following error is
produced by rcorder:

rcorder: Circular dependency on provision `DAEMON' in file
`/usr/local/etc/rc.d/dhcp6c'.
rcorder: Circular dependency on provision `DAEMON' in file
`/usr/local/etc/rc.d/dhcp6s'.

As a fix I'd suggest just removing the requirement on DAEMON, since running
before NETWORKING seems more important.

This was introduced in bug #169138, so has been this way for nearly 4 years!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216673-13>