doktor5000 wrote:Please show the output of getent hosts localhost and relevant lines of your /etc/cups/printers.conf
- Code: Select all
# grep 1 /etc/cups/printers.conf | egrep -v "\#|Time"
<DefaultPrinter HP_Photosmart_C3100_series>
UUID urn:uuid:2742c291-5731-3854-4e9f-e44e86aa683b
DeviceURI hp:/usb/Photosmart_C3100_series?serial=CN65FB21RJ04KV
- Code: Select all
$ getent hosts localhost
::1 localhost
Now that just bites and is a bit of a lie if I understand getent usage correctly because there are no ipv6 values for localhost.
- Code: Select all
$ grep loc /etc/hosts
127.0.0.1 localhost.localdomain localhost
Apart from that, hostname should not be configured in /etc/sysconfig/network
Heheh, out of the box install puts it there. Only reason I showed /etc/sysconfig/network was to show I had disabled some ipv6 stuff.
Best use either hostnamectl to set it
Oh NO, surly NOT a systemd gotcha.
or put only the short hostname into /etc/hostname
Hmmm, not the short name. During network setup section of install, you/I always enter the FQDN which will set it both /etc/sysconfig/network (since Mandrake/Mandriva) and. /etc/hostname (Mageia 3, I think) unless your setup is getting the domain from some upstream source.
and in /etc/hosts in the format
- Code: Select all
127.0.0.1 yourshorthostname localhost
and any further aliases that you want to use at the end of the line.
localhost.locadomain should not be used - according to your route output, there seems also avahi running, and avahi will handle requests against .local domain
Hm, been using "127.0.0.1 localhost.locadomain localhost" on all my installs and I think had enabled avahi to see if would help and forgot to disable it and reboot before posting.
Looking in my VirtualBox mga5b2 with /etc/hosts which has
- Code: Select all
127.0.0.1 localhost
I see
- Code: Select all
$ getent hosts localhost
::1 localhost
Offhand I say systemctl is causing all my grief.
If no other suggestions, I believe I need to open a bug report.