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