Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
On 24/02/14 18:34, Kay Sievers wrote: On Mon, Feb 24, 2014 at 4:04 PM, Alexey Shabalin a.shaba...@gmail.com wrote: Needed only libudev-install-hook, not more. It does not matter for proper filesystem layouts where everything is in one location, in /usr. The split of / vs. /usr never made much sense, it's a very incomplete and broken model. For legacy systems putting all systemd libs in / will always work, while putting some stuff in / and other in /usr needs to be checked case-by-case for every system. Systemd does don't care about fragile optimizations or doing cosmetics for legacy filesystem layouts, it just makes it work as long as needed. And for that it uses the simplest and safest option, so things should stay as they are now. Thanks, I appericiate that -- for keeping them as they are. The way --enable-split-usr, together with fine-grained --with-root{libdir,prefix}, as they are now, are perfect for splitting files where they belong to. Then again, I can only speak for udev, as I'm only building and installing it's files. Thanks, Samuli ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
2014-02-22 20:57 GMT+04:00 Kay Sievers k...@vrfy.org: On Sat, Feb 22, 2014 at 5:48 PM, Armin K. kre...@email.com wrote: On 02/22/2014 05:44 PM, Kay Sievers wrote: On Sat, Feb 22, 2014 at 3:22 PM, Armin K kre...@email.com wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532..b1f0670 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \ # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed compat-lib-install-hook: libname=libsystemd-login.so $(move-to-rootlibdir) + libname=libsystemd-journal.so $(move-to-rootlibdir) libname=libsystemd-id128.so $(move-to-rootlibdir) libname=libsystemd-daemon.so $(move-to-rootlibdir) Hmm, that is already in the libsystemd section and does not belong in the compat libs section. Please check does not work for you? When --enable-compat-libs is used, and rootlibdir != libdir, libsystemd-{login,id128,daemon}.so.* (versioned libraries) get installed in rootlibdir, but libsystemd-daemon.so.* remains in libdir. Either don't move any or move them all, simple as that. Ah, I mis-read that as libsystemd.so, sorry, simple as that. Applied. 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 ). -- Alexey Shabalin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
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. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
2014-02-24 18:16 GMT+04:00 Zbigniew Jędrzejewski-Szmek zbys...@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 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
--- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532..b1f0670 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \ # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed compat-lib-install-hook: libname=libsystemd-login.so $(move-to-rootlibdir) + libname=libsystemd-journal.so $(move-to-rootlibdir) libname=libsystemd-id128.so $(move-to-rootlibdir) libname=libsystemd-daemon.so $(move-to-rootlibdir) compat-lib-uninstall-hook: rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so* + rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so* rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so* rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so* -- 1.9.0 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
On Sat, Feb 22, 2014 at 3:22 PM, Armin K kre...@email.com wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532..b1f0670 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \ # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed compat-lib-install-hook: libname=libsystemd-login.so $(move-to-rootlibdir) + libname=libsystemd-journal.so $(move-to-rootlibdir) libname=libsystemd-id128.so $(move-to-rootlibdir) libname=libsystemd-daemon.so $(move-to-rootlibdir) Hmm, that is already in the libsystemd section and does not belong in the compat libs section. Please check does not work for you? Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
On 02/22/2014 05:44 PM, Kay Sievers wrote: On Sat, Feb 22, 2014 at 3:22 PM, Armin K kre...@email.com wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532..b1f0670 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \ # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed compat-lib-install-hook: libname=libsystemd-login.so $(move-to-rootlibdir) + libname=libsystemd-journal.so $(move-to-rootlibdir) libname=libsystemd-id128.so $(move-to-rootlibdir) libname=libsystemd-daemon.so $(move-to-rootlibdir) Hmm, that is already in the libsystemd section and does not belong in the compat libs section. Please check does not work for you? Kay When --enable-compat-libs is used, and rootlibdir != libdir, libsystemd-{login,id128,daemon}.so.* (versioned libraries) get installed in rootlibdir, but libsystemd-daemon.so.* remains in libdir. Either don't move any or move them all, simple as that. -- Note: My last name is not Krejzi. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
On Sat, Feb 22, 2014 at 5:48 PM, Armin K. kre...@email.com wrote: On 02/22/2014 05:44 PM, Kay Sievers wrote: On Sat, Feb 22, 2014 at 3:22 PM, Armin K kre...@email.com wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532..b1f0670 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \ # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed compat-lib-install-hook: libname=libsystemd-login.so $(move-to-rootlibdir) + libname=libsystemd-journal.so $(move-to-rootlibdir) libname=libsystemd-id128.so $(move-to-rootlibdir) libname=libsystemd-daemon.so $(move-to-rootlibdir) Hmm, that is already in the libsystemd section and does not belong in the compat libs section. Please check does not work for you? When --enable-compat-libs is used, and rootlibdir != libdir, libsystemd-{login,id128,daemon}.so.* (versioned libraries) get installed in rootlibdir, but libsystemd-daemon.so.* remains in libdir. Either don't move any or move them all, simple as that. Ah, I mis-read that as libsystemd.so, sorry, simple as that. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel