[Bug 554480] New: xorg uses deleted files: /drm mm object
http://bugzilla.novell.com/show_bug.cgi?id=554480 Summary: xorg uses deleted files: /drm mm object Classification: openSUSE Product: openSUSE 11.2 Version: RC 2 Platform: x86 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: casualprogrammer@gmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 As result of a zypper dup operation some processes are reported to operate on files that are deleted. xorg is always among them. restarting xorg by switching to runlevel 3 and back to 5 or even reboot don't change that. Running zypper ps after a reboot results in: # zypper ps The following running processes use deleted files: PID | PPID | UID | Login | Command | Service | Files ------+-------+-----+-------+---------+---------+--------------- 21830 | 21829 | 0 | root | Xorg | | /drm mm object | | | | | | /drm mm object You may wish to restart these processes. See 'man zypper' for information about the meaning of values in the above table. Although this doesn't seem to pose a problem during normal operation, it sure doesn't look right. xorg-x11-7.4-35.3.i586 zypper-1.2.8-0.1.3.i586 libzypp-6.21.2-1.1.1.i586 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |sndirsch@novell.com Info Provider| |jkupec@novell.com --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2009-11-11 03:59:34 MST ---
restarting xorg by switching to runlevel 3 and back to 5 or even reboot don't change that.
IMO this makes no sense. Maybe we do not understand the output of 'zypper ps' in the Files column. It might have a different meaning than we assume. PID | PPID | UID | Login | Command | Service | Files ------+-------+-----+-------+---------+---------+--------------- 21830 | 21829 | 0 | root | Xorg | | /drm mm object | | | | | | /drm mm object Jan, could you shed a light on this output? What's the meaning? Usually there is no /drm file or directory on our systems. What does "mm" and "object" mean? "mm" maybe "memory mapped"? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com Info Provider|jkupec@novell.com |ma@novell.com --- Comment #2 from Ján Kupec <jkupec@novell.com> 2009-11-11 04:12:02 MST --- No clue. Michael? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ma@novell.com | --- Comment #3 from Michael Andres <ma@novell.com> 2009-11-11 05:19:35 MST --- The file was named '/drm mm object' and Xorg owns the filehandle. 'zypper ps' lists meanwhile deleted open files owned by a process. This per se does not indicate any problem. Those files can be libraries or executables, which may indicate that the package providing the lib/exe was deleted or updated. In that case a service restart might be appropriate, to make sure the updated service is also running. But it may also be the process uses shared memeory or some memory mapped tmp file. We can not tell this appart from a shared library. If people are confused by this, I can add an option to CheckAccessDeleted, so zypper can ask not to collect any name not starting with 'lib' or any file not located in a directory named 'bin'. The full list can always be obtained by calling 'zypp-CheckAccessDeleted'. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |casualprogrammer@gmail.com --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2009-11-11 05:53:31 MST --- Thanks, Michael. Casual, please attach the output of ' 'zypp-CheckAccessDeleted'. BTW, I never heard about Xorg opening a file called '/drm mm object'. This sounds more than weird to me. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c5 --- Comment #5 from Michael Andres <ma@novell.com> 2009-11-11 06:03:16 MST --- JFYI: For libzypp-6.22.1 I changed the default to collect files in bin and lib dirs only (pathnames containing '/lib' or 'bin/'). This is what zypper will report then. zypp-CheckAccessDeleted will continue to list all access to deleted files. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User casualprogrammer@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c6 Casual J. Programmer <casualprogrammer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|casualprogrammer@gmail.com | --- Comment #6 from Casual J. Programmer <casualprogrammer@gmail.com> 2009-11-11 07:20:25 MST --- Right after boot: # zypper ps The following running processes use deleted files: PID | PPID | UID | Login | Command | Service | Files -----+------+------+------------------+----------+---------+-------------------- 2474 | 2444 | 0 | root | Xorg | | /drm mm object | | | | | | /drm mm object 5022 | 4705 | 1000 | casualprogrammer | nautilus | | /home/casualprogr-> | | | | | | /home/casualprogr-> | | | | | | /home/casualprogr-> You may wish to restart these processes. See 'man zypper' for information about the meaning of values in the above table. workstation6l:~ # zypp-CheckAccessDeleted PID PPID UID LOGIN COMMAND SERVICE FILES 2474 2444 0 root Xorg - /drm mm object 5022 4705 1000 casualprogrammer nautilus - /home/casualprogrammer/.local/share/gvfs-metadata/home-6ae65238.log, /home/casualprogrammer/.local/share/gvfs-metadata/home -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c7 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low AssignedTo|bnc-team-xorg-bugs@forge.pr |mhopf@novell.com |ovo.novell.com | Severity|Normal |Minor --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2009-11-11 08:34:39 MST --- I talked to Matthias. This could very well be a standard procedure on Unix to pass over a file descriptor to a different process. Something like this. So most likely a false positive ... More details to follow by Matthias ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User mhopf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c8 Matthias Hopf <mhopf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #8 from Matthias Hopf <mhopf@novell.com> 2009-11-13 08:50:33 MST --- The calling sequence fd = open("...some.path", O_CREAT | O_EXCL); unlink (fd); ... work with the fd is a standard construct in Unix that is perfectly valid. On Unix deleted files still exist and can be accessed by multiple processes until the last process closes the filedescriptor. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User casualprogrammer@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c9 --- Comment #9 from Casual J. Programmer <casualprogrammer@gmail.com> 2009-11-13 09:17:26 MST --- So the question remains, why somebody choose to check for this condition after zypper is through, if it's completely irrelevant anyway ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554480#c10 --- Comment #10 from Ján Kupec <jkupec@novell.com> 2009-11-13 09:43:12 MST --- That check is designed to notify user about processes you may want to restart after an upgrade (old library removed, new installed). Obviously the check needs to be a little bit more picky about what to report, as suggested by Michael in c#5. lib and bin seem to me as good candidates. So all should be as it should now. Thanx for your report! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 http://bugzilla.novell.com/show_bug.cgi?id=554480#c11 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freespacer@gmx.de --- Comment #11 from Michael Andres <ma@novell.com> 2010-04-09 15:47:34 UTC --- *** Bug 595081 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=595081 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554480 http://bugzilla.novell.com/show_bug.cgi?id=554480#c12 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.2:32913 --- Comment #12 from Swamp Workflow Management <swamp@suse.com> 2010-05-06 15:05:15 UTC --- Update released for: PackageKit, PackageKit-debuginfo, PackageKit-debugsource, PackageKit-devel, PackageKit-doc, PackageKit-lang, libpackagekit-glib12, libpackagekit-glib12-debuginfo, libpackagekit-glib12-devel, libpackagekit-qt12, libpackagekit-qt12-debuginfo, libpackagekit-qt12-devel, libsatsolver, libsatsolver-debugsource, libsatsolver-demo, libsatsolver-demo-debuginfo, libsatsolver-devel, libsatsolver-devel-debuginfo, libzypp, libzypp-bindings, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, perl-satsolver-debuginfo, perl-zypp, python-satsolver, python-satsolver-debuginfo, python-zypp, ruby-satsolver, ruby-satsolver-debuginfo, ruby-zypp, ruck, satsolver-tools, satsolver-tools-debuginfo, yast2-ncurses, yast2-ncurses-debuginfo, yast2-ncurses-debugsource, yast2-ncurses-devel, yast2-ncurses-pkg, yast2-ncurses-pkg-debuginfo, yast2-ncurses-pkg-debugsource, yast2-qt-pkg, yast2-qt-pkg-debuginfo, yast2-qt-pkg-debugsource, zypp-testsuite-tools, zypper, zypper-debuginfo, zypper-debugsource Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://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