Comment 2 for bug 720961

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Right, so I remember why this was needed. When profiling, evince-thumbnailer needed /etc/apsswd and /etc/nsswitch.conf, so the nameservice abstraction was added. This seems rather silly, so I strace'd it:
$ strace -c evince-thumbnailer ./test_hyperlink.pdf /tmp/out.png
...
  -nan 0.000000 0 1 getuid
  -nan 0.000000 0 1 geteuid
...

I'm guessing this is do to the following:
$ strace evince-thumbnailer ./test_hyperlink.pdf /tmp/out.png 2>&1 | grep dbus
read(4, "libgvfsdbus.so: gio-vfs,gio-volu"..., 159) = 159
open("/usr/lib/libdbus-glib-1.so.2", O_RDONLY) = 4
open("/lib/libdbus-1.so.3", O_RDONLY) = 4
stat("/usr/lib/gio/modules/libgvfsdbus.so", {st_mode=S_IFREG|0644, st_size=172976, ...}) = 0
stat("/usr/lib/gio/modules/libgvfsdbus.so", {st_mode=S_IFREG|0644, st_size=172976, ...}) = 0
open("/usr/lib/gio/modules/libgvfsdbus.so", O_RDONLY) = 3
open("/lib/libdbus-1.so.3", O_RDONLY) = 3
connect(3, {sa_family=AF_FILE, path=@"/tmp/dbus-Szq019joqT"}, 23) = 0