From: Afanasov Dmitry <ender@altlinux.org> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] IfDown and RtNetLink Date: Sat, 26 Dec 2009 12:48:26 +0300 Message-ID: <20091226094821.GA4180@utvuk.ender.rk> (raw) In-Reply-To: <1351797878.20091226081249@Bk.Ru> [-- Attachment #1: Type: text/plain, Size: 927 bytes --] On Sat, Dec 26, 2009 at 08:12:49AM +0300, MisHel64 wrote: > Здравствуйте, ALT. > > делаю > ifup eth1 > ifdown eth1 > ни каких ошибок не появляется. > > Прописываю в eth1/ipv4route маршрут > 1.2.3.4/24 via 5.6.7.8 > ifup eth1 > ifdown eth1 > > и ifdown выводит на экран: "RTNETLINK answer: No such process" > Сколько маршрутов прошипишь, столько раз и напишет. сообщение выводится именно при ifdown? даже интересно, обычно при ifup. > Что я делаю не так, и на кого вешать багу? к сожалению, такое сообщение выдает ядро при обращении к сетевой подсистеме через netlink. > И что именно имеет в виду RTNETLINK, и какой это процесс он не no such? ядро не возвращает сообщений, ядро возвращает коды ошибок (errno). в данном случае код ESRCH, которая в strerror расшифровывается как No such process. по-русски - "извиняйте, ничего подобного в маршрутах не нашел" -- С уважением Афанасов Дмитрий [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-12-26 9:48 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-26 5:12 MisHel64 2009-12-26 7:46 ` Anton Farygin 2009-12-26 9:16 ` MisHel64 2009-12-26 9:48 ` Afanasov Dmitry [this message] 2009-12-26 10:14 ` MisHel64 2009-12-26 10:31 ` Afanasov Dmitry 2009-12-26 23:46 ` MisHel64 2009-12-28 7:23 ` Afanasov Dmitry 2009-12-28 8:07 ` Afanasov Dmitry 2010-01-01 11:43 ` MisHel64 2009-12-26 9:57 ` Stanislav Vlasov 2009-12-26 10:10 ` MisHel64
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=20091226094821.GA4180@utvuk.ender.rk \ --to=ender@altlinux.org \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git