1 |
Ladislav Laska posted on Mon, 01 Nov 2010 23:17:02 +0100 as excerpted: |
2 |
|
3 |
> thanks for your reply. This is what I suspected, but I don't use NM and |
4 |
> don't recall that any of my networks try to set my hostname (I connect |
5 |
> only to a dorm network, and eduroam, sometimes some dnsmasq driven lan). |
6 |
> |
7 |
> I have no idea who tries to set my hostname and will investigate it (it |
8 |
> really seems that setting my hostname to empty string is the cause, but |
9 |
> still I don't know why. One idea is that something is corrupting my |
10 |
> memory (I would point at i915 driver, but don't really have time for |
11 |
> debugging). |
12 |
|
13 |
FWIW... |
14 |
|
15 |
I have no idea about kde3 as I only just discovered this app on kde4, |
16 |
and checked it out due to the strange name, but ... |
17 |
|
18 |
kdontchangethehostname |
19 |
|
20 |
It's now a separate package, but from what I've read, /was/ part of |
21 |
I believe kdelibs, before. |
22 |
|
23 |
The catch is that even tho it's an executable, it doesn't reside in |
24 |
the usual /usr/bin, but rather in a libexec dir, as it's normally not |
25 |
to be run directly by users. *IF* it exists in kde3, it likely be in |
26 |
a different location than the kde4 version, so what I'd suggest is... |
27 |
|
28 |
equery b kdontchangethehostname |
29 |
|
30 |
... which, if installed, will give you both the package it's in and |
31 |
where the file is located. Of course, you'll have to run it using |
32 |
the whole path if it's not /in/ the path, but that's not a big deal. |
33 |
Meanwhile, here's what its help output says (trimmed the standard |
34 |
options, for kde4, as I said, but if it's in kde3 it should be similar): |
35 |
|
36 |
Usage: kdontchangethehostname [Qt-options] [KDE-options] old new |
37 |
|
38 |
Informs KDE about a change in hostname |
39 |
|
40 |
Generic options: |
41 |
--help Show help about options |
42 |
|
43 |
Arguments: |
44 |
old Old hostname |
45 |
new New hostname |
46 |
|
47 |
|
48 |
-- |
49 |
Duncan - List replies preferred. No HTML msgs. |
50 |
"Every nonfree program has a lord, a master -- |
51 |
and if you use the program, he is your master." Richard Stallman |