Bug 148958

Summary: /proc/<pid>/environ for most processes only contains garbage
Product: [openSUSE] SUSE Linux 10.1 Reporter: Dirk Mueller <dmueller>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.