Project

General

Profile

Bug #26531

Make sure mDNS starts

Added by Joe Maloney 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Expected
Assignee:
John Hixson
Category:
Middleware
Target version:
Seen in:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

After installing FreeNAS I normally expect to be able to access it by http://freenas.local, and should be able to ping freenas.local. This does not work after the changes to mdns. A service like SMB must be started first in order to be able to access using mdns.


Related issues

Related to FreeNAS - Bug #26168: mdns is not workingClosed: Cannot reproduce2017-10-12

Associated revisions

Revision 72098380 (diff)
Added by John Hixson 10 months ago

wait for mdnsd to start

Ticket: #26531

Revision 9d871f3a (diff)
Added by John Hixson 10 months ago

wait for mdnsd to start

Ticket: #26531
(cherry picked from commit 7209838040c3b520116063b4a199e71ca352274c)

Revision eaeb36cb (diff)
Added by John Hixson 10 months ago

wait for mdnsd to start (#559)

  • wait for mdnsd to start

Ticket: #26531
(cherry picked from commit 7209838040c3b520116063b4a199e71ca352274c)

  • Make William happy

(cherry picked from commit df24be5888402fae5d4b84dba7e7b51d9bf45898)

Revision f90c5c17 (diff)
Added by John Hixson 10 months ago

wait for mdnsd to start (#558)

  • wait for mdnsd to start

Ticket: #26531

  • Make William happy
  • rename from Thread->Monitor

History

#1 Avatar?id=14398&size=24x24 Updated by Kris Moore 11 months ago

  • Status changed from Untriaged to Unscreened
  • Assignee changed from Release Council to William Grzybowski
  • Priority changed from No priority to Expected
  • Target version set to 11.1

William: Please load balance

#2 Updated by William Grzybowski 11 months ago

  • Assignee changed from William Grzybowski to John Hixson

#3 Updated by Sean Fagan 11 months ago

Also see #26168. This has been flaky -- it seems to work sometimes but not others.

#4 Updated by Dru Lavigne 11 months ago

  • Related to Bug #26168: mdns is not working added

#5 Updated by John Hixson 11 months ago

  • Status changed from Unscreened to Screened

#6 Avatar?id=14398&size=24x24 Updated by Kris Moore 11 months ago

  • Target version changed from 11.1 to 11.1-U1

#7 Updated by Dru Lavigne 11 months ago

Note that this invalidates the Guides that ship with hardware which specifically state to connect to freenas.local.

#8 Updated by John Hixson 11 months ago

  • Status changed from Screened to 15

I'm pretty sure this is intentional. We do have options here though. We can manually register _workstation or _device-info on startup. Thoughts?

#9 Updated by John Hixson 11 months ago

  • Target version changed from 11.1-U1 to 11.1

Well, I see the problem and the fix here ;-) The middleware daemon starts early, it starts even before mdnsd does, so not even _middleware is getting registered. I need to either change the RC ordering or make the mdns plugin smart enough to hold out for mdnsd to start. Once this is done, this should fix this issue.

#10 Updated by John Hixson 11 months ago

John Hixson wrote:

Well, I see the problem and the fix here ;-) The middleware daemon starts early, it starts even before mdnsd does, so not even _middleware is getting registered. I need to either change the RC ordering or make the mdns plugin smart enough to hold out for mdnsd to start. Once this is done, this should fix this issue.

Changing the RC order is probably very bad, so going to work on the latter.

#12 Updated by John Hixson 10 months ago

  • Status changed from 15 to Needs Developer Review
  • Assignee changed from John Hixson to Release Council

#13 Updated by Dru Lavigne 10 months ago

  • Subject changed from mdns does not work until a service is started to Make sure mDNS starts

#14 Updated by Dru Lavigne 10 months ago

  • Assignee changed from Release Council to William Grzybowski

William: can you review this one?

#15 Updated by William Grzybowski 10 months ago

  • Assignee changed from William Grzybowski to Vladimir Vinogradenko

I could but Vladimir is already in the review list for the PRs, lets give him a shot first.

#16 Updated by John Hixson 10 months ago

William Grzybowski wrote:

I could but Vladimir is already in the review list for the PRs, lets give him a shot first.

William^H^H^H^H^H^H^HPEP8 fixes have been committed.

#17 Updated by Vladimir Vinogradenko 10 months ago

  • Status changed from Needs Developer Review to Reviewed by Developer
  • Assignee changed from Vladimir Vinogradenko to William Grzybowski

#18 Updated by William Grzybowski 10 months ago

  • Assignee changed from William Grzybowski to John Hixson

#19 Updated by Dru Lavigne 10 months ago

  • Status changed from Reviewed by Developer to Ready For Release

#20 Updated by Joe Maloney 10 months ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

#21 Updated by Dru Lavigne 10 months ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF