i’m guessing a few things somehow consume /etc/hosts mappings without going through nss /shrug
aspiring Rustacean, JavaScript jockey, 3D printing addict, use Bluefin Linux, (Apple|Google)-captive, Meta-escapee, parent, husband with a husband, cisgender, he/him
- 1 Post
- 8 Comments
it modifies /etc/hostname for you, but doesn’t seem to touch /etc/hosts
i still prefer hostnamectl, but i’m now unsure of what benefit it offers over editing /etc/hostname directly
no, you might have misunderstood
/etc/hosts is not where the hostname is configured
/etc/hostname for the actual hostname, and a mapping in /etc/hosts pointing it at a 127.x.x.x address
seems like a pretty common practice across Linux distributions
/etc/hostname for the actual hostname, and a mapping in /etc/hosts pointing it at a 127.x.x.x address
yep, I used that command to modify the hostname, rather than edit /etc/hostname directly
I think it should be a punishable offence to share Python scripts that depend on third-party packages without any ready-to-go bundling/isolation :)
goes for any interpretted language where dependencies inevitably creep into the global namespace via distribution packagers that should know better :P


meh, it was cryptocurrency and blockchain snake-oil before it was AI snake-oil
it might have been good before cryptocurrency, i sadly can’t remember