public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* /proc/<pid>/{cwd,root} links to <defunct> for cygrunsrv, daemons, and shells
@ 2024-04-07 19:34 Brian Inglis
  2024-04-09 13:08 ` /proc/<pid>/{cwd, root} " Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Inglis @ 2024-04-07 19:34 UTC (permalink / raw)
  To: Cygwin Patches

ISTM anomalous that for cygrunsrv, daemons, cron processes, and shells 
/proc/<pid>/{cwd,root} have bad symlinks to "<defunct>", normally a process or 
exe status:

/proc/732/exe   -> /usr/bin/cygrunsrv
/proc/732/root  -> <defunct>
/proc/732/cwd   -> <defunct>
|  /proc/733/exe   -> /usr/sbin/cygserver
  ->/proc/733/root  -> <defunct>
    /proc/733/cwd   -> <defunct>
/proc/740/exe   -> /usr/bin/cygrunsrv
/proc/740/root  -> <defunct>
/proc/740/cwd   -> <defunct>
|  /proc/741/exe   -> /usr/sbin/syslog-ng
  ->/proc/741/root  -> <defunct>
    /proc/741/cwd   -> <defunct>
/proc/748/exe   -> /usr/bin/cygrunsrv
/proc/748/root  -> <defunct>
/proc/748/cwd   -> <defunct>
|  /proc/749/exe   -> /usr/sbin/cron
  ->/proc/749/root  -> <defunct>
    /proc/749/cwd   -> <defunct>
    |  /proc/2080/exe  -> /usr/sbin/cron
     ->/proc/2080/root -> <defunct>
       /proc/2080/cwd  -> <defunct>
       |  /proc/2082/exe  -> /usr/bin/bash
        ->/proc/2082/root -> <defunct>
          /proc/2082/cwd  -> <defunct>

Should we consider changing that to root "/", or nothing, null, or something 
meaningful?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-09 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-07 19:34 /proc/<pid>/{cwd,root} links to <defunct> for cygrunsrv, daemons, and shells Brian Inglis
2024-04-09 13:08 ` /proc/<pid>/{cwd, root} " Corinna Vinschen
2024-04-09 16:38   ` Brian Inglis
2024-04-09 21:24     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).