Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67941 - [cloud-init] Add inetutils as a dependency

Attached to Project: Community Packages
Opened by Evaggelos Balaskas (ebal) - Saturday, 19 September 2020, 20:08 GMT
Last edited by David Runge (dvzrv) - Friday, 07 May 2021, 17:33 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

According to this:

https://github.com/canonical/cloud-init/blob/6d332e5c8dbfb6521a530b1fa49d73da51efff96/cloudinit/distros/__init__.py#L239

and if not mistaken, cloud-init is using the hostname command to apply the hostname of a machine in runtime. In debian/ubuntu packages hostname is an essential package. In Archlinux, hostname command is part of core/inetutils. So if you want cloud-init to set the hostname (thus until reboot which will read the /etc/hostname) you need inetutils as a dependency for cloud-init in archlinux

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

This task depends upon

Closed by  David Runge (dvzrv)
Friday, 07 May 2021, 17:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  The dependency on inetutils is not needed anymore with cloud-init 21.2 as hostnamectl is used.
Comment by Kristian (klausenbusk) - Saturday, 30 January 2021, 23:52 GMT
inetutils was added as a dependency some time ago.

I have opened a PR upstream: https://github.com/canonical/cloud-init/pull/797 so hopefully we can remove inetutils as a dependency in the future.
Comment by Kristian (klausenbusk) - Wednesday, 10 March 2021, 23:44 GMT
The PR has been merged, so we can remove inetutils as a dependency when the next cloud-init release is cut.
Comment by Christian Rebischke (Shibumi) - Saturday, 27 March 2021, 12:55 GMT
Why do they not fallback to systemd-hostnamed.. I don't get it sigh. systemd should make things easier, but instead some distributions are still ignoring all possibilities with it.

Loading...