ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п.
@ 2009-03-22  9:43 Sergei O. Naumov
  2009-03-22  9:50 ` Alexei V. Mezin
  2009-03-22 11:29 ` Alexey Gladkov
  0 siblings, 2 replies; 5+ messages in thread
From: Sergei O. Naumov @ 2009-03-22  9:43 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions


Добрый день:
после обновления до etcnet-0.9,8 заметил, что перестали обрабатываться файлы с 
параметрами из /etc/net/ifaces/ath0/ipv4address, а также ipv4route. Причем с 
options и iwconfig все в порядке. Также не копируется resolv.conf.

-- 
Sergei



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п.
  2009-03-22  9:43 [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п Sergei O. Naumov
@ 2009-03-22  9:50 ` Alexei V. Mezin
  2009-03-22 11:29 ` Alexey Gladkov
  1 sibling, 0 replies; 5+ messages in thread
From: Alexei V. Mezin @ 2009-03-22  9:50 UTC (permalink / raw)
  To: sisyphus

Sergei O. Naumov пишет:
>а также ipv4route. 

Э-э-э... частично подтверждаю. Вчера заметил, что статические маршруты 
не поднялись. А сегодня только что проверил -- все работает. Видимо, 
глюк проявляется не всегда.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п.
  2009-03-22  9:43 [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п Sergei O. Naumov
  2009-03-22  9:50 ` Alexei V. Mezin
@ 2009-03-22 11:29 ` Alexey Gladkov
  2009-03-22 14:16   ` Sergei O. Naumov
  1 sibling, 1 reply; 5+ messages in thread
From: Alexey Gladkov @ 2009-03-22 11:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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

On 22.03.2009 12:43, Sergei O. Naumov wrote:
> Добрый день:
> после обновления до etcnet-0.9,8 заметил, что перестали обрабатываться файлы с 
> параметрами из /etc/net/ifaces/ath0/ipv4address, а также ipv4route. Причем с 
> options и iwconfig все в порядке. Также не копируется resolv.conf.


В новом релизе есть ошибка. Исправление в аттаче. Автор etcnet извещён.

-- 
Rgrds, legion


[-- Attachment #2: 0001-scripts-functions-profiled_filename_is-Use-the-p.patch --]
[-- Type: text/plain, Size: 1097 bytes --]

>From 5484feefc952007723e4329b5beb96ffcd2e269d Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Sun, 22 Mar 2009 14:23:06 +0300
Subject: [PATCH] scripts/functions: profiled_filename_is(): Use the propper variable to check variants

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 etc/net/scripts/functions |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/net/scripts/functions b/etc/net/scripts/functions
index b27bd72..3cbc471 100644
--- a/etc/net/scripts/functions
+++ b/etc/net/scripts/functions
@@ -260,8 +260,8 @@ profiled_filename_is()
 	       "${NETPROFILE:+#$NETPROFILE}" \
 	       ""
         while [ "$#" -gt 0 ]; do
-		if  [ "$__profiled_filename_is_op" "$__profiled_filename_is_base$__profiled_filename_is_e" ]; then
-			eval "$__profiled_filename_is_name=\"\$__profiled_filename_is_base\$__profiled_filename_is_e\""
+		if  [ "$__profiled_filename_is_op" "$__profiled_filename_is_base$1" ]; then
+			eval "$__profiled_filename_is_name=\"\$__profiled_filename_is_base\$1\""
 			return 0
 		fi
 		shift
-- 
1.6.1.3.GIT


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п.
  2009-03-22 11:29 ` Alexey Gladkov
@ 2009-03-22 14:16   ` Sergei O. Naumov
  2009-03-23  7:46     ` Alexey Gladkov
  0 siblings, 1 reply; 5+ messages in thread
From: Sergei O. Naumov @ 2009-03-22 14:16 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Воскресенье 22 марта 2009 14:29:46 Alexey Gladkov wrote:
> On 22.03.2009 12:43, Sergei O. Naumov wrote:
> > Добрый день:
> > после обновления до etcnet-0.9,8 заметил, что перестали обрабатываться
> > файлы с параметрами из /etc/net/ifaces/ath0/ipv4address, а также
> > ipv4route. Причем с options и iwconfig все в порядке. Также не копируется
> > resolv.conf.
>
> В новом релизе есть ошибка. Исправление в аттаче. Автор etcnet извещён.

Странно... Приложил патч, все равно не работает. Интерфейс подинимается, все 
остаьное - нет:

[root@yarilo scripts]# service network start
Computing interface groups: .. 2 interfaces found
Starting group 0/virtual (1 interfaces)
        Starting lo: ....OK
Starting group 1/realphys (1 interfaces)
        Starting ath0: ...OK
Processing /etc/net/vlantab: empty.
[root@yarilo scripts]# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:13:46:76:40:AD
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:32053 (31.3 KiB)  TX bytes:6214 (6.0 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:51 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4618 (4.5 KiB)  TX bytes:4618 (4.5 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-13-46-76-40-AD-
F4-9F-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9482 errors:0 dropped:0 overruns:0 frame:4131
          TX packets:300 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:822885 (803.5 KiB)  TX bytes:18844 (18.4 KiB)
          Interrupt:18



-- 
Sergei




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п.
  2009-03-22 14:16   ` Sergei O. Naumov
@ 2009-03-23  7:46     ` Alexey Gladkov
  0 siblings, 0 replies; 5+ messages in thread
From: Alexey Gladkov @ 2009-03-23  7:46 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On 22.03.2009 17:16, Sergei O. Naumov wrote:
> Странно... Приложил патч, все равно не работает. Интерфейс подинимается, все 
> остаьное - нет:


всё остальное - это что ?
Можете прислать вашу конфигурацию (в личку) ?

-- 
Rgrds, legion



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-23  7:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-22  9:43 [sisyphus] etcnet 0.9.8: перестали обрабатываться ipv4address и т.п Sergei O. Naumov
2009-03-22  9:50 ` Alexei V. Mezin
2009-03-22 11:29 ` Alexey Gladkov
2009-03-22 14:16   ` Sergei O. Naumov
2009-03-23  7:46     ` Alexey Gladkov

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