Bug 44378 - allow to add aliases to "localhost" entry of /etc/hosts
allow to add aliases to "localhost" entry of /etc/hosts
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Network
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-18 09:36 CEST by Daniel Tröder
Modified: 2020-07-05 06:11 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2017-04-18 09:36:19 CEST
Currently the "localhost" entry in /etc/resolv.conf is hardcoded in the template.
For a case like http://help.univention.com/t/wie-oxappsuite-updaten/5424/8 it would be nice to be able to add aliases to the line.

Replace 127.0.0.1 line with a UCRV "hosts/static/127.0.0.1" with default to the current setting.
Comment 1 Philipp Hahn univentionstaff 2017-04-18 09:45:12 CEST
You can always use any of the other 2^24-2 loopback addresses like 127.0.0.2 .. 127.255.255.255
Comment 2 Daniel Tröder univentionstaff 2017-04-18 10:29:38 CEST
I don't think that works with Apache configurations where a limit to "127.0.0.1" is set.
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:54:27 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 4 Philipp Hahn univentionstaff 2020-07-05 06:11:59 CEST
This bug was about /etc/hosts (static mapping of IP to name and vis-versa), not /etc/resolv.conf (configuration for DNS resolver).