[systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
Alexey Shabalin
a.shabalin at gmail.com
Mon Feb 24 07:04:27 PST 2014
2014-02-24 18:16 GMT+04:00 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>:
> On Mon, Feb 24, 2014 at 05:31:46PM +0400, Alexey Shabalin wrote:
> > Excuse me, but what reason this libs in $rootlibdir ?
> > All systemd components static linked now with internal libs(for v209).
> > systemd can boot without $libdir (/usr/lib) mounted. All other software,
> > why used libsystemd(or compat libs), and libgudev run after mount $libdir
> > (/usr/lib).
> > I think that it is necessary to remove:
> > - libsystemd-install-hook
> > - compat-lib-install-hook
> > - and even libgudev-install-hook
> >
> > Needed only libudev-install-hook (for dmsetup, libdevmapper ).
> Hi,
>
> you're right that systemd itself would function OK without its own
> libraries. But it's hard to say what other softwre links to them, and
> it'd be irresponsible to move stuff from /lib to /usr/lib without auditing
> the users. But we don't want to waste time on this, since the whole
> /usr-vs-/ split is obsolete.
>
>
I can do a quick audit :)
For example, run LANG=C apt-cache whatdepends libsystemd-daemon, i can see
like:
libsystemd-daemon-1:208-alt4
mate-screensaver-1.6.1-alt1_2
Depends: <libsystemd-daemon.so.0(LIBSYSTEMD_DAEMON_31)(64bit)>
libsystemd-daemon-1:208-alt4
kde4base-workspace-kdm-4.11.6-alt1
Depends: <libsystemd-daemon.so.0(LIBSYSTEMD_DAEMON_31)(64bit)>
libsystemd-daemon-1:208-alt4
......
Results:
1) apt-cache whatdepends libsystemd-daemon:
mate-screensaver
kde4base-workspace-kdm
gnome-screensaver
gdm
efl-libs
cups
nothing requires $rootlibdir
^^^^^^^^^^^^^^^^^^^^^^^^
2) apt-cache whatdepends libsystemd-login
mate-session
gnome-session
gdm-libs
gdm
cinnamon-session
libaccountsservice
gnome-system-monitor
udisks2
spice-vdagent
pulseaudio-daemon
libpolkit
polkit
mate-screensaver
kde4base-workspace-kdm
gvfs
gnome-screensaver
gnome-disk-utility
dbus
colord
cinnamon-settings-daemon
cinnamon-screensaver
NetworkManager
nothing requires $rootlibdir
^^^^^^^^^^^^^^^^^^^^^^^^
3) apt-cache whatdepends libsystemd-journal
rsyslog-journal
guestfsd
gnome-session
gdm
dbus
efl-libs
nothing requires $rootlibdir
^^^^^^^^^^^^^^^^^^^^^^^^
4) apt-cache whatdepends libudev1
xorg-server
xorg-drv-nouveau
xorg-drv-modesetting
xorg-drv-intel
xorg-drv-evdev
xorg-drv-radeon
xbmc
libwine
lsblk
udev-alsa
system-config-printer-udev
sflphone-common
libqt5-webkit
libqt5-gui
libqt4-systeminfo
pulseaudio-daemon
pcsc-lite
libmultipath
mbm-gpsd
libmaliit
libdevmapper
libvirt-daemon-driver-nodedev
libvirt-daemon-driver-interface
libusb
libcec
libcanberra
libatasmart
kde4libs
kde4base-workspace-core
guvcview
efl-libs
dvdstyler
chromium
bluez-4
libgbm
FlightGear
multipath-tools
liblvm2
lsblk, libdevmapper, libmultipath, multipath-tools, liblvm2 requires
$rootlibdir
5) apt-cache whatdepends libgudev
libgudev-gir
xfburn
upower
udisks2
thunar-volman-plugin
thunar
shotwell
rhythmbox-plugins-mtpdevice
librhythmbox
python-module-gudev
libwacom
libspice-glib
libmbim-glib
gypsy-daemon
libgusb
libgudev-sharp
gvfs
gvfs-backend-mtp
gvfs-backend-cdda
gst-plugins-good (0.10)
gst-plugins-bad1.0
gnome-settings-daemon
gnome-dvb-daemon
gnome-boxes
gimp
gammu
empathy
colord
libclutter
cinnamon-settings-daemon
libcheese
anchorman
libnm-gtk
libnm-glib
NetworkManager
ModemManager
nothing requires $rootlibdir
^^^^^^^^^^^^^^^^^^^^^^^^
Needed only libudev-install-hook, not more.
--
Alexey Shabalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140224/7a4318f7/attachment-0001.html>
More information about the systemd-devel
mailing list