Quoting Glenn English ([email protected]): > I put Jessie on a laptop. 'hostname -f' said it couldn't do it (don't > remember the error message, but it was, essentially, "Oops").
Couldn't do what? > The instructions on the 'Net for fixing the missing domain name in Jessie > were the same as they've always been: put the fully qualified domain name > (fqdn) with the IP in /etc/hosts. They were already there, so I moved them to > the top, like the picture on the web, and rebooted. Didn't work. Like what picture on the web? How about you post your /etc/hosts. > I saw another suggestion from somewhere else: put the domain name in > /etc/resolv.conf. I did that and got my 'hostname -f' working. 'hostname > --ip-address' worked too. Random suggestions from the net? > The problem with that is that there's a line at the top of the resolv.conf: > "Generated by NetworkManager." So I went to /usr/sbin, moved NetworkManager > to NetworkManagerqw, and created an executable NetworkManager shell script > that put the right info in resolv.conf. A reboot wiped the file and put that > "Generated..." line back at the top with nothing else in the file. The file > is rewritten from scratch on boot. That doesn't surprise me. I have resolvconf installed. It takes responsibility for /etc/resolv.conf. > 'strings' tells me that the "Generated..." string is in > /usr/sbin/NetWorkManagerqw. > > I spent a long time trying to find out where the faulty resolv.conf was being > created and how to either get it out of the way so I could just write it > myself, or at least get it to put the right info in the file. (Failed) > > This is what we're supposed to use for servers on the Internet? That error > would kill the iptables packet filters on all my servers if I put Jessie on > them. I thought this was a laptop. What domainname do you expect it to have? Does it need one? Mine doesn't. But it does sound like your networking configuration is messed up. Weren't you having networking problems earlier this week? Could that be connected? > Now far be it from me to throw more gasoline on the systemd flames, but this > is unacceptable. System V was certainly a mess too, with all those files > being sourced into the init.d files. But it did bring up the kernel and a few > daemons, and 'hostname -f' worked. If I were the powers that be at Debian, > I'd have done a little work cleaning up System V instead of going to what > seems to be buggy, a little too smart for its own good, and next to > impossible to decipher, init software. > > Debian has a well deserved reputation for being some of the most stable > software available. Sid is supposed to be broken, and that's fine -- it's > alpha and its bugs get fixed as it slides down the hill. But when it gets to > stable it's supposed to work. Real good, and all the time. > > Thank you for your attention... If it's unacceptable, why don't you just stick with sysv. It's a no-brainer if you install a minimal wheezy and immediately upgrade. Cheers, David.

