Rahul Sundaram wrote:
Maybe gthumb, f-spot developers thought they could do a better
alternative than nautilus views which might have been good enough for
many users anyway. My only claim is that noone use any particular
feature it is completely bogus. Nobody knows what percentage of users
are using any particular feature at all. We don't even know what
packages are being used in Fedora or how many users there are in
total. Assumptions about anything like that is merely that, at this
point.
I've been screwing around a bit with scripts that try to audit what
rpms a particular system is using. I've tried two different approaches:
(i) do an lsof, find binaries and libraries that are currently loaded,
then find out what packages those files are in.
(ii) switch on process accouting, and then look up the packages that
have had binaries run over a certain period of time.
After that, it follows dependencies.
Neither one is perfect. (i) gives interesting output for a running
server or desktop, but it's just looking at libraries, and in a
snapshot in time. (ii) would get almost anything, but it turns out the
process accounting code doesn't save the complete path of the binary,
so you have to guess the path from the filename. Most of the time
looking things up in the $PATH works and isn't ambiguous, except when
it is. Most of the things that aren't in the $PATH are cronjobs or init
scripts, and those are in predictable places, but this will never work
100% without a different profiling facility (can we set up kprobes to
log every file that gets opened?) If you do (ii) you're going to want
to include a boot/reboot cycle to get (most) of the long running
proccesses that start at boot and end at shutdown.
There's also the problem that either method will turn up false
positives -- package A requires library B, but the features in library
B never get used. Or sadc is running but nobody looks at the sa files
because the sysadmin never heard about sa...
Here's the output I got from trying method (i) on my RHEL 4
desktop: (the number is a weighted count of how many times a file shows
up, also there are plenty of false positives here... I've never used
Evolution, for instance, but it shows up, and krb5 is a heavily
referenced libraries although I don't use it)
1 bzip2-libs-1.0.2-13.EL4.2
1 Canna-3.7p3-7.EL4
1 Canna-libs-3.7p3-7.EL4
1 cups-1.1.22-0.rc1.9.8
1 cups-libs-1.1.22-0.rc1.9.8
1 cyrus-sasl-gssapi-2.1.19-5.EL4
1 cyrus-sasl-ntlm-2.1.19-5.EL4
1 cyrus-sasl-sql-2.1.19-5.EL4
1 dbus-glib-0.22-12.EL.5
1 dbus-python-0.22-12.EL.5
1 dbus-x11-0.22-12.EL.5
1 dia-0.94-5
1 eel2-2.8.1-2
1 eog-2.8.1-2
1 file-roller-2.8.1-1
1 gdm-2.6.0.5-7.rhel4.4
1 gftp-2.0.17-5
1 glade2-2.6.0-1
1 gnome-applets-2.8.0-5
1 gnome-games-2.8.0-4
1 gnome-system-monitor-2.7.0-2
1 gnome-terminal-2.7.3-2
1 gnome-utils-2.8.0-5
1 gnome-vfs2-smb-2.8.2-8.2
1 gpm-1.20.1-66
1 gthumb-2.4.2-7
1 iiimf-gnome-im-switcher-12.1-13.EL.2
1 iiimf-le-canna-12.1-13.EL.2
1 iiimf-le-chinput-0.3-16
1 iiimf-le-hangul-12.1-13.EL.2
1 iiimf-le-sun-thai-12.1-13.EL.2
1 iiimf-le-unit-12.1-13.EL.2
1 iiimf-le-xcin-0.1.7-11
1 iiimf-libs-12.1-13.EL.2
1 kernel-utils-2.4-13.1.69
1 libattr-2.4.16-3
1 libcap-1.10-20
1 libcroco-0.6.0-4
1 libgsf-1.10.1-1
1 libogg-1.1.2-1
1 librsvg2-2.8.1-1
1 libsepol-1.1.1-2
1 libwnck-2.8.1-1.rhel4.1
1 metacity-2.8.6-2.8
1 mozilla-chat-1.7.12-1.4.1
1 mysql-4.1.12-3.RHEL4.1
1 openssh-server-3.9p1-8.RHEL4.9
1 portmap-4.0-63
1 postgresql-libs-7.4.8-1.RHEL4.1
1 PyXML-0.8.3-6
1 sudo-1.6.7p5-30.1.3
1 system-config-httpd-1.3.1-1
1 tcl-8.4.7-2
1 ttfonts-ja-1.2-36.EL4.0
1 ttfonts-ko-1.0.11-32.2
1 ttfonts-zh_CN-2.14-6
1 udev-039-10.10.EL4
1 up2date-4.4.50-4
1 usermode-gtk-1.74-1
1 vixie-cron-4.1-36.EL4
1 xinetd-2.3.13-4.4E.1
1 xorg-x11-xfs-6.8.2-1.EL.13.20
1 xscreensaver-4.18-5.rhel4.9
2 at-3.1.8-78_EL4
2 bug-buddy-2.8.0-3
2 cyrus-sasl-md5-2.1.19-5.EL4
2 cyrus-sasl-plain-2.1.19-5.EL4
2 db4-4.2.52-7.1
2 emacs-21.3-19.EL.1
2 expect-5.42.1-1
2 gnome-media-2.8.0-3
2 gnome-session-2.8.0-5
2 gnutls-1.0.20-3.2.1
2 gstreamer-0.8.7-4.EL.0
2 hal-0.4.2-1.EL4
2 hesiod-3.0.2-30
2 kdelibs-3.3.1-3.11
2 kdepim-3.3.1-2.1
2 less-382-4
2 libgcc-3.4.4-2
2 libgcrypt-1.2.0-3
2 libgpg-error-1.0-1
2 libsoup-2.2.1-2
2 libtiff-3.6.1-8
2 libungif-4.1.3-1.el4.2
2 lsof-4.72-1.1
2 mozilla-mail-1.7.12-1.4.1
2 sysklogd-1.4.1-26_EL
2 SysVinit-2.85-34.3
2 vnc-server-4.0-8.1
2 Xaw3d-1.5-24
3 coreutils-5.2.1-31.2
3 gedit-2.8.1-4
3 gnome-desktop-2.8.0-5
3 iiimf-server-12.1-13.EL.2
3 kdegraphics-3.3.1-3.4
3 libgnomeprint22-2.8.0-3
3 libvorbis-1.1.0-1
3 nautilus-cd-burner-2.8.3-6
3 nfs-utils-1.0.6-65.EL4
3 urw-fonts-2.2-6.1
4 control-center-2.8.0-12.rhel4.2
4 ncurses-5.4-13
4 perl-5.8.5-16.RHEL4
4 pygtk2-2.4.0-1
4 samba-common-3.0.10-1.4E.2
4 sendmail-8.13.1-2
5 acpid-1.0.3-2
5 dbus-0.22-12.EL.5
5 gstreamer-plugins-0.8.5-1.EL.0
5 libbonoboui-2.8.0.99cvs20040929-2
5 libglade2-2.4.0-5
5 libgnomecanvas-2.8.0-1
5 libgnomeui-2.8.0-1
5 libstdc++-3.4.4-2
5 nautilus-2.8.1-4
5 python-2.3.4-14.1
6 evolution-2.0.2-22
6 filesystem-2.3.0-1
6 kdemultimedia-3.3.1-2
6 mingetty-1.07-3
6 startup-notification-0.7-1
7 audit-libs-1.0.3-6.EL4
7 gamin-0.1.1-3.EL4
7 libpng-1.2.7-1
7 tcp_wrappers-7.6-37.2
8 arts-1.3.1-2
8 cyrus-sasl-2.1.19-5.EL4
8 gnome-panel-2.8.1-3.3E
8 openldap-2.2.13-4
8 pam-0.77-66.13
9 libgnome-2.8.0-2
9 mozilla-nspr-1.7.12-1.4.1
9 mozilla-nss-1.7.12-1.4.1
10 libart_lgpl-2.3.16-3
11 gnome-keyring-0.4.0-1
13 alsa-lib-1.0.6-5.RHEL4
13 audiofile-0.2.6-1
13 esound-0.2.35-2
13 GConf2-2.8.1-1
13 libjpeg-6b-33
13 openssh-clients-3.9p1-8.RHEL4.9
14 atk-1.8.0-2
14 fonts-xorg-base-6.8.1.1-1.EL.1
14 redhat-artwork-0.120.1-1.2E
15 kdebase-3.3.1-5.8
16 libxml2-2.6.16-6
17 evolution-data-server-1.0.2-9
17 popt-1.9.1-11_nonptl
18 ORBit2-2.12.0-3
21 libbonobo-2.8.0-2
21 utempter-0.5.5-5
21 xterm-192-1
22 gnome-vfs2-2.8.2-8.2
22 libselinux-1.19.1-7
25 bash-3.0-19.2
30 fontconfig-2.2.3-7
30 freetype-2.1.9-1
33 e2fsprogs-1.35-12.2.EL4
38 expat-1.95.7-4
46 libtermcap-2.0.8-39
46 openssl-0.9.7a-43.4
48 gtk2-2.4.13-18
53 mozilla-1.7.12-1.4.1
61 zlib-1.2.1.2-1.2
66 pango-1.6.0-9
78 glibc-common-2.3.4-2.13
83 glib2-2.4.7-1
96 krb5-libs-1.3.4-17
500 xorg-x11-libs-6.8.2-1.EL.13.20
730 glibc-2.3.4-2.13
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list