Message300593
| Author |
devurandom |
| Recipients |
James Shewey, Stijn.Hoop, ankitoshniwal, devurandom, dfranke, loewis, mcjeff, r.david.murray |
| Date |
2017年08月20日.02:22:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1503195752.1.0.339622929609.issue5004@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In my case, /etc/hostname, /proc/sys/kernel/hostname, `uname -n`, `hostname -f` all show the same FQDN, but `python -c 'import socket ; print(socket.getfqdn())'` still prints the short hostname. /etc/hosts is empty except for localhost. /etc/nsswitch.conf contains:
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname |
|