ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Valentin Lavrinenko <lvu@uaservice.com.ua>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] /sbin/ifup ppp0 - некорректная работа по Ctrl-C
Date: Tue, 18 Oct 2005 14:24:13 +0300
Message-ID: <4354DB5D.5050001@uaservice.com.ua> (raw)
In-Reply-To: <434CEFAD.1010407@uaservice.com.ua>

Hi, All!

Valentin Lavrinenko wrote:

> Обнаружилась следующая трабла. При поднятии ppp-соединения с помощью 
> /sbin/ifup ppp0 обрываю его по Ctrl-C.
> В принципе, все присходит нормально, pppd ловит сигнал и корректно 
> завершается. Но, если нажать Ctrl-C очень быстро
> (сразу после выполнения команды), то получается следующее: pppd 
> сигнал, судя по логам, не получает, и продолжает
> коннектиться. Скрипт же ifup завершается, говоря, что  Failed to 
> activate ppp0  with error 35 (точнее, говорит это, видимо,
> usernetctl), и, очевидно, не делает ничего, что должен бы после 
> запуска pppd сделать - не прописывается маршрутизация
> и т. п.

Что-то никто не отвечает :( В общем, я, вроде, разобрался, откуда эти 
грабли. Проистекает это все, судя по всему, из
программки ppp-watch, и вот здесь 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=40585 висит эта 
бага. К сожалению,
я не могу воспользоваться приведенным там патчем, так как используемый в 
RedHat ppp-watch.c отличается от АЛЬТовского. В
Сизифовском net-scripts 0.5.5 ppp-watch.c точно такой же, как в 
мастерском 0.4.9.1, так что ставить обновление из Сизифа мне,
очевидно, смысла нету.

Сейчас я вижу для себя два варианта: либо пытаться разобраться в том, 
как работает АЛЬТовский ppp-watch, и фиксить его, либо
брать исходник от RedHat'а, компилировать, и заменять бинарник 
/sbin/ppp-watch.

Подскажите, пожалуйста, насколько чреват проблемами второй вариант (он, 
очевидно, менее трудоемкий, чем первый), и какие
вообще есть предложения по поводу всего этого?




  reply	other threads:[~2005-10-18 11:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 11:12 Valentin Lavrinenko
2005-10-18 11:24 ` Valentin Lavrinenko [this message]
2005-10-18 18:34   ` [Comm] " Michael Shigorin
2005-10-19  6:45     ` Valentin Lavrinenko
2005-10-19 12:20       ` Michael Shigorin
2005-10-19 13:49         ` Valentin Lavrinenko
2005-10-19 13:54           ` Michael Shigorin
2005-10-20  6:33             ` Valentin Lavrinenko
2005-10-20 11:55               ` Michael Shigorin
2005-10-21  8:11                 ` Valentin Lavrinenko
2005-10-21 12:09                   ` Michael Shigorin

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=4354DB5D.5050001@uaservice.com.ua \
    --to=lvu@uaservice.com.ua \
    --cc=community@altlinux.ru \
    --cc=community@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 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