[Bug 502113] New: Package libv4l add /usr path to /etc/ld.so.preload
http://bugzilla.novell.com/show_bug.cgi?id=502113 User werner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c486710 Summary: Package libv4l add /usr path to /etc/ld.so.preload Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: openSUSE 11.1 Status: NEW Keywords: beta_customer, dogfood Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bphilips@novell.com ReportedBy: werner@novell.com QAContact: qa@suse.de CC: matz@novell.com, ro@novell.com, crrodriguez@novell.com Depends on: 486710 Found By: Community User Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER+ The package adds the line /usr/lib/libv4l/v4l2convert.so to /etc/ld.so.preload which force *all* programs to preload the v4l2convert.so module from /usr. Beside the constricted usage of v4l2convert.so for e.g. normal shells and system programs like mount and ls this makes on systems having a own /usr partition that the /usr is busy during shutdown! Compare with bug #486710 IMHO this is a no-go and should be fixed not only for 11.1 and SLES11 but also for factory. Beside this: Michael? is there a way to switch off this preload for all processes used for shutdown, that is /sbin/init, the programs started by the boot script, and all other helpers. -- 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=502113 User werner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c1 --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2009-05-08 05:44:57 MDT ---
From source code rtld.c:
/* There usually is no ld.so.preload file, it should only be used for emergencies and testing. So the open call etc should usually fail. Using access() on a non-existing file is faster than using open(). So we do this first. If it succeeds we do almost twice the work but this does not matter, since it is not for production use. */ .. v4l2convert.so is not for emergencies nor for testing. But it can not be switched off in rtld.c. -- 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=502113 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c2 --- Comment #2 from Cristian Rodríguez <crrodriguez@novell.com> 2009-05-08 05:47:10 MDT --- uh ho. This is a truly no go, nasty bug. -- 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=502113 User werner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bphilips@novell.com AssignedTo|bphilips@novell.com |andrea@opensuse.org --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2009-05-08 06:09:42 MDT --- It's a third party version of the package: * Wed Feb 18 2009 - Andrea Florio <andrea@links2linux.de> - added post script from drivers:webcam spec file - This package version adds v4l2convert.so to the list of automatically preloaded libraries. hopefully andrea@links2linux.de is the same as andrea@opensuse.org -- 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=502113 User andrea@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c4 --- Comment #4 from andrea florio <andrea@opensuse.org> 2009-05-08 09:09:41 MDT --- Yes i'm the same one. as you can read from the changelog, i just used the same script provided here: https://build.opensuse.org/package/show?package=libv4l&project=drivers%3Awebcam to allow to workaround easly to the gpscav webcam (kernel 2.6.27 only) if any problem exist, just tell us, we will remove immediatly it. -- 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=502113 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c5 --- Comment #5 from Cristian Rodríguez <crrodriguez@novell.com> 2009-05-08 09:16:40 MDT --- Andrea: The problem is stated clearly on this report, _ALL_ applications are preloading /usr/lib/libv4l/v4l2convert.so !! you need to remove the workaround of find a different one.. -- 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=502113 User andrea@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c6 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrea@opensuse.org --- Comment #6 from andrea florio <andrea@opensuse.org> 2009-05-08 10:01:51 MDT --- libv4l 0.5.9 - 10.pm.8 will fix it, sorry for any trouble, please be sure the same changes will be made on that package: https://build.opensuse.org/package/show?package=libv4l&project=drivers%3Awebcam -- 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=502113 User werner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c7 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |awafaa@opensuse.org, | |dmacvicar@novell.com, | |martin.lasarsch@novell.com, | |pth@novell.com, | |wstephenson@novell.com --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2009-05-08 10:09:59 MDT --- The maintainers of https://rudin.suse.de:8894/package/show?package=libv4l&project=drivers%3Awebcam are schaefer.frank@gmx.net, wstephenson@novell.com, dmacvicar@novell.com, martin.lasarsch@novell.com, awafaa@opensuse.org, pth@novell.com, and bphilips@novell.com please is anyone of those people such kind to remove the creation of /usr/lib/libv4l/v4l2convert.so ... it breaks systems out there. -- 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=502113 Frank Schäfer <schaefer.frank@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=502113 Frank Schäfer <schaefer.frank@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |486710 Depends on|486710 | -- 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=502113 User schaefer.frank@gmx.net added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c8 --- Comment #8 from Frank Schäfer <schaefer.frank@gmx.net> 2009-05-08 11:28:15 MDT --- Ok, this workaround was too dirty... It's been an enormous usability improvement for many drivers/applications, but of course: stability goes first ! Thanks for your report, updated packages (without permanent preloading) are on the way to repo drivers:webcam. -- 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=502113 User schaefer.frank@gmx.net added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c9 Frank Schäfer <schaefer.frank@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #9 from Frank Schäfer <schaefer.frank@gmx.net> 2009-05-08 11:43:41 MDT --- Fixed with packages libv4l-0.5.9-102.1 in repository drivers:webcam. -- 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=502113 Frank Schäfer <schaefer.frank@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|486710 | Depends on| |486710 -- 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=502113 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c10 --- Comment #10 from Cristian Rodríguez <crrodriguez@novell.com> 2009-05-09 23:30:44 MDT --- (In reply to comment #0)
Beside this: Michael? is there a way to switch off this preload for all processes used for shutdown, that is /sbin/init, the programs started by the boot script, and all other helpers.
IMHO programs in /bin or /sbin shouldnt be able to preload stuff from /usr.. -- 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=502113 User werner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c11 --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2009-05-11 01:12:59 MDT --- FullACK ... it would be perfect to have a compiled in flag for the binary to make the ld.so not to load such preloads. -- 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=502113 User schaefer.frank@gmx.net added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c12 --- Comment #12 from Frank Schäfer <schaefer.frank@gmx.net> 2009-05-11 03:02:23 MDT --- I don't agree, general (compiled-in) deactivation of preloading would be a very bad idea, too. Preloading is a really terrible but indispensable solution for many problems (e.g. in the v4l2 sector). Of course, it's the result of wrong driver/application/interface design, but that's another discussion... However, I agree that packages should not be allowed to enable permanent preolading (with ld.so.preload). I think a proper solution would be do let the build-service stop packages from doing that. The rest should be up to the user. -- 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=502113 User matz@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=502113#c13 --- Comment #13 from Michael Matz <matz@novell.com> 2009-05-11 04:19:08 MDT --- Yep, no way am I going to cripple ld.so because of bad packages. Agreement about a package build time check, though. -- 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=502113 http://bugzilla.novell.com/show_bug.cgi?id=502113#c andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- 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