Skip to content

pkgin update reports "No Address Found" if started within a few seconds of rebooting a zone #1114

@puphubv

Description

@puphubv

While writing scripts to configure a zone, I ran into a strange behavior...

After rebooting a zone, and then running "pkgin update"...

I'll get: pkgin: Could not fetch https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All/pkg_summary.gz: No address record

if I don't wait at least 4 seconds or so...

During my testing, I found I could actually curl the file, download it completely, and still get the no address found error.

Reboot VM...
Successfully completed reboot for VM 20283614-1e7c-4b08-b773-d4b40ae499e2
curl "https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All/pkg_summary.gz" | wc c
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5202k 100 5202k 0 0 1515k 0 0:00:03 0:00:03 -:--:-- 1514k

11/25/2024 07:58 UTC:
pkgin: Could not fetch https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All/pkg_summary.gz: No address record
processing remote summary (https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All)...

Rejected at illumos: https://www.illumos.org/issues/16914

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions