Gentoo Archives: gentoo-desktop

From: Ladislav Laska <ladislav.laska@×××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Re: [kde-sunset] KDE3/Gentoo problem
Date: Tue, 02 Nov 2010 08:03:11
Message-Id: AANLkTi=pJcc+oi-cCB_zvW2-mvFi3gHxb4Trvfk8MmC5@mail.gmail.com
In Reply to: [gentoo-desktop] Re: [kde-sunset] KDE3/Gentoo problem by Duncan <1i5t5.duncan@cox.net>
1 Whoa, it exists and is part of kdelibs. Thanks, I will try to poke
2 around with it next time it will happen. Meanwhile, I'll try to figure
3 out where the hostname change is from (which really bothers me)
4
5 Regards Ladislav Laska
6 S pozdravem Ladislav Laska
7 ---
8 xmpp/jabber: ladislav.laska@××××××.cz
9
10
11
12 On Tue, Nov 2, 2010 at 4:32 AM, Duncan <1i5t5.duncan@×××.net> wrote:
13 > Ladislav Laska posted on Mon, 01 Nov 2010 23:17:02 +0100 as excerpted:
14 >
15 >> thanks for your reply. This is what I suspected, but I don't use NM and
16 >> don't recall that any of my networks try to set my hostname (I connect
17 >> only to a dorm network, and eduroam, sometimes some dnsmasq driven lan).
18 >>
19 >> I have no idea who tries to set my hostname and will investigate it (it
20 >> really seems that setting my hostname to empty string is the cause, but
21 >> still I don't know why. One idea is that something is corrupting my
22 >> memory (I would point at i915 driver, but don't really have time for
23 >> debugging).
24 >
25 > FWIW...
26 >
27 > I have no idea about kde3 as I only just discovered this app on kde4,
28 > and checked it out due to the strange name, but ...
29 >
30 > kdontchangethehostname
31 >
32 > It's now a separate package, but from what I've read, /was/ part of
33 > I believe kdelibs, before.
34 >
35 > The catch is that even tho it's an executable, it doesn't reside in
36 > the usual /usr/bin, but rather in a libexec dir, as it's normally not
37 > to be run directly by users.  *IF* it exists in kde3, it likely be in
38 > a different location than the kde4 version, so what I'd suggest is...
39 >
40 > equery b kdontchangethehostname
41 >
42 > ... which, if installed, will give you both the package it's in and
43 > where the file is located.  Of course, you'll have to run it using
44 > the whole path if it's not /in/ the path, but that's not a big deal.
45 > Meanwhile, here's what its help output says (trimmed the standard
46 > options, for kde4, as I said, but if it's in kde3 it should be similar):
47 >
48 > Usage: kdontchangethehostname [Qt-options] [KDE-options] old new
49 >
50 > Informs KDE about a change in hostname
51 >
52 > Generic options:
53 >  --help                    Show help about options
54 >
55 > Arguments:
56 >  old                       Old hostname
57 >  new                       New hostname
58 >
59 >
60 > --
61 > Duncan - List replies preferred.   No HTML msgs.
62 > "Every nonfree program has a lord, a master --
63 > and if you use the program, he is your master."  Richard Stallman
64 >
65 >
66 >