[systemd-devel] Please proof-read: systemd’s dependencies and installation footprint

Kay Sievers kay at vrfy.org
Mon Jun 10 12:25:53 PDT 2013


On Mon, Jun 10, 2013 at 7:26 PM, Cristian Rodríguez
<crrodriguez at opensuse.org> wrote:
> El 10/06/13 06:17, Lennart Poettering escribió:

>> Hmm, you list that our daemons would require pcre? That's weird, we
>> don't really do that. That sounds like a bug,

> Sounds more like something in the dependency chain is not linked with
> as-needed causing a mess.

Seems selinux does add that dependency, and which cannot be eliminated
with as-needed as soon as any selinux things are used:

  $ echo 'int main(int argc, char *argv[]) { return 0; }' > main.c;
gcc main.c -o main -lselinux; ldd main
	linux-vdso.so.1 =>  (0x00007ffff33fe000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fd2232b1000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fd222ef1000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fd222cec000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fd222a88000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd22286c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fd2234ef000)

Kay


More information about the systemd-devel mailing list