From: Boris Muradov <boris.muradov@mail.ru> To: community@altlinux.ru Subject: Re: [Comm] resolving via wins Date: Wed, 12 Jan 2005 10:33:32 +0300 Message-ID: <E1Cod0W-0009fT-00.boris-muradov-mail-ru@f26.mail.ru> (raw) In-Reply-To: <E1CocIn-000LqW-00.boris-muradov-mail-ru@f15.mail.ru> sorry, проблема решена через strace обнаружилось. что ping делает chroot("/var/resolv"), пришлось добавить в /var/resolv/lib следующие библиотеки из /lib: libnss_wins.so.2 libldap.so.2 liblber.so.2 libgssapi_krb5.so.2 libkrb5.so.3 libk5crypto.so.3 libcom_err.so.2 libdl.so.2 libsasl2.so.2 libssl.so.4 libcrypto.so.4 непонятно, правда, для чего же тогда есть '/sbin/update_chrooted' или он не для этого ? честно говоря, не хочется копаться в этом скрипте, может, разработчики посмотрят... -----Original Message----- From: Boris Muradov <boris.muradov@mail.ru> To: community@altlinux.ru Date: Wed, 12 Jan 2005 09:48:21 +0300 Subject: [Comm] resolving via wins > > Привет всем, > > ALM2.4,samba-3.0.5-alt3.M24 > > хотел настроить subj: > > /etc/nsswitch.conf: > hosts: files dns wins > > потом, > /sbin/update_chrooted conf > > /etc/samba/smb.conf: параметр 'wins server' прописан > > на всякий случай запустил: > /sbin/ldconfig > /sbin/update_chrooted lib > > результат - не работает: > > [root@noir74l etc]# strace ping maxim > ... > open("/lib/libnss_wins.so.2", O_RDONLY) = -1 ENOENT (No such file or > directory) > ... > write(2, "ping: unknown host maxim\n", 25ping: unknown host maxim ) = > 25 > > [root@noir74l etc]# ls -l /lib/libnss_wins.so* > -rwxr-xr-x 1 root root 734252 Nov 16 18:21 /lib/libnss_wins.so > lrwxrwxrwx 1 root root 14 Dec 30 10:12 /lib/libnss_wins.so.2 -> > libnss_wins.so > > > [root@noir74l etc]# ldconfig -p | grep wins > libnss_wins.so.2 (libc6) => /lib/libnss_wins.so.2 > libnss_wins.so (libc6) => /lib/libnss_wins.so > > > что здесь неправильно ? > nmblookup работает нормально. > > Спасибо, > Борис > > > > _______________________________________________ > Community mailing list > Community@altlinux.ru > https://lists.altlinux.ru/mailman/listinfo/community >
prev parent reply other threads:[~2005-01-12 7:33 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-12 6:48 Boris Muradov 2005-01-12 7:33 ` Boris Muradov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E1Cod0W-0009fT-00.boris-muradov-mail-ru@f26.mail.ru \ --to=boris.muradov@mail.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git