Getting rid of nepomukserver

Gabriel VLASIU gabriel at vlasiu.net
Sat Nov 24 13:41:52 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 23 Nov 2012, R. G. Newbury wrote:

> Thanks. What a stupidly obtuse system for wasting cycles. I didn't even know
> that there was another complete level of 'service' management. Now it is
> turned off, it still does not answer the question:
> 
> Where is the damn executable which the service starts.
> 
> This sort of layered obscurity pisses me off. And the user cannot nuke the
> libs, since they are "dependencies" of all sorts of other actually useful bits
> of the install.
Well, I think is a little bit complicated.

I guess the whole thing works like this (not 100% sure):

- - if /usr/bin/nepomukserver exist, when is started.

- - if /usr/bin/nepomukserver is missing, then a process (a thread?) is 
  created by /usr/bin/kdeinit4 (you can change the process name once the 
  program has been started by modifying argv[0] or you can use 
  prctl(PR_SET_NAME, ...) for a thread - sorry but I'm not a kde developer 
  so this is my best guess).

How can you test this:

1. Make sure /usr/bin/nepomukserver exist.

2. Logout, login.

3. In a terminal run "pstree -acgp"
   Notice the nepomukserver's PIDs.

4. ls -l /proc/<PID>/exe
   (replace <PID> with the actual PID.
   It should be a link to /usr/bin/nepomukserver

5. Rename /usr/bin/nepomukserver.

Repeat step 2 to 4.
In step 4 the link should point now to /usr/bin/kdeinit4.


Gabriel

- -- 

// Gabriel VLASIU
//
// OpenGPG-KeyID      : 44952F15
// OpenGPG-Fingerprint: 4AC5 7C26 2FE9 02DA 4906  24B2 D32B 7ED7 4495 2F15
// OpenGPG-URL        : http://www.vlasiu.net/public.key


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQsM6gAAoJENMrftdElS8VltQP/AmcD8kV/B2CfkfyJNPt456x
2kcFiTufRVcJIy5RR+k1Iic1n88/TARWXJxqNg+Lpz8/w0i/n+x6WdcU2QAgoNX4
x289kjR9vbczncp0LeHfYw1Wrtz7lu/4DPIa0+HEpokn1EIMGWjrwcOZ29xHsaZ+
Ir+yu1MKo2oxOE79pHsFWHAnPZ0peUstDiJd+BYq3g5djj6mVYrdI3wwmWzZ1+cJ
eRY+LjTBBWhXcV7cRnJ1VbO/skMyFVP85x0yO4nONuhcD7SJX/pJQOeV107OXKkt
S6/zcCB/RlLXmDHNqfrSXmjiiXwgfPn6XgkWmkK2SuQHkerQ1KZC97y2e4iVtuKF
W2zThqxMQ/d19LEM9Dn26DjKuMHZHJFD6SJfGdOcE+bcyxl5B2UuwetWvtkrDBJm
S/nOjQB/Wo5Z64UikawqHjYPvK482tmzBuQ+XGb66nGeKcC9vAX3nl5ltgnoebRm
YefU4uUDmfPxpE+wUl892gR09sycbgieRDlK0cAQjUFYKew81r6NsjCuVvTQt0Bz
e8+duPuZJWbRQQL93aVoVdYX+bLLBwPX9KiD3Vqxyb90MX0FI0iU6sL40tmtNxMP
B12y4UwVlzzAMdy5y6mEUwkcQtXsLDQcUH0vEe6f0AG7NvyLctgaFsWYUHqh0mDw
wumNOZbLeyzmTLJZiDor
=3bPr
-----END PGP SIGNATURE-----


More information about the users mailing list