actions / runner-images

GitHub Actions runner images
MIT License
10.17k stars 3.06k forks source link

hostname could have more than 64 characters #10650

Closed kezhuw closed 1 month ago

kezhuw commented 1 month ago

Description

hostname gives fv-az1272-448.grsihaubamwerhiryzjrxtypna.phxx.internal.cloudapp.net which is longer than 64 characters. Some tools, say OpenSSL, refuses these hostnames.

Platforms affected

Runner images affected

Image version and build link

https://github.com/kezhuw/zookeeper/actions/runs/10831378697/job/30053388552

The first job step runs hostname -f.

Is it regression?

Not sure.

Expected behavior

Hostnames must be less than 63 characters in length per Section 2.3.4 of the Domain Names Specification RFC.

https://docs.github.com/en/enterprise-server@3.10/admin/configuring-settings/configuring-network-settings/configuring-the-hostname-for-your-instance

Actual behavior

hostname gives fv-az1272-448.grsihaubamwerhiryzjrxtypna.phxx.internal.cloudapp.net which is longer than 64 characters.

Repro steps

Adds a job step to output hostname.

kishorekumar-anchala commented 1 month ago

Hi @kezhuw ,

Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

vidyasagarnimmagaddi commented 1 month ago

Hi @kezhuw , We have anlayzed the issue by forking your repo. The build appears to be successful. hence closing the issue. Thanks