NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51622 (NPF startup fails when using dhcpcd for inet4 and inet6)



The following reply was made to PR bin/51622; it has been noted by GNATS.

From: Timshel Knoll-Miller <timshel%fluentdevelopment.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, maxv%netbsd.org@localhost
Subject: Re: bin/51622 (NPF startup fails when using dhcpcd for inet4 and inet6)
Date: Tue, 6 Nov 2018 11:07:16 +1100

 --0000000000008de9400579f3c997
 Content-Type: text/plain; charset="UTF-8"
 
 Hi Max & others,
 
 
 Can the state of this PR be switched from 'feedback' please (maybe back to
 'open' if there isn't a more suitable status)? I keep getting "NetBSD
 Problem Report awaiting feedback" reminder emails, even though I have
 already responded that the suggested workaround doesn't resolve the issue.
 
 
 As per my previous email, the workaround doesn't work on NetBSD 7 releases
 including 7_STABLE, because ifaddrs() was introduced AFTER NetBSD 7 was
 branched.
 
 
 Cheers,
 
 
 Timshel
 
 
 
 On Wed, 5 Sep 2018 at 09:18 Timshel Knoll-Miller <
 timshel%fluentdevelopment.com.au@localhost> wrote:
 
 > Thanks for the update Max, however judging from the manual pages,
 > "ifaddrs()" has only been introduced in NetBSD 8, so it doesn't resolve
 > this issue for NetBSD 7.
 >
 > Using the static address lists are fine for my purposes, provided that the
 > boot process can ensure that DHCP addresses are assigned BEFORE npf is
 > started.
 >
 > Enabling the dhcpcd "waitip" option (which requires the patch I backported
 > from -current) means that dhcpcd will wait for the DHCP addresses to be
 > assigned before continuing the boot process, and so resolves this issue on
 > NetBSD 7.
 >
 > Cheers,
 >
 > Timshel
 >
 >
 >
 > On Mon, 3 Sep 2018 at 16:29 <maxv%netbsd.org@localhost> wrote:
 >
 >> Synopsis: NPF startup fails when using dhcpcd for inet4 and inet6
 >>
 >> State-Changed-From-To: open->feedback
 >> State-Changed-By: maxv%NetBSD.org@localhost
 >> State-Changed-When: Mon, 03 Sep 2018 06:29:51 +0000
 >> State-Changed-Why:
 >> Use ifaddrs(vioif0) instead of inet4(vioif0). inet4()/inet6() are static
 >> lists, ifaddrs() is a dynamic list.
 >>
 >>
 >>
 >> --
 > [image: fluent-icon-grey-90x90.png]
 >
 > Timshel Knoll-Miller
 > Co-founder
 > Fluent Development
 > 15 Manna Lane, Cudgee VIC 3265
 > p: +61 (03) 5537 9122 <+61%203%205537%209122> m: 0434 864 908e:
 > timshel%fluentdevelopment.com.au@localhost w: fluentdevelopment.com.au
 > <http://www.fluentdevelopment.com.au/>
 >
 -- 
 [image: fluent-icon-grey-90x90.png]
 
 Timshel Knoll-Miller
 Co-founder
 Fluent Development
 15 Manna Lane, Cudgee VIC 3265
 p: +61 (03) 5537 9122 m: 0434 864 908e: timshel%fluentdevelopment.com.au@localhost w:
 fluentdevelopment.com.au <http://www.fluentdevelopment.com.au/>
 
 --0000000000008de9400579f3c997
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Hi Max &amp; others,<br><br><br>Can the state of this PR b=
 e switched from &#39;feedback&#39; please (maybe back to &#39;open&#39; if =
 there isn&#39;t a more suitable status)? I keep getting &quot;NetBSD Proble=
 m Report awaiting feedback&quot; reminder emails, even though I have alread=
 y responded that the suggested workaround doesn&#39;t resolve the issue.<br=
 ><br><br>As per my previous email, the workaround doesn&#39;t work on NetBS=
 D 7 releases including 7_STABLE, because  ifaddrs() was introduced AFTER Ne=
 tBSD 7 was branched.<br><br><br>Cheers,<br><br><br>Timshel<br><br><br></div=
 ><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed, 5 Sep 2018 at 09:1=
 8 Timshel Knoll-Miller &lt;<a href=3D"mailto:timshel%fluentdevelopment.com@localhost.=
 au">timshel%fluentdevelopment.com.au@localhost</a>&gt; wrote:<br></div><blockquote cl=
 ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
 adding-left:1ex"><div dir=3D"ltr">Thanks for the update Max, however judgin=
 g from the manual pages, &quot;ifaddrs()&quot; has only been introduced in =
 NetBSD 8, so it doesn&#39;t resolve this issue for NetBSD 7.<div><br></div>=
 <div>Using the static address lists are fine for my purposes, provided that=
  the boot process can ensure that DHCP addresses are assigned BEFORE npf is=
  started.</div><div><br></div><div>Enabling the dhcpcd &quot;waitip&quot; o=
 ption (which requires the patch I backported from -current) means that dhcp=
 cd will wait for the DHCP addresses to be assigned before continuing the bo=
 ot process, and so resolves this issue on NetBSD 7.</div><div><br></div><di=
 v>Cheers,</div><div><br></div><div>Timshel<br><div><br></div><div><br></div=
 ></div></div><div dir=3D"ltr"><br><div class=3D"gmail_quote"><div dir=3D"lt=
 r">On Mon, 3 Sep 2018 at 16:29 &lt;<a href=3D"mailto:maxv%netbsd.org@localhost"; targe=
 t=3D"_blank">maxv%netbsd.org@localhost</a>&gt; wrote:<br></div><blockquote class=3D"g=
 mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
 eft:1ex">Synopsis: NPF startup fails when using dhcpcd for inet4 and inet6<=
 br>
 <br>
 State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: maxv%NetBSD.org@localhost<br>
 State-Changed-When: Mon, 03 Sep 2018 06:29:51 +0000<br>
 State-Changed-Why:<br>
 Use ifaddrs(vioif0) instead of inet4(vioif0). inet4()/inet6() are static<br=
 >
 lists, ifaddrs() is a dynamic list.<br>
 <br>
 <br>
 <br>
 </blockquote></div></div>-- <br><div dir=3D"ltr" class=3D"m_-53146721919068=
 92509gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><=
 div><table border=3D"0" style=3D"font-family:arial,sans-serif;font-size:sma=
 ll;color:rgb(0,0,0);border:none;border-collapse:collapse;width:562px"><colg=
 roup><col width=3D"120"><col width=3D"*"></colgroup><tbody><tr><td style=3D=
 "margin:0px;width:120px;vertical-align:middle"><img title=3D"Fluent" alt=3D=
 "fluent-icon-grey-90x90.png" width=3D"90" height=3D"90" style=3D"border:non=
 e" src=3D"https://lh3.googleusercontent.com/zjId8wBlfkNDNURpKVbP_fIuz6Ktf8b=
 i1t1t-N8Owp52S3vG3P8biOUeXcSSf8LvCT4qwa4KdVNsihKcw2XeW6CjRF4ntcvh_ttxIHjnlz=
 HgOz2zU_hqSWHlYtV3wu8bP_p2XV4v"></td><td style=3D"margin:0px;vertical-align=
 :middle"><p dir=3D"ltr" style=3D"font-family:quicksand,verdana,arial,helvet=
 ica,sans-serif;font-size:13.3333px"><span style=3D"font-size:14.6667px;font=
 -weight:bold">Timshel Knoll-Miller</span><br>Co-founder<br><span style=3D"c=
 olor:rgb(153,153,153);font-weight:bold">Fluent=C2=A0Development</span><br>1=
 5=C2=A0Manna=C2=A0Lane, Cudgee=C2=A0VIC=C2=A03265<br><span style=3D"color:r=
 gb(153,153,153);font-weight:bold">p:=C2=A0</span><a href=3D"tel:+61%203%205=
 537%209122" value=3D"+61355379122" target=3D"_blank">+61=C2=A0(03)=C2=A0553=
 7=C2=A09122</a>=C2=A0<span style=3D"color:rgb(153,153,153);font-weight:bold=
 ">m:=C2=A0</span>0434=C2=A0864=C2=A0908<span style=3D"color:rgb(153,153,153=
 );font-weight:bold">e:=C2=A0</span><a href=3D"mailto:timshel@fluentdevelopm=
 ent.com.au" style=3D"color:rgb(17,85,204);text-decoration:none" target=3D"_=
 blank">timshel%fluentdevelopment.com.au@localhost</a>=C2=A0<span style=3D"color:rgb(1=
 53,153,153);font-weight:bold">w:=C2=A0</span><a href=3D"http://www.fluentde=
 velopment.com.au/" style=3D"color:rgb(17,85,204);text-decoration:none" targ=
 et=3D"_blank">fluentdevelopment.com.au</a></p>
 </td></tr></tbody></table>
 
 </div></div></div>
 </blockquote></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-s=
 martmail=3D"gmail_signature"><div dir=3D"ltr"><div><table border=3D"0" styl=
 e=3D"font-family:arial,sans-serif;font-size:small;color:rgb(0,0,0);border:n=
 one;border-collapse:collapse;width:562px"><colgroup><col width=3D"120"><col=
  width=3D"*"></colgroup><tbody><tr><td style=3D"margin:0px;width:120px;vert=
 ical-align:middle"><img title=3D"Fluent" alt=3D"fluent-icon-grey-90x90.png"=
  width=3D"90" height=3D"90" style=3D"border: none;" src=3D"https://lh3.goog=
 leusercontent.com/zjId8wBlfkNDNURpKVbP_fIuz6Ktf8bi1t1t-N8Owp52S3vG3P8biOUeX=
 cSSf8LvCT4qwa4KdVNsihKcw2XeW6CjRF4ntcvh_ttxIHjnlzHgOz2zU_hqSWHlYtV3wu8bP_p2=
 XV4v"></td><td style=3D"margin:0px;vertical-align:middle"><p dir=3D"ltr" st=
 yle=3D"font-family:quicksand,verdana,arial,helvetica,sans-serif;font-size:1=
 3.3333px"><span style=3D"font-size:14.6667px;font-weight:bold">Timshel Knol=
 l-Miller</span><br>Co-founder<br><span style=3D"color:rgb(153,153,153);font=
 -weight:bold">Fluent=C2=A0Development</span><br>15=C2=A0Manna=C2=A0Lane, Cu=
 dgee=C2=A0VIC=C2=A03265<br><span style=3D"color:rgb(153,153,153);font-weigh=
 t:bold">p:=C2=A0</span>+61=C2=A0(03)=C2=A05537=C2=A09122=C2=A0<span style=
 =3D"color:rgb(153,153,153);font-weight:bold">m:=C2=A0</span>0434=C2=A0864=
 =C2=A0908<span style=3D"color:rgb(153,153,153);font-weight:bold">e:=C2=A0</=
 span><a href=3D"mailto:timshel%fluentdevelopment.com.au@localhost"; target=3D"_blank" =
 style=3D"color:rgb(17,85,204);text-decoration:none">timshel@fluentdevelopme=
 nt.com.au</a>=C2=A0<span style=3D"color:rgb(153,153,153);font-weight:bold">=
 w:=C2=A0</span><a href=3D"http://www.fluentdevelopment.com.au/"; target=3D"_=
 blank" style=3D"color:rgb(17,85,204);text-decoration:none">fluentdevelopmen=
 t.com.au</a></p>
 </td></tr></tbody></table>
 
 </div></div></div>
 
 --0000000000008de9400579f3c997--
 



Home | Main Index | Thread Index | Old Index