ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] etcnet -- я схожу с ума
Date: Thu, 25 Oct 2007 21:53:48 +0400
Message-ID: <20071025175348.GB5037@procyon.home> (raw)
In-Reply-To: <200710252041.05544.shrek@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

On Thu, Oct 25, 2007 at 08:41:04PM +0400, Valery V. Inozemtsev wrote:
> В сообщении от 25 октября 2007 Artem Zolochevskiy написал(a):
> > hi all
> >
> > Ну совсем что-то плохо.
> >
> > в /etc/net/iftab прописаны маки.
> > к примеру есть интерфейс lan.
> > так, вот. при старте сети идёт ругань на то, что не найден TYPE для
> > _внимание_ "la"
> 
> +1. у меня вместо wifi стал wif. только похоже это не etcnet, а ifrename

Насколько я понял, 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 выдаётся только имя
интерфейса без точки в конце.

> > ну и т.д.
> > есть интерфейс bluetooth, а при старте ругань на "bluetoot"
> >
> > откусывается последний символ!
> >
> > Это что за новости?
> >
> > Пока сделал в /etc/net/ifaces силинки на каждый интерфейс с одним откусаным
> > символом. Но это же не дело...

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-25 17:53 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 [this message]
2007-10-31 21:33     ` Denis Ovsienko
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=20071025175348.GB5037@procyon.home \
    --to=vsu@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