[devel] rootfs_libs
Alexey Tourbin
=?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Сб Авг 5 02:37:58 MSD 2006
Полный список бинарей, которые находятся за пределами /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
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20060805/531c5004/attachment-0001.bin>
Подробная информация о списке рассылки Devel