ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Denis Ovsienko <pilot@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] etcnet -- я схожу с ума
Date: Thu, 1 Nov 2007 00:33:10 +0300
Message-ID: <20071101003310.3189715f.pilot@altlinux.ru> (raw)
In-Reply-To: <20071025175348.GB5037@procyon.home>

Приветствую.

[...]

> Насколько я понял, ifrename наконец-то исправили, в результате код в
> etcnet перестал работать:
> 
> 	NEW_NAME=`$IFRENAME -c $PROF_IFTAB -i $OLDNAME -D 2>/dev/null
> | head -1 | cut -d' ' -f7 | sed 's/.$//'`
> 
> Раньше ifrename выдавал в stdout строку вида:
> 
> Dry-run : Would rename eth0 to lan.
> 
> Теперь эта строка идёт в stderr, а в stdout выдаётся только имя
> интерфейса без точки в конце.

Исправленный regexp будет в версии 0.9.5, но вы понимаете, что я не
могу предугадывать будущие изменения в ifrename.

> > > ну и т.д.
> > > есть интерфейс bluetooth, а при старте ругань на "bluetoot"
> > >
> > > откусывается последний символ!
> > >
> > > Это что за новости?
> > >
> > > Пока сделал в /etc/net/ifaces силинки на каждый интерфейс с одним
> > > откусаным символом. Но это же не дело...
> 
> Можно было бы сделать mv /etc/net/iftab /etc/iftab (тогда
> переименование будет выполняться при запуске сервиса ifrename, либо
> его правилами для udev); к сожалению, в таком варианте сейчас не
> работает запуск интерфейсов с USE_HOTPLUG=yes, которые уже существуют
> во время загрузки (из-за внутренних проблем udev не работает повторная
> обработка событий для переименованных интерфейсов, которая нужна в
> данном случае).

Перенос iftab из /etc/net в /etc --- изменение, которое я бы меньше
всего хотел видеть. О чём и написал в devel@.

-- 
    DO4-UANIC


  reply	other threads:[~2007-10-31 21:33 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25 16:37 Artem Zolochevskiy
2007-10-25 16:41 ` Valery V. Inozemtsev
2007-10-25 17:53   ` Sergey Vlasov
2007-10-31 21:33     ` Denis Ovsienko [this message]
2007-10-31 21:45       ` Dmitry V. Levin
2007-11-07  7:00 ` Sergey
2007-11-07 16:10   ` Sergey
2007-11-07 16:19     ` Sergey
2007-11-07 16:21     ` Peter V. Saveliev
2007-11-07 16:24       ` Sergey
2007-11-07 16:30         ` Peter V. Saveliev
2007-11-07 17:07           ` Sergey
2007-11-07 18:39             ` Sergey
2007-11-07 19:52               ` Sergey Vlasov
2007-11-07 20:44                 ` Peter V. Saveliev
2007-11-07 22:14                 ` Sergey
2007-11-07 22:41                   ` Alexey Rusakov
2007-11-07 23:26                     ` Sergey
2007-11-08  0:25                 ` Sergey
2007-11-08  6:45                   ` Sergey
2007-11-07 16:46       ` Андрей Черепанов
2007-11-07 17:03         ` Sergey
2007-11-08  8:18           ` Stanislav Ievlev
2007-11-08  8:58             ` Sergey
2007-11-08  9:12               ` Peter V. Saveliev
2007-11-08  9:36                 ` Sergey
2007-11-08 10:37                   ` Michael Shigorin
2007-11-08 10:58                     ` Michael Shigorin
2007-11-08 10:35                 ` Michael Shigorin
2007-11-08 10:53                   ` Peter V. Saveliev
2007-11-08 11:02                     ` Michael Shigorin
2007-11-08 12:45                       ` Sergey
2007-11-08 13:04                         ` [sisyphus] etcnet -- теперь и " Michael Shigorin
2007-11-08 13:12                           ` Alexey Gladkov
2007-11-08 13:35                             ` Sergey

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=20071101003310.3189715f.pilot@altlinux.ru \
    --to=pilot@altlinux.ru \
    --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