Aug 092012
 

Encountered several times so better write it down here – in case you want to write messages to syslog facility, you can do “echo something | logger”, sure logger has lots of options to specify facility and priority etc.

logger should be part of Linux base package as I checked (util-linux-ng for CentOS, util-linux for Fedora, and bsdutils for Ubuntu).

BTW, dpkg -S <file> shows the package who owns the file.

Aug 092012
 

NetworkManager should be 2nd most useless thing on Linux (I give champaignship to SELinux).

Again this is NIS client setup, after everything setup, I found that the domain is messed up, obviously NetworkManager set domain to localdomain for some reason, it could be because of its default setting, but isnt’t good to leave this default value as a comment in configuration file? Anyway, I spent quite sometime digging into ypbind, nss, network, dhcp, stuffs, and finally – just disable the NetworkManager service, reboot the machine and everything went perfectly fine.

So write this down here – remind me disable NetworkManager next time if I install any Linux box.