Bug 148958 - /proc/<pid>/environ for most processes only contains garbage
Summary: /proc/<pid>/environ for most processes only contains garbage
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 4
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 00:57 UTC by Dirk Mueller
Modified: 2006-02-27 08:32 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Mueller 2006-02-08 00:57:47 UTC
It seems the environ files contain for most KDE processes only random garbage.
Comment 1 Dirk Mueller 2006-02-08 03:49:29 UTC
well, perhaps thats userspace triggered. kdeinit tries some ugly tricks to rename itself. 
Comment 2 Greg Kroah-Hartman 2006-02-09 22:45:09 UTC
what do they contain?  What should they contain?

Do other kernel versions work properly?
Comment 3 Dirk Mueller 2006-02-14 09:09:23 UTC
they contain binary garbage (mostly binary NULs it seems). It should contain the environment. 

I haven't tested other kernels yet. 

Comment 4 Lars Marowsky-Bree 2006-02-21 11:12:08 UTC
So, as per comment #1, is it user-space triggered? What ugly tricks does it do?

So far, I'm inclined to suggest that kdeinit corrupts the environment all by itself and close the bug as RESOLVED INVALID. ;-)
Comment 5 Dirk Mueller 2006-02-27 08:32:22 UTC
well, it doesn't do anything special other than changing its own process name after the fork()/dlopen(). oh well, there are more important bugs to solve.