Bug 158027 - when linked statically, getpid always returns '5'
when linked statically, getpid always returns '5'
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks: FC4Blocker
  Show dependency treegraph
 
Reported: 2005-05-17 17:03 EDT by Bill Nottingham
Modified: 2016-11-24 07:41 EST (History)
6 users (show)

See Also:
Fixed In Version: 2.3.5-7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-20 13:06:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2005-05-17 17:03:22 EDT
rawhide 20050517, x86_64.

ctrl-alt-del is just ignored. Could have sworn it used to trigger a reboot.
Comment 1 Jeremy Katz 2005-05-19 12:45:37 EDT
In fact, it did.  

For some reason, getpid() in init is returning 5 which is the pid of a khelper
thread, not init itself.  

Dave -- know of any kernel oddities that could be in play here?
Comment 2 Jeremy Katz 2005-05-19 12:51:03 EDT
Okay, not the kernel's fault.  Booting a U1-ish kernel with my initrd shows the
same problem.  Swapping to the U1 initrd with the current kernel works fine.
Comment 3 Jeremy Katz 2005-05-19 13:05:13 EDT
Summary says it all now :)

Note You need to log in before you can comment on or make changes to this bug.