ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] rootfs_libs
Date: Sat, 5 Aug 2006 02:37:58 +0400
Message-ID: <20060804223758.GA9204@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 4759 bytes --]

Полный список бинарей, которые находятся за пределами /usr, но для своей
работы требуют библиотеки в /usr.

awesfx	/bin/asfxload	libasound.so.2	libalsa	/usr/lib/libasound.so.2.0.0
awesfx	/bin/asfxload	libawe.so.5	libawesfx	/usr/lib/libawe.so.5.0.0
awesfx	/bin/gusload	libasound.so.2	libalsa	/usr/lib/libasound.so.2.0.0
awesfx	/bin/gusload	libawe.so.5	libawesfx	/usr/lib/libawe.so.5.0.0
awesfx	/bin/sfxload	libasound.so.2	libalsa	/usr/lib/libasound.so.2.0.0
awesfx	/bin/sfxload	libawe.so.5	libawesfx	/usr/lib/libawe.so.5.0.0
bluez-utils	/etc/hotplug/usb/bcm203x	libusb-0.1.so.4	libusb	/usr/lib/libusb-0.1.so.4.4.4
captive-fuse	/sbin/mount.captive	libcaptive-1.1.7.so	captive	/usr/lib/libcaptive-1.1.7.so
captive-fuse	/sbin/mount.captive	libfuse.so.2	libfuse	/usr/lib/libfuse.so.2.5.3
captive-fuse	/sbin/mount.captive	libglib-2.0.so.0	glib2	/usr/lib/libglib-2.0.so.0.1200.1
captive-fuse	/sbin/mount.captive	libgnomevfs-2.so.0	gnome-vfs	/usr/lib/libgnomevfs-2.so.0.1400.2
captive-fuse	/sbin/mount.captive	libgobject-2.0.so.0	glib2	/usr/lib/libgobject-2.0.so.0.1200.1
dump	/sbin/restore	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5
ejabberd	/var/lib/ejabberd/priv/lib/expat_erl.so	libexpat.so.1	libexpat	/usr/lib/libexpat.so.1.5.0
htdig	/var/www/cgi-bin/htsearch	libstdc++.so.6	libstdc++3.4	/usr/lib/libstdc++.so.6.0.3
htdig	/var/www/cgi-bin/htsearch	libstdc++.so.6	libstdc++4.1	/usr/lib/libstdc++.so.6.0.8
isdn4k-utils	/sbin/divaload	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5
isdn4k-utils	/sbin/divalog	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5
isdn4k-utils	/sbin/divalogd	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5
isdn4k-utils	/sbin/eiconctrl	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5
isdn4k-utils	/sbin/imon	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5
magma	/sbin/circleping	libmagma.so.DEVEL	magma	/usr/lib/libmagma.so.DEVEL.1112283736
magma	/sbin/circleping	libmagmamsg.so.DEVEL	magma	/usr/lib/libmagmamsg.so.DEVEL.1112283736
magma	/sbin/cluster_cmd	libmagma.so.DEVEL	magma	/usr/lib/libmagma.so.DEVEL.1112283736
magma	/sbin/cluster_cmd	libmagmamsg.so.DEVEL	magma	/usr/lib/libmagmamsg.so.DEVEL.1112283736
magma	/sbin/magma_tool	libmagma.so.DEVEL	magma	/usr/lib/libmagma.so.DEVEL.1112283736
magma	/sbin/magma_tool	libmagmamsg.so.DEVEL	magma	/usr/lib/libmagmamsg.so.DEVEL.1112283736
mnogosearch-cgi	/var/www/cgi-bin/search.cgi	libmnogocharset-3.2.so	libmnogosearch	/usr/lib/libmnogocharset-3.2.so
mnogosearch-cgi	/var/www/cgi-bin/search.cgi	libmnogosearch-3.2.so	libmnogosearch	/usr/lib/libmnogosearch-3.2.so
mnogosearch-cgi	/var/www/cgi-bin/search.cgi	libmysqlclient.so.12	libmysqlclient12	/usr/lib/libmysqlclient.so.12.0.0
mnogosearch-cgi	/var/www/cgi-bin/storedoc.cgi	libmnogocharset-3.2.so	libmnogosearch	/usr/lib/libmnogocharset-3.2.so
mnogosearch-cgi	/var/www/cgi-bin/storedoc.cgi	libmnogosearch-3.2.so	libmnogosearch	/usr/lib/libmnogosearch-3.2.so
mnogosearch-cgi	/var/www/cgi-bin/storedoc.cgi	libmysqlclient.so.12	libmysqlclient12	/usr/lib/libmysqlclient.so.12.0.0
mod_python	/etc/httpd/modules/mod_python.so	libpython2.4.so.1.0	python-base	/usr/lib/libpython2.4.so.1.0
multipath-tools	/sbin/multipath	libsysfs.so.2	libsysfs	/usr/lib/libsysfs.so.2.0.0
multipath-tools	/sbin/multipathd	libsysfs.so.2	libsysfs	/usr/lib/libsysfs.so.2.0.0
ncpfs	/lib/security/pam_ncp_auth.so	libncp.so.2.3	libncp	/usr/lib/libncp.so.2.3.0
nss-mysql	/lib/libnss_mysql.so.2.0.0	libmysqlclient_r.so.15	libMySQL	/usr/lib/libmysqlclient_r.so.15.0.0
nut-cgi	/var/www/cgi-bin/upsimage.cgi	libgd.so.2	libgd2	/usr/lib/libgd.so.2.0.32
nut-driver-usb	/lib/nut/newhidups	libusb-0.1.so.4	libusb	/usr/lib/libusb-0.1.so.4.4.4
pam-mysql	/lib/security/pam_mysql.so	libmysqlclient.so.15	libMySQL	/usr/lib/libmysqlclient.so.15.0.0
pam_mount	/lib/security/pam_mount.so	libglib-2.0.so.0	glib2	/usr/lib/libglib-2.0.so.0.1200.1
pcmciautils	/sbin/pccardctl	libsysfs.so.2	libsysfs	/usr/lib/libsysfs.so.2.0.0
pcmciautils	/sbin/pcmcia-socket-startup	libsysfs.so.2	libsysfs	/usr/lib/libsysfs.so.2.0.0
syslog-ng	/sbin/syslog-ng	libol.so.0	libol	/usr/lib/libol.so.0.0.0
varmon	/sbin/varmon	libncurses.so.5	libncurses	/usr/lib/libncurses.so.5.5

Т.е. это то что не будет работать с отмонтированным /usr.

Есть более тонкая проблема -- скрипты, которые лежат в /bin или /sbin,
используют исполняемые файлы из /usr/bin или /usr/sbin.  Пример:
/sbin/ifcfg использует /usr/bin/killall.


#!/bin/sh -ef
export LC_ALL=C

[ -n "$*" ] || set -- -ap
rpmelfneed "$@" >need
awk -F'\t' '$2!~"^/usr/"' need |sort -t$'\t' -k3 >rootreq
rpmsoname "$@" >soname
awk -F'\t' '$2~"^/usr/"' soname |sort -t$'\t' -k3 >usrprov
join -t$'\t' -j 3 -o '1.1 1.2 1.3 2.1 2.2' rootreq usrprov |sort -u


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-08-04 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 22:37 Alexey Tourbin [this message]
2006-08-05 14:50 ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060804223758.GA9204@localhost.localdomain \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git