From: Yuriy Kashirin <yura@emict.com> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] dns и etcnet Date: Tue, 28 Mar 2006 11:28:18 +0300 Message-ID: <200603281128.19897.yura@emict.com> (raw) In-Reply-To: <4428E1AB.4030906@ats-manager.stc.donpac.ru> On Tuesday 28 March 2006 10:11, Eugene Prokopiev wrote: > Полный вывод strace -f ping test в аттаче. Мне непонятен следующий > фрагмент: > > chroot("/var/resolv") = 0 > chdir("/") = 0 > setgid32(101) = 0 ^^^ > setuid32(100) = 0 ^^^ [skiped] > 1718341389 open("/etc/resolv.conf", O_RDONLY) = -1 EACCES > (Permission denied) > > Ну ладно, /dev/urandom в чруте действительно отсутствует, но > /etc/resolv.conf на месте и с нормальными правами: > > # ls -lR /var/resolv > /var/resolv: > total 12 > drwx------ 2 root root 4096 Mar 24 20:00 etc ^^^^^^^^^^^^^^^^^^^^^^ /etc с ненормальными правами для юзера 101 -- он не может в этот директорий войти, чтобы хоть какой-то файл открыть. > drwxr-xr-x 2 root root 4096 Mar 21 13:35 lib > drwxr-xr-x 4 root root 4096 Mar 20 11:34 var > > /var/resolv/etc: > total 44 > -rw-r--r-- 1 root root 26 Jan 19 2004 host.conf > -rw-r--r-- 1 root root 80 Mar 24 20:00 hosts > -rw-r--r-- 1 root root 815 Mar 6 13:36 localtime > -rw-r--r-- 1 root root 1854 Nov 10 2002 nsswitch.conf > -rw-r--r-- 1 root root 24 Mar 24 19:43 resolv.conf > -rw-r--r-- 1 root root 24450 Jul 2 2005 services -- Best regards Yuriy Kashirin
prev parent reply other threads:[~2006-03-28 8:28 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-03-24 14:02 Eugene Prokopiev 2006-03-24 14:14 ` Шенцев Алексей Владимирович 2006-03-24 15:04 ` Eugene Prokopiev 2006-03-25 9:47 ` Sergey 2006-03-25 13:12 ` Alexey Borovskoy 2006-03-28 7:11 ` Eugene Prokopiev 2006-03-28 8:02 ` Eugene Prokopiev 2006-03-28 8:11 ` Alexey I. Froloff 2006-03-28 8:28 ` Yuriy Kashirin [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=200603281128.19897.yura@emict.com \ --to=yura@emict.com \ --cc=sisyphus@lists.altlinux.org \ /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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git