[Bug 727997] New: fuser -n tcp <socket> fails on open network tcp socket
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c0 Summary: fuser -n tcp <socket> fails on open network tcp socket Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: VMWare OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: d.a.van.delft@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; nl; rv:1.9.2.23) Gecko/20110920 SUSE/3.6.23-0.2.1 Firefox/3.6.23 Doesn't happen always. Sometimes after the system has been up for a while, fuser stops working correctly: srv096:~ # netstat -l -n -t -p | grep 7002 tcp 0 0 0.0.0.0:7002 0.0.0.0:* LISTEN 2026/java srv096:~ # /bin/fuser -n tcp 7002 srv096:~ # /bin/fuser 7002/tcp srv096:~ # /usr/bin/lsof -i tcp:7002 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 2026 acceptatie 71u IPv4 15182 0t0 TCP *:afs3-prserver (LISTEN) Both netstat and lsof show the 7002 socket present, but fuser returns none, and, not shown here, with exit status 1. Reproducible: Sometimes Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |aj@suse.com InfoProvider| |d.a.van.delft@gmail.com --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2011-11-03 14:03:36 UTC --- Someone more informations please .. strace for an example, don't forget to use option -f on strace command line -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c2 --- Comment #2 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-03 15:38:29 UTC --- Created an attachment (id=460269) --> (http://bugzilla.novell.com/attachment.cgi?id=460269) strace of failing fuser -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2011-11-04 13:00:20 UTC --- AFAICS fusers tries to connect to the socket 7002 and it has success for localnet. Does this happen with other local sockets like 25 aka smtp? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c4 --- Comment #4 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 13:20:39 UTC --- Afraid so. Tested with all listening sockets: srv096:~ # netstat -l -n -t Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5902 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5970 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:7002 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:28000 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:28002 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:28003 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:9002 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5802 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 :::6001 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 :::445 :::* LISTEN tcp 0 0 :::139 :::* LISTEN srv096:~ # for p in $(netstat -l -n -t|grep '^tcp' | awk '{print $4}' | sed 's/.*://'); do echo -n "$p: " ; fuser -n tcp $p ;echo fuser exit: $?; done 5901: fuser exit: 1 5902: fuser exit: 1 6001: fuser exit: 1 5970: fuser exit: 1 22: fuser exit: 1 631: fuser exit: 1 7002: fuser exit: 1 445: fuser exit: 1 28000: fuser exit: 1 28002: fuser exit: 1 28003: fuser exit: 1 901: fuser exit: 1 5801: fuser exit: 1 9002: fuser exit: 1 5802: fuser exit: 1 139: fuser exit: 1 6001: fuser exit: 1 22: fuser exit: 1 445: fuser exit: 1 139: fuser exit: 1 srv096:~ # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c5 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|d.a.van.delft@gmail.com | --- Comment #5 from Andreas Jaeger <aj@suse.com> 2011-11-04 13:39:53 UTC --- Danny, please remember to click on the "This comment provides the needed information." when providing information. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c6 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |d.a.van.delft@gmail.com --- Comment #6 from Dr. Werner Fink <werner@suse.com> 2011-11-04 14:15:28 UTC --- Hmmm ... the problem is: I'm not able to reproduce and this is the requirement to debug and fix this. Do have also an strace *which* works, please specify the options -s 1024 -f to strace so I'm able to read the full strings used for open and read the files. Also a strace output of a fuser which does *not* work for comparision would be perfect (clearly with the same options). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c7 --- Comment #7 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 14:17:16 UTC --- (In reply to comment #5)
Danny, please remember to click on the "This comment provides the needed information." when providing information.
I'd do that, if I would know where to click ;-) AFAICS, I don't have that option. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c8 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|d.a.van.delft@gmail.com | --- Comment #8 from Andreas Jaeger <aj@suse.com> 2011-11-04 14:22:58 UTC --- Werner, check my own system: aj@byrd:~> netstat -l -n -t Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:6012 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:962 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN tcp 0 0 :::111 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::1:631 :::* LISTEN tcp 0 0 ::1:6010 :::* LISTEN tcp 0 0 ::1:6011 :::* LISTEN tcp 0 0 ::1:6012 :::* LISTEN aj@byrd:~> fuser -n tcp 22 aj@byrd:~> echo $? 1 aj@byrd:~> su byrd:/suse/aj # fuser -n tcp 22 22/tcp: 3289 12347 12349 12670 12672 12975 12977 byrd:/suse/aj # Btw. my system has file_caps=1 set: # cat /proc/cmdline root=/dev/disk/by-label/ROOT_ALT resume=/dev/disk/by-id/ata-ST3750528AS_9VP5LNPX-part1 splash=silent quiet init=/bin/systemd file_caps=1 vga=0x346 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c9 --- Comment #9 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 14:28:07 UTC --- (In reply to comment #7)
(In reply to comment #5)
Danny, please remember to click on the "This comment provides the needed information." when providing information.
I'd do that, if I would know where to click ;-) AFAICS, I don't have that option.
Ignore my reply, I just saw that the option is only present when NEEDINFO is on. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c10 --- Comment #10 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 14:28:47 UTC --- (In reply to comment #6)
Hmmm ... the problem is: I'm not able to reproduce and this is the requirement to debug and fix this.
Do have also an strace *which* works, please specify the options
-s 1024 -f
to strace so I'm able to read the full strings used for open and read the files.
Also a strace output of a fuser which does *not* work for comparision would be perfect (clearly with the same options).
Can do and will do, however to get fuser to work I'd probably need to reboot the machine, after which it works again for unknown duration. So I could not provide you with other info after the boot. So, before I do the reboot, is there any other info in the non-working situation besides a fuser strace that could be helpful, as afterward it might take a while before it fails again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c11 --- Comment #11 from Andreas Jaeger <aj@suse.com> 2011-11-04 14:28:59 UTC --- Created an attachment (id=460499) --> (http://bugzilla.novell.com/attachment.cgi?id=460499) strace -s 1024 -f -o /tmp/fuser fuser -n tcp 22 I've attached the strace file after running as root: strace -s 1024 -f -o /tmp/fuser fuser -n tcp 22 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c12 --- Comment #12 from Andreas Jaeger <aj@suse.com> 2011-11-04 14:30:01 UTC --- MMh, I see a difference - for you it fails as root. So, you might want to ignore my comments. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c13 --- Comment #13 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 14:42:59 UTC --- (In reply to comment #12)
MMh, I see a difference - for you it fails as root. So, you might want to ignore my comments.
Yep, but it fails for non-root too. Normally fuser only reports on the user-owned resources, only root can see all. To make sure this wasn't a permissions problem, I ran the fuser as root as well, and it still fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c14 --- Comment #14 from Dr. Werner Fink <werner@suse.com> 2011-11-04 15:24:17 UTC --- Hmmm ... what does `some duration' mean? Could it be that after `some duration' processes become swapped out including with their inode informations which is used by fuser to compare open inodes with inodes found in /proc/net/tcp Smells like a new kernel 3.1 ``feature'' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c15 --- Comment #15 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 20:38:03 UTC --- (In reply to comment #14)
Hmmm ... what does `some duration' mean? Could it be that after `some duration' processes become swapped out including with their inode informations which is used by fuser to compare open inodes with inodes found in /proc/net/tcp
Smells like a new kernel 3.1 ``feature''
Some duration: the last time (= now) a couple of days since boot. The first and only other time I noticed, it was hours since boot. The first time I didn't pay much attention to it though, as all sorts of other networking problems where present as well. Some of them still are. Who knows, may even be related. The system involved has 3G of mem, swap usage at the moment is 10M, I can connect and communicate with the server at 7002, but still fuser fails. Seems unlikely to me that swapping is the cause of fuser failing. Just for "fun" I killed the server at 7002 and restarted it; still no joy from fuser. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c16 --- Comment #16 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-04 23:19:31 UTC --- Created an attachment (id=460596) --> (http://bugzilla.novell.com/attachment.cgi?id=460596) failing fuser strace -s 1024 -f -o /tmp/fuser-fail-strace.txt fuser -n tcp 7002 The strace of failing fuser. I'll supply another when fuser works, after a reboot in a couple of days. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c17 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com --- Comment #17 from Dr. Werner Fink <werner@suse.com> 2011-11-07 09:03:35 UTC --- Hmm ... just a few questions about your setup: I'd like to know which system is used for domain 0 of your VMware setup. Also I'd like to know which kernel's are used for domain 0 and the client hosted on. Then the network setup of both the domain 0 and the client would be perfect. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c18 --- Comment #18 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-07 12:08:42 UTC --- (In reply to comment #17)
Hmm ... just a few questions about your setup: I'd like to know which system is used for domain 0 of your VMware setup. Also I'd like to know which kernel's are used for domain 0 and the client hosted on. Then the network setup of both the domain 0 and the client would be perfect.
The at-the-moment-problematic-machine runs under VMware VSphere 4.0. The first time I noticed this problem though, was on a openSUSE 11.3 host with 2.6.34.8-0.2-default kernel running VMWare server Version 2.0.2. I have not seen the problem again on the 11.3 host though, but it got updated to RC2 in the meantime so comparison may be invalid. What would you want to have as the network setup, something from /etc/sysconfig? I'll reboot the problematic machine shortly and supply the strace of a (hopefully) successful fuser. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c19 --- Comment #19 from Dr. Werner Fink <werner@suse.com> 2011-11-07 15:07:26 UTC --- .. then this is more a VMware specific bug, isn't it? network setup means: are there any bridges or some other uncommon devices around on domain 0 and/or client? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c20 --- Comment #20 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-07 15:31:39 UTC --- (In reply to comment #19)
... then this is more a VMware specific bug, isn't it? network setup means: are there any bridges or some other uncommon devices around on domain 0 and/or client?
The client has no bridges or whatever, just a static ip at eth0, default gw etc. The 11.3 client eth0 device is bridged to a 11.3 network interface, never gave me any problems. For VMWare VSphere I don't know at the moment, as I don't have console access to it. I have made various VM's using openSUSE 11.1 to 12.1, Redhat ES 3, 4, 5 etc. Only openSUSE 12.1 shows the (sometimes) failing fuser symptoms, so as fas as can see it is not related to VMWare. But, as I don't have a spare hardware box around to install 12.1 on, I can't rule it out either. In the meantime, I've rebooted the vm, and now fuser works again. I'll attach the strace previously asked in the hope this may shed some light... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c21 --- Comment #21 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-07 15:33:26 UTC --- Created an attachment (id=460708) --> (http://bugzilla.novell.com/attachment.cgi?id=460708) strace files at the time fuser succeeds -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c22 --- Comment #22 from Dr. Werner Fink <werner@suse.com> 2011-11-08 15:31:12 UTC --- Created an attachment (id=460937) --> (http://bugzilla.novell.com/attachment.cgi?id=460937) /bin/fuser.to-disabled the fuser binary with timeout part disabled -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c23 --- Comment #23 from Dr. Werner Fink <werner@suse.com> 2011-11-08 15:33:02 UTC --- Created an attachment (id=460939) --> (http://bugzilla.novell.com/attachment.cgi?id=460939) /bin/fuser.to-disabled the fuser binary with timeout part modified -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #460939|/bin/fuser.to-disabled the |/bin/fuser.to-enabled the description|fuser binary with timeout |fuser binary with timeout |part modified |part modified -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c24 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |d.a.van.delft@gmail.com --- Comment #24 from Dr. Werner Fink <werner@suse.com> 2011-11-08 15:37:56 UTC --- Please test out both binaries of attachment #460937 and attachment #460939 but be aware that those binries work different. I'd like to know how both do their works that is if one or both will fail the same way on your virtual system as the original one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c25 --- Comment #25 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-09 08:32:50 UTC --- (In reply to comment #24)
Please test out both binaries of attachment #460937 [details] and attachment #460939 [details] but be aware that those binries work different.
I'd like to know how both do their works that is if one or both will fail the same way on your virtual system as the original one.
Will do, the moment it fails again. Since reboot day before yesterday it's still working OK. There is perhaps one relevant change: I've now rebooted with sysvinit, while previously it was systemd. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c26 --- Comment #26 from Dr. Werner Fink <werner@suse.com> 2011-11-09 08:47:38 UTC --- Hmmm ...
grep -E 'E(ACCES|PERM)' ~/Downloads/bug-727997/* ~/Downloads/bug-727997/fuser-fail-strace.txt:31399 stat("/data/sites/acceptatie/home/acceptatie/.gvfs", 0x609544) = -1 EACCES (Permission denied)
at a first glance this should not matter. The only difference seems to a NFS(?) share. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c27 --- Comment #27 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-09 09:24:11 UTC --- There is no NFS share on this machine. I think .gvfs is something like "gnome virtual file system", which seems to get automagically created at some point. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c28 --- Comment #28 from Dr. Werner Fink <werner@suse.com> 2011-11-09 09:44:11 UTC --- Then I'd like to know *why* root is not allowd to do a stat(2) system call on this .gvfs file? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c29 --- Comment #29 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-09 10:12:55 UTC --- (In reply to comment #28)
Then I'd like to know *why* root is not allowd to do a stat(2) system call on this .gvfs file?
It seems normal behaviour, just google around. I also get these kind of access errors while making a backup as root, on all kinds of machines with this .gvfs present. The associated program is /usr/lib/gvfs/gvfs-fuse-daemon. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c30 --- Comment #30 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-13 22:56:14 UTC --- After changing init from systemd, where all above occurred, to sysV, the machine has now been up for 6+ days without failing fuser. So perhaps it is systemd related. I have now just dup-ped this system to latest version of 12.1 (RC2+, GM, factory, ...?). If the same fuser fail happens again, I'll report back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c31 Danny van Delft <d.a.van.delft@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|d.a.van.delft@gmail.com | --- Comment #31 from Danny van Delft <d.a.van.delft@gmail.com> 2011-11-13 22:57:57 UTC --- And now removing NEEDINFO, even though the info given does not help resolving it, if still needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c32 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |fcrozat@suse.com InfoProvider| |fcrozat@suse.com --- Comment #32 from Dr. Werner Fink <werner@suse.com> 2011-11-14 08:45:47 UTC --- (In reply to comment #30)
After changing init from systemd, where all above occurred, to sysV, the machine has now been up for 6+ days without failing fuser. So perhaps it is systemd related.
Now the question rises: What happens with the VMWare client system if systemd instead of SysVinit is used ... why is fuser not able anymore to do a simple inode/device comparision anymore? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c33 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fcrozat@suse.com | --- Comment #33 from Frederic Crozat <fcrozat@suse.com> 2011-11-14 13:04:40 UTC --- I only see two possible explanations : - network configuration "changes" somehow under systemd (there is a open bug when using static network setup, which can cause systemd to drop network service : bnc#727771 - strange interaction between cgroups and fuser -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c34 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |d.a.van.delft@gmail.com --- Comment #34 from Dr. Werner Fink <werner@suse.com> 2012-10-16 16:56:50 UTC --- Is this bug still valid for e.g. openSUSE 12.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c35 Danny van Delft <d.a.van.delft@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|d.a.van.delft@gmail.com | --- Comment #35 from Danny van Delft <d.a.van.delft@gmail.com> 2012-10-17 07:28:51 UTC --- I have not yet a 12.2 system, so can't determine for that. Other systems, on 12.1, seem to work fine now, although the faulty fuser behaviour is not something that I would notice automatically on these as one these it is not needed for their server function. These systems are under systemd, which seemed to be a prerequisite for the failing fuser. I have done some manual tests on these, have not yet noticed the fault. I'll try to rig up another, up to date, 12.1 system where fuser will get exercised more frequently to see if it still fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c36 mian hou <mhou@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhou@novell.com --- Comment #36 from mian hou <mhou@novell.com> 2012-11-08 03:42:21 UTC --- it seems could be reproduced on all SLES10SP2, run: # fuser -v -n udp 123 output nothing, but run # rcntp status # lsof -i:123 you can get the process information that occupying this port I tested on several servers running sles10sp2, all got the same result -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c37 --- Comment #37 from Dr. Werner Fink <werner@suse.com> 2012-11-08 08:44:55 UTC --- (In reply to comment #36) fuser do not work as lsof that is you have to become root to be able to determine foreign sockets: /suse/werner> fuser -v -n udp 123 /suse/werner> sudo fuser -v -n udp 123 USER PID ACCESS COMMAND 123/udp: ntp 2530 F.... ntpd /suse/werner> btw: this bug is for 12.1 and I'm not able to reproduce on 12.1 with psmisc-22.16 from factory if the sudo tool is used prior to the fuser command. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c38 --- Comment #38 from mian hou <mhou@novell.com> 2012-11-08 09:20:22 UTC --- (In reply to comment #37) I tested with root on both SLES10SP2 and SLES10SP3 Neither # fuser -v -n udp 123 nor # sudo fuser -v -n udp 123 could output anything but SLES11SP2 works fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c39 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |d.a.van.delft@gmail.com --- Comment #39 from Dr. Werner Fink <werner@suse.com> 2012-11-08 09:31:39 UTC --- (In reply to comment #38) If this is a report of a customer then pelase open a new L3 bug report. For openSUSE 12.2 and up this problem is fixed with psmisc-22.16. Only the testing with a VMWARE based system with openSUSE 12.2 is pending. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727997 https://bugzilla.novell.com/show_bug.cgi?id=727997#c40 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|d.a.van.delft@gmail.com | Resolution| |FIXED --- Comment #40 from Dr. Werner Fink <werner@suse.com> 2013-07-19 15:43:04 UTC --- Fixed for opensuse 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com