All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 44951] New: renaming socket in use does not update /proc/X/fd
@ 2012-07-20 13:23 bugzilla-daemon
  2012-07-20 16:08 ` [Bug 44951] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-07-20 13:23 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=44951

           Summary: renaming socket in use does not update /proc/X/fd
           Product: File System
           Version: 2.5
    Kernel Version: 3.2.0-26 ubuntu
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: wolfgang@rohdewald.de
                CC: wolfgang@rohdewald.de
        Regression: No


normally, renaming a file in use updates its name in /proc/X/fd

but this does not work for sockets. And so fuser fails to tell me
about the process using the socket when renamed.

using ext4 of course

i5:~/.kajonggserver$ fuser socket
/home/wr/.kajonggserver/socket: 27557
i5:~/.kajonggserver$ l /proc/27557/fd/3
lrwx------ 1 wr wr 64 Jul 18 22:00 /proc/27557/fd/3 -> socket:[1344224]
i5:~/.kajonggserver$ mv socket X
i5:~/.kajonggserver$ fuser X
i5:[Exit 1 (SIGHUP)]~/.kajonggserver$ l /proc/27557/fd/3
lrwx------ 1 wr wr 64 Jul 18 22:00 /proc/27557/fd/3 -> socket:[1344224]


Linux i5 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 44951] renaming socket in use does not update /proc/X/fd
  2012-07-20 13:23 [Bug 44951] New: renaming socket in use does not update /proc/X/fd bugzilla-daemon
@ 2012-07-20 16:08 ` bugzilla-daemon
  2012-07-20 16:50 ` bugzilla-daemon
  2012-08-30 17:09 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-07-20 16:08 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=44951


Eric Sandeen <sandeen@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandeen@redhat.com




--- Comment #1 from Eric Sandeen <sandeen@redhat.com>  2012-07-20 16:08:01 ---
(In reply to comment #0)

> using ext4 of course

I doubt that this is unique to ext4, is it?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 44951] renaming socket in use does not update /proc/X/fd
  2012-07-20 13:23 [Bug 44951] New: renaming socket in use does not update /proc/X/fd bugzilla-daemon
  2012-07-20 16:08 ` [Bug 44951] " bugzilla-daemon
@ 2012-07-20 16:50 ` bugzilla-daemon
  2012-08-30 17:09 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-07-20 16:50 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=44951





--- Comment #2 from Wolfgang Rohdewald <wolfgang@rohdewald.de>  2012-07-20 16:50:40 ---
I also have one ext3 - and yes, ext3 behaves the same way.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 44951] renaming socket in use does not update /proc/X/fd
  2012-07-20 13:23 [Bug 44951] New: renaming socket in use does not update /proc/X/fd bugzilla-daemon
  2012-07-20 16:08 ` [Bug 44951] " bugzilla-daemon
  2012-07-20 16:50 ` bugzilla-daemon
@ 2012-08-30 17:09 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-08-30 17:09 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=44951


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alan@lxorguk.ukuu.org.uk
         Resolution|                            |WILL_NOT_FIX




--- Comment #3 from Alan <alan@lxorguk.ukuu.org.uk>  2012-08-30 17:09:31 ---
Sockets live in their own namespace - the path to it is just a reference to the
object.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

end of thread, other threads:[~2012-08-30 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20 13:23 [Bug 44951] New: renaming socket in use does not update /proc/X/fd bugzilla-daemon
2012-07-20 16:08 ` [Bug 44951] " bugzilla-daemon
2012-07-20 16:50 ` bugzilla-daemon
2012-08-30 17:09 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.