On Fri, 2016-04-22 at 20:49 -0500, Robby Workman wrote:
On Slackware, the expectation is for output of "hostname" without options to be the same as "hostname --short" whereas "hostname --fqdn" would be used if the full hostname+domain is desired. With NM-1.2.x, using persistent hostname setting and pulling it from /etc/HOSTNAME, it gets set to the fqdn and this breaks some of our expectations. It's not technically a bug, I suppose, but we like it the way we expect it, so: see attached patch from Volkerding to fix it. This doesn't affect anything unless HOSTNAME_PERSIST_SLACKWARE is defined, so nobody else should be affected at all. Please apply to both master and 1.2 branch.
Hi Robby, patch merged to: master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=1a714ee5e68f855b816ee947d4c49cb25c8227a4 nm-1-2: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=6e86ad8e0fff2b48fd266836edc8e73b52f0871b Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part