From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 14 21:46:35 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F5339D9 for ; Fri, 14 Nov 2014 21:46:35 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4D417D1 for ; Fri, 14 Nov 2014 21:46:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAELkYsF047184 for ; Fri, 14 Nov 2014 21:46:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195018] New: lsof lists all pipes on linux Date: Fri, 14 Nov 2014 21:46:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hamelg@laposte.net X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 21:46:35 -0000 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@FreeBSD.org Reporter: hamelg@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.