Project

General

Profile

Bug #24609

Restart mdnsd if hostname is changed

Added by Michael Dexter about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
John Hixson
Category:
GUI (new)
Target version:
Seen in:
Severity:
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

As per the 6-19-2017 FreeNAS Engineering meeting: It would appear that mDNSd is not updating when a user changes their hostname in the GUI from System: Information or Network.

Workaround: 'service mdnsd restart' in the Shell

hostnamenetwork.png (19.5 KB) hostnamenetwork.png 2 Rishabh Chauhan, 11/07/2017 10:11 AM
hostnamesystem.png (32.1 KB) hostnamesystem.png 1 Rishabh Chauhan, 11/07/2017 10:11 AM
Screen Shot 2017-11-07 at 2.53.40 PM.png (55.6 KB) Screen Shot 2017-11-07 at 2.53.40 PM.png Bonnie Follweiler, 11/07/2017 11:56 AM
Screen Shot 2017-11-07 at 2.53.17 PM.png (126 KB) Screen Shot 2017-11-07 at 2.53.17 PM.png Bonnie Follweiler, 11/07/2017 11:56 AM
Screen Shot 2017-11-07 at 2.52.36 PM.png (86.4 KB) Screen Shot 2017-11-07 at 2.52.36 PM.png Bonnie Follweiler, 11/07/2017 11:56 AM
Screen Shot 2017-11-07 at 2.53.05 PM.png (115 KB) Screen Shot 2017-11-07 at 2.53.05 PM.png Bonnie Follweiler, 11/07/2017 11:56 AM
Screen Shot 2017-11-07 at 2.52.18 PM.png (126 KB) Screen Shot 2017-11-07 at 2.52.18 PM.png Bonnie Follweiler, 11/07/2017 11:56 AM
Screen Shot 2017-11-07 at 2.52.10 PM.png (119 KB) Screen Shot 2017-11-07 at 2.52.10 PM.png Bonnie Follweiler, 11/07/2017 11:56 AM
cantping.png (141 KB) cantping.png Rishabh Chauhan, 11/07/2017 12:16 PM
12941
12942
12949
12950
12951
12952
12953
12954
12955

Associated revisions

Revision bd542276 (diff)
Added by William Grzybowski about 3 years ago

fix(middlewared): restart mdnsd if hostname is changed Ticket: #24609

Revision 65f08a59 (diff)
Added by William Grzybowski about 3 years ago

fix(middlewared): restart mdnsd if hostname is changed Ticket: #24609

History

#1 Updated by William Grzybowski about 3 years ago

  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Nice to have
  • Target version set to 11.1

#2 Updated by William Grzybowski about 3 years ago

  • Status changed from Screened to Ready For Release

#3 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from mDNSd HUP on GUI Update to Restart mdnsd if hostname is changed

#4 Updated by Dru Lavigne almost 3 years ago

  • Target version changed from 11.1 to 11.1-BETA1

#5 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Ready For Release to Resolved

#6 Updated by Rishabh Chauhan almost 3 years ago

12941
12942

Changed name from freenas to freenasrocks in System>Information and it was reflected clearly in Network>Global Configuration Hence Test Pass(screenshots)

#7 Updated by Rishabh Chauhan almost 3 years ago

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

#8 Updated by Bonnie Follweiler almost 3 years ago

12949
12950
12951
12952
12953
12954

So, it does change in both places in the GUI and but I can't ping it after the change. If I change it back with out restarting again - it works (screenshots provided)

#9 Updated by Rishabh Chauhan almost 3 years ago

12955

you are right Bonnie... I cannot ping the new name and can ping the old name, even without changing it back actually...

#10 Updated by Joe Maloney almost 3 years ago

I can confirm this issue as well.

#11 Updated by Bonnie Follweiler almost 3 years ago

  • Assignee changed from William Grzybowski to John Hixson

#12 Updated by Dru Lavigne over 2 years ago

  • Target version changed from 11.1-BETA1 to 11.1

#13 Updated by John Hixson over 2 years ago

  • Status changed from Unscreened to Screened

#14 Avatar?id=14398&size=24x24 Updated by Kris Moore over 2 years ago

  • Target version changed from 11.1 to 11.1-U1

#15 Avatar?id=13649&size=24x24 Updated by Ben Gadd over 2 years ago

  • Status changed from Screened to Investigation

John to investigate

#16 Updated by Dru Lavigne over 2 years ago

  • Status changed from Investigation to 15

Michael: is this still an issue for you on 11.1?

#17 Updated by Michael Dexter over 2 years ago

Works on 11.1 localhost. Change name, ping the new name, works fine.

I am not able to see any mDNS names from other systems on the network but that is a different matter.

#18 Updated by Dru Lavigne over 2 years ago

  • Status changed from 15 to Resolved
  • Target version changed from 11.1-U1 to 11.1-BETA1

I'll mark this one as resolved then.

#19 Updated by Bonnie Follweiler over 2 years ago

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

This is working in FreeNAS-11-MASTER-201804200410

Also available in: Atom PDF