Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512772 - Migrating from sys-fs/udev to sys-apps/systemd temporarily breaks /opt/google/chrome/libudev.so.0 symlink
Summary: Migrating from sys-fs/udev to sys-apps/systemd temporarily breaks /opt/google...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 16:47 UTC by David Carlos Manuelda
Modified: 2014-07-28 02:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2014-06-08 16:47:56 UTC
I migrated to systemd recently and realized that google-chrome was not starting after that.

The message is:
 google-chrome-stable 
/usr/bin/google-chrome-stable: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Because systemd have its own udev implementation.

However, despite the fix is simply re-emerging google-chrome again, I did not see anything regarding that, and can cause confusion.

I suggest to put it on preserved rebuild list, or to mention it in news after emerging systemd to inform users that it have to be rebuild.

Or even better, when installing systemd (mainly for first time), add google-chrome to the emerge list to avoid it failing.
Comment 1 Mike Gilbert gentoo-dev 2014-06-08 17:04:16 UTC
When google-chrome is installed with udev, you will have the following symlink:

/opt/google/chrome/libudev.so.0 -> /lib64/libudev.so.1

When systemd is installed, /lib64/libudev.so.1 will be moved to /usr/lib64/libudev.so.1. This will break the /opt/google/chrome/libudev.so.0 symlink, until it is recreated by pkg_postinst.

This could be avoided if sys-apps/systemd installed libudev in the same place as sys-fs/udev.
Comment 2 Mike Gilbert gentoo-dev 2014-06-09 19:47:01 UTC
I suppose I could go back to abusing the /usr/lib/libudev.so symlink, as this was originally implemented. In theory, that link should always be valid on a Gentoo system with udev or systemd installed.
Comment 3 Mike Gilbert gentoo-dev 2014-07-28 02:49:11 UTC
I'm going to leave this as-is.