Date: Thu, 18 Oct 2018 17:47:55 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232397] ctld does not depend on sysctl.conf being evaluated Message-ID: <bug-232397-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232397 Bug ID: 232397 Summary: ctld does not depend on sysctl.conf being evaluated Product: Base System Version: 11.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: mqudsi@neosmart.net The ctld service does not wait for sysctl.conf to be evaluated before runni= ng.=20 Unfortunately, the drivers for some popular cards require sysctl configurat= ion in sysctl.conf (not possible in loader.conf) to bring them up in the correct mode (e.g. mlx4/mlx4en to set the card in ip instead of ib mode), meaning t= hat when ctld starts up, it fails immediately because it can't listen on the requested address. I'm unsure how to modify /etc/rc.d/ctld to enact a dependency on sysctl.con= f's evaluation; for my purposes I ended up hacking the ctld service itself to unconditionally execute the sysctls I need set prior to actually processing= the service start command. --=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-232397-227>