Bug 4165 - /bin/bash turns out to be thunderbird's shell
Summary: /bin/bash turns out to be thunderbird's shell
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1632 3401
  Show dependency treegraph
 
Reported: 2007-03-06 22:16 UTC by Andrew Cagney
Modified: 2007-03-15 17:38 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-03-06 22:16:29 UTC
In the process picker, the process name is shown as /bin/bash | bash, but in the
monitor window the same process appears as "mozilla".  Confusing.

PS shows:

$ ps auxw | grep 2504
cagney    2504  0.0  0.1   4396  1104 ?        S    11:35   0:00 /bin/sh
/usr/lib/thunderbird-1.5.0.10/thunderbird
Comment 1 Sami Wagiaalla 2007-03-14 17:28:09 UTC
one name was coming from argv[0], and the other from the file name of the file
pointed to by /proc/{pid}/exe. Now both use the exe.

2007-03-14  Sami Wagiaalla  <swagiaal@redhat.com>

        * druid/CreateFryskSessionDruid.java: Initialized initialSessionName.

2007-03-14  Sami Wagiaalla  <swagiaal@redhat.com>

        * SessionProcDataModel.java: used guiProc.getExecutablename() instead
        of proc.getCommand() for initializing process name. Fix for bz #4165.

Comment 2 Andrew Cagney 2007-03-15 17:38:46 UTC
Where did the "mozila" name come from?  Having both visible in the
process-picker will help with correct process selection.