[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-11-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

--- Comment #5 from commit-h...@freebsd.org ---
A commit references this bug:

Author: gjb
Date: Thu Nov 29 01:02:52 UTC 2018
New revision: 341169
URL: https://svnweb.freebsd.org/changeset/base/341169

Log:
  MFS12 r341167:
   MFC r340983:
   Fix NTP query on GCE due to unresolved hostname.

  PR:   232456
  Submitted by: Lucas Kanashiro
  Approved by:  re (delphij)
  Sponsored by: The FreeBSD Foundation

Changes:
_U  releng/12.0/
  releng/12.0/release/tools/gce.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-11-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

Glen Barber  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed

--- Comment #4 from Glen Barber  ---
Fixed, thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-11-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: gjb
Date: Thu Nov 29 00:28:09 UTC 2018
New revision: 341167
URL: https://svnweb.freebsd.org/changeset/base/341167

Log:
  MFC r340983:
   Fix NTP query on GCE due to unresolved hostname.

  PR:   232456
  Submitted by: Lucas Kanashiro
  Sponsored by: The FreeBSD Foundation

Changes:
_U  stable/11/
  stable/11/release/tools/gce.conf
_U  stable/12/
  stable/12/release/tools/gce.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-11-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: gjb
Date: Mon Nov 26 17:00:40 UTC 2018
New revision: 340983
URL: https://svnweb.freebsd.org/changeset/base/340983

Log:
  Fix NTP query on GCE due to unresolved hostname.

  PR:   232456
  Submitted by: Lucas Kanashiro
  MFC after:3 days
  Sponsored by: The FreeBSD Foundation

Changes:
  head/release/tools/gce.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-11-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

Glen Barber  changed:

   What|Removed |Added

 CC|g...@freebsd.org |r...@freebsd.org
 Status|New |In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

--- Comment #1 from Lucas Kanashiro  ---
I can also reproduce this issue using FreeBSD 11 image available in GCE.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

Lucas Kanashiro  changed:

   What|Removed |Added

   Hardware|Any |amd64
   Keywords||patch, patch-ready

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 232456] release/tools/gce.conf: cannot query NTP because of the non resolved hostname

2018-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232456

Bug ID: 232456
   Summary: release/tools/gce.conf: cannot query NTP because of
the non resolved hostname
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: conf
  Assignee: b...@freebsd.org
  Reporter: lucas.kanash...@collabora.com

Created attachment 198376
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198376&action=edit
Patch release/tools/gce.conf to allow NTP queries

After create a VM on GCE using a FreeBSD 12 image
(projects/freebsd-org-cloud-dev/global/images/family/freebsd-12-0) for some
reason I cannot query NTP because of non resolved hostname.

# ntpq -p
hostname nor servname provided, or not known

After adding '127.0.0.1 localhost' to /etc/hosts I am able to do the query.

# ntpq -p
 remote   refid  st t when poll reach   delay   offset  jitter
==
*metadata.google 71.79.79.71  2 u   42   64  3770.530   65.006 121.795

I attached a patch that instead of overwrite the /etc/hosts with this content:

echo '169.254.169.254 metadata.google.internal metadata' > \
${DESTDIR}/etc/hosts

We simply append this line to the base /etc/hosts file.

One of the tests that the Google Cloud team runs against images is to query NTP
this way that I described, so this is making some tests failures.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"