[PATCH] Fixup Slackware persistent hostname setting



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.

-RW

Attachment: 0001-nm-settings.c-Fixup-Slackware-hostname-setting.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]