| Summary: | Hostname always reverts back to localhost | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jude Ashvin Lobo Shenoy <ashvinlobo> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | anaselli, doktor5000, marja11, matteo.pasotti, remco |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA5TOO | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Jude Ashvin Lobo Shenoy
2015-03-17 14:43:24 CET
This issue is not generally reproducible. Can you give more details? Like, what are you updating that's changing the file, for instance. Keywords:
(none) =>
NEEDINFO I change the hostname in the hostname file and restart the pc. Sometimes i restart the pc after receiving updates and installing them. Recently i installed Firefox 37 beta from the repo on MCC. after the installation i could not login to webmin so i had to uninstall webmin and reinstall it. Just updated my pc yesterday and suddenly i can't login to webmin as the hostname has changed all by itself. (In reply to David Walser from comment #1) > This issue is not generally reproducible. Can you give more details? Like, > what are you updating that's changing the file, for instance. I change the hostname in the hostname file and restart the pc. Sometimes i restart the pc after receiving updates and installing them. Recently i installed Firefox 37 beta from the repo on MCC. after the installation i could not login to webmin so i had to uninstall webmin and reinstall it. Just updated my pc yesterday and suddenly i can't login to webmin as the hostname has changed all by itself. Hi Jude, Can you check https://forums.mageia.org/en/viewtopic.php?f=7&t=7298 and see if that solves your problem? (I agree that silently losing your hostname every time is very annoying) CC:
(none) =>
remco FWIW manahost (adminpanel package) allows to change hostname either into /etc/hostname (names pow) or machine name CC:
(none) =>
anaselli Well i followed the link and am ok now. Just a query....Should i add hostname in /etc/hosts? Should i add it as follows: 127.0.1.1 wolf (In the /etc/hosts file). Have already added it in /etc/hostname and /etc/sysconfig/network IMHO this is still valid, mainly because we do not make it mandatory in installer or on first boot to ask the user if the hostname should be set [this only happens if you choose automatic network configuration (DHCP) and specify a hostname, which is optional]. This should be done via hostnamectl or manahost, whatever is easier to implement. See also the proposed mga5 feature https://wiki.mageia.org/en/Feature:Add_a_step_in_order_to_choose_computer%27s_name_(installation) and partly bug 12580 Hardware:
x86_64 =>
All
Samuel Verschelde
2015-06-06 15:23:25 CEST
Whiteboard:
(none) =>
MGA5TOO
Marja Van Waes
2016-10-16 22:57:01 CEST
Assignee:
bugsquad =>
mageiatools
Matteo Pasotti
2021-01-28 10:32:20 CET
CC:
(none) =>
matteo.pasotti |