[Bug 195018] New: lsof lists all pipes on linux
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 14 21:46:35 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195018
Bug ID: 195018
Summary: lsof lists all pipes on linux
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: hamelg at laposte.net
Created attachment 149419
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149419&action=edit
Patch proposed to fix the issue
since v4.88, when a specific file is selected, lsof lists all open FIFO.
Example :
lsof /tmp
Actual Results: lsof lists ALL FIFOs !!??
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
thunderbi 356 hamelg 0r FIFO 0,8 0t0 224424 pipe
thunderbi 356 hamelg 8r FIFO 0,8 0t0 1292802 pipe
thunderbi 356 hamelg 9w FIFO 0,8 0t0 1292802 pipe
thunderbi 356 hamelg 17r FIFO 0,8 0t0 1292808 pipe
thunderbi 356 hamelg 18w FIFO 0,8 0t0 1292808 pipe
thunderbi 356 hamelg 19r FIFO 0,8 0t0 1293378 pipe
thunderbi 356 hamelg 20w FIFO 0,8 0t0 1293378 pipe
thunderbi 356 hamelg 21r FIFO 0,8 0t0 1292809 pipe
thunderbi 356 hamelg 22w FIFO 0,8 0t0 1292809 pipe
thunderbi 356 hamelg 24r FIFO 0,8 0t0 1293380 pipe
thunderbi 356 hamelg 25w FIFO 0,8 0t0 1293380 pipe
thunderbi 356 hamelg 59r FIFO 0,8 0t0 1293175 pipe
thunderbi 356 hamelg 60w FIFO 0,8 0t0 1293175 pipe
thunderbi 356 hamelg 68r FIFO 0,8 0t0 1293167 pipe
thunderbi 356 hamelg 70w FIFO 0,8 0t0 1293167 pipe
thunderbi 356 hamelg 85r FIFO 0,8 0t0 1293443 pipe
thunderbi 356 hamelg 86w FIFO 0,8 0t0 1293443 pipe
thunderbi 356 hamelg 101w FIFO 0,8 0t0 1293113 pipe
imap 434 hamelg 2w FIFO 0,8 0t0 17526 pipe
imap 434 hamelg 3w FIFO 0,8 0t0 17418 pipe
imap 434 hamelg 5w FIFO 0,8 0t0 17548 pipe
imap 434 hamelg 6w FIFO 0,8 0t0 17539 pipe
imap 434 hamelg 9r FIFO 0,8 0t0 1293429 pipe
imap 434 hamelg 10w FIFO 0,8 0t0 1293429 pipe
....
Expected Results : lsof lists only open files in /tmp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kwin 11863 hamelg DEL REG 0,30 224584 /tmp/glTAmr2u
java 12012 hamelg mem REG 0,30 32768 224904
/tmp/hsperfdata_hamelg/12012
pulseaudi 12024 hamelg DEL REG 0,30 226394 /tmp/orcexec.oVKaLu
It seems the Added +|-E options for Linux have broken lsof.
Here is a proposed patch.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list