[Bug 464295] New: fuser command cannot operate on root directory "/"
https://bugzilla.novell.com/show_bug.cgi?id=464295 Summary: fuser command cannot operate on root directory "/" Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mike@m-buchau.de QAContact: qa@suse.de Found By: --- Running the command "fuser -uvm /" gives you the error output Cannot stat : No such file or directory Cannot stat : No such file or directory Cannot stat : No such file or directory without any meaningful results. The culprit is psmisc-22.6-nfs4fuser.patch in the psmisc package which adds code to strip trailing slashes from the argument path names: if (this_name->filename[len-1] == '/') this_name->filename[len-1] = '\0'; Unfortunately, there is no check for a "/" argument, resulting in "/" being mangled to an empty string. A stat("", ...) system call produces the error messages above. You can use "fuser -uvm //" as a workaround, but fuser is also run by the system's boot.localfs script to kill processes with write access to the root filesystem. Currently, these processes are not killed. -- 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=464295 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |werner@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=464295 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=464295#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mike@m-buchau.de --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2009-01-09 02:52:56 MST --- Thanks for spotting ... it should be enough to use if (len > 1 && this_name->filename[len-1] == '/') does this work for you? -- 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=464295 User mike@m-buchau.de added comment https://bugzilla.novell.com/show_bug.cgi?id=464295#c2 Michael Buchau <mike@m-buchau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mike@m-buchau.de | --- Comment #2 from Michael Buchau <mike@m-buchau.de> 2009-01-09 15:24:50 MST --- Yes, works like a charm. Thank you. -- 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=464295 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=464295#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ast@novell.com --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2009-01-12 03:07:20 MST --- Anja? IMHO s SWAMPID is required for this. Thank you. -- 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=464295 Swamp Script User <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:planned:update -- 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=464295 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=464295 User swamp@suse.com added comment https://bugzilla.novell.com/show_bug.cgi?id=464295#c10 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:planned:update |maint:running:22990 --- Comment #10 from Swamp Workflow Management <swamp@suse.com> 2009-03-11 16:25:11 MST --- The SWAMPID for this issue is 22990. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/22990) -- 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=464295 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|dmueller@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=464295 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=464295#c11 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2009-03-12 03:29:32 MST --- submitted to both 11.1 and SLES11 -- 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=464295 User swamp@suse.com added comment https://bugzilla.novell.com/show_bug.cgi?id=464295#c12 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:22990 |maint:running:22990 | |maint:released:11.1:23001 --- Comment #12 from Swamp Workflow Management <swamp@suse.com> 2009-03-24 08:09:55 MST --- Update released for: psmisc Products: openSUSE 11.1 (debug, i586, ppc, x86_64) -- 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