[syslog-ng]Chrooted syslog-ng and DNS in Solaris 8

Guillaume LACHENAL glachenal@on-x.com
Fri, 6 Dec 2002 14:52:26 +0100


assuming solaris lib names are almost the same as my linux box, you need :

aludra:/chroot/syslog-ng/lib# ls -l
total 252
-rwxr-xr-x    1 root     root        85654 Aug 14 13:37 ld-2.1.3.so
lrwxrwxrwx    1 root     root           11 Aug 14 13:38 ld-linux.so.2 -> 
ld-2.1.3.so
-rw-r--r--    1 root     root        76032 Oct 30 12:01 libnsl-2.1.3.so
lrwxrwxrwx    1 root     root           15 Aug 14 13:36 libnsl.so.1 -> 
libnsl-2.1.3.so
-rw-r--r--    1 root     root        11452 Nov  6 12:01 
libnss_dns-2.1.3.so
lrwxrwxrwx    1 root     root           19 Nov  6 12:02 libnss_dns.so.2 -> 
libnss_dns-2.1.3.so
-rw-r--r--    1 root     root        31084 Nov  6 12:01 
libnss_files-2.1.3.so
lrwxrwxrwx    1 root     root           21 Nov  6 12:02 libnss_files.so.2 
-> libnss_files-2.1.3.so
-rw-r--r--    1 root     root        46624 Nov  6 15:23 libresolv-2.1.3.so
lrwxrwxrwx    1 root     root           18 Nov  6 15:23 libresolv.so.2 -> 
libresolv-2.1.3.so
aludra:/chroot/syslog-ng/lib#

libnss_dns / libnssfiles depends on your $CHROOT/etc/host.conf  / 
$CHROOT/etc/nsswitch.conf

regards,

Guillaume






henriksa@telia.com
Sent by: syslog-ng-admin@lists.balabit.hu
12/06/02 14:45
Please respond to syslog-ng

 
        To:     syslog-ng@lists.balabit.hu
        cc: 
        Subject:        [syslog-ng]Chrooted syslog-ng and DNS in Solaris 8


I saw there was a discussion about this last month but that was a bit
messy so I was wondering if someone could explain this a little better
to me.

What files do I need to copy to the chroot jail in Solaris 8 so that
syslog-ng can resolve hostnames when use_dns(yes) is used?

/Henrik


_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html