This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2619
  Can't add an observer to init (PID = 1) Last modified: 2007-03-19 13:17:24
     Query page      Enter new bug
Bug#: 2619   Hardware:   Reporter: Len DiMaggio <ldimaggi@redhat.com>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: NEW   Priority:  
Resolution:   Severity:  
Assigned To: Unassigned <frysk-bugzilla@sourceware.org>   Target Milestone:  
Summary:
Keywords:

Attachment Description Type Created Actions
2619.patch 2619 patch patch 2006-06-13 14:36 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2619 depends on: Show dependency tree
Show dependency graph
Bug 2619 blocks: 1553

Additional Comments:


Leave as NEW 
Mark bug as waiting for feedback
Mark bug as suspended
Accept bug (change status to ASSIGNED)
Resolve bug, changing resolution to
Resolve bug, mark it as duplicate of bug #
Reassign bug to
Reassign bug to owner of selected component

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-04-28 14:17
Can't add an observer to init (PID = 1)

I'm, wondering if the null value is related to Frysk looking for init's parent
process?

The error displayed is:

=================================
Frysk Core has reported the following errors

null

frysk.proc.LinuxTask.sendAttach (FryskGui)
frysk.proc.TaskState$1.handleAttach (FryskGui)
frysk.proc.Task.performAttach (FryskGui)
frysk.proc.ProcState$Attaching.initialState (FryskGui)
frysk.proc.ProcState$1.handleAddObservation (FryskGui)
frysk.proc.Proc.handleAddObservation (FryskGui)
frysk.proc.Proc$6.execute (FryskGui)
frysk.event.EventLoop.runEventLoop (FryskGui)
frysk.event.EventLoop.run (FryskGui)
frysk.gui.Gui$3.run (FryskGui)
java.lang.Thread.run (libgcj.so.7)

------- Additional Comment #1 From Len DiMaggio 2006-04-28 14:28 -------
Actually - it's failing for most processes - this bug may be premature as the
GUI may not be ready for real testing yet.

------- Additional Comment #2 From Andrew Cagney 2006-05-12 19:29 -------
Not allowed to attach to PID 1, need better error recovery when permission
denied - should notify GUI of failure rather than panic (all the hooks are ready).


------- Additional Comment #3 From Andrew Cagney 2006-05-30 06:47 -------
*** Bug 2586 has been marked as a duplicate of this bug. ***

------- Additional Comment #4 From Stan Cox 2006-06-12 16:43 -------
With the current state of the druid there is no longer an obvious way to trigger
or test this since the druid only lists processes you own, and thus doesn't list
process init.

------- Additional Comment #5 From Stan Cox 2006-06-13 14:36 -------
Created an attachment (id=1083)
2619 patch

------- Additional Comment #6 From Stan Cox 2006-06-13 14:40 -------
Running frysk-gui as root still exhibits this problem.  This patch fixes it by
adding EPERM and then catching it in FryskGui.

------- Additional Comment #7 From Stan Cox 2006-06-14 02:35 -------
* LinuxTask.java (sendAttach):  Handle Errno.Eperm.
* Errno.java (Eperm): New.
* cni/Errno.cxx (throwErrno): Added EPERM.

------- Additional Comment #8 From Andrew Cagney 2006-06-15 15:49 -------
FYI, the core needs to handle this exception locally.

------- Additional Comment #9 From Andrew Cagney 2006-06-15 15:55 -------
*** Bug 2736 has been marked as a duplicate of this bug. ***

------- Additional Comment #10 From Len DiMaggio 2006-06-23 18:21 -------
FYI - this bug is still present in Frysk as built from CVS head on June 21.

------- Additional Comment #11 From Len DiMaggio 2006-06-23 18:28 -------
Correction - what I meant to say was that if Frysk is run as root, the init
process still appears in the gui and can have observers attached to it.

------- Additional Comment #12 From Phil Muldoon 2006-11-28 15:37 -------
As of the RHEL5 latest rpm, the init process should not be in the druid as there
are filters in place to exclude it. Additionally, no process wil be shown that
does not match Manager.UID/GID == Process.UID/GID

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In