* [sisyphus] Наследование профилей /etc/net @ 2007-08-28 15:21 Alexey Rusakov 2007-08-28 15:53 ` Pavlov Konstantin 0 siblings, 1 reply; 8+ messages in thread From: Alexey Rusakov @ 2007-08-28 15:21 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Доброго времени суток. Есть следующая ситуация: у меня есть два профиля /etc/net (для дома и для работы), но часть файлов (например, /etc/net/iftab) для этих двух профилей общая. Я не хочу дублировать эти файлы, идея ставить симлинки мне тоже не слишком нравится. Вопрос: есть ли в /etc/net какой-то механизм "базового", или fallback-профиля, в котором можно было бы описать общую часть конфигурации для обоих профилей? Или всё-таки симлинки? -- Alexey "Ktirf" Rusakov GNOME Project ALT Linux Team ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Наследование профилей /etc/net 2007-08-28 15:21 [sisyphus] Наследование профилей /etc/net Alexey Rusakov @ 2007-08-28 15:53 ` Pavlov Konstantin 2007-08-28 16:10 ` Alexey Rusakov 0 siblings, 1 reply; 8+ messages in thread From: Pavlov Konstantin @ 2007-08-28 15:53 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 851 bytes --] On Tue, Aug 28, 2007 at 07:21:09PM +0400, Alexey Rusakov wrote: > Доброго времени суток. > > Есть следующая ситуация: у меня есть два профиля /etc/net (для дома и для > работы), но часть файлов (например, /etc/net/iftab) для этих двух профилей > общая. Я не хочу дублировать эти файлы, идея ставить симлинки мне тоже не > слишком нравится. Вопрос: есть ли в /etc/net какой-то механизм "базового", > или fallback-профиля, в котором можно было бы описать общую часть > конфигурации для обоих профилей? Или всё-таки симлинки? собсно тот, который без #profname и есть "базовый", #profname -- изменения относительно его -- <gns> henker: не знаю :) я знаю что если б оттуда выкинуть иксы, как раз бы влезло <gns> henker: но инсталлер у нас иксовый :( <Lost[work]> gns: не иксовый а x-овый <Lost[work]> gns: почувствуйте разницу [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Наследование профилей /etc/net 2007-08-28 15:53 ` Pavlov Konstantin @ 2007-08-28 16:10 ` Alexey Rusakov 2007-08-28 16:16 ` Pavlov Konstantin 0 siblings, 1 reply; 8+ messages in thread From: Alexey Rusakov @ 2007-08-28 16:10 UTC (permalink / raw) To: sisyphus On Tue, 28 Aug 2007 19:53:10 +0400 Pavlov Konstantin wrote: > On Tue, Aug 28, 2007 at 07:21:09PM +0400, Alexey Rusakov wrote: > > Доброго времени суток. > > > > Есть следующая ситуация: у меня есть два профиля /etc/net (для дома и для > > работы), но часть файлов (например, /etc/net/iftab) для этих двух профилей > > общая. Я не хочу дублировать эти файлы, идея ставить симлинки мне тоже не > > слишком нравится. Вопрос: есть ли в /etc/net какой-то механизм "базового", > > или fallback-профиля, в котором можно было бы описать общую часть > > конфигурации для обоих профилей? Или всё-таки симлинки? > > собсно тот, который без #profname и есть "базовый", #profname -- изменения > относительно его По крайней мере для файла /etc/net/iftab у меня это почему-то перестало работать с некоторых пор. По крайней мере, у меня такое впечатление. Пойду посмотрю по исходникам поподробнее... -- Alexey "Ktirf" Rusakov GNOME Project ALT Linux Team ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Наследование профилей /etc/net 2007-08-28 16:10 ` Alexey Rusakov @ 2007-08-28 16:16 ` Pavlov Konstantin 2007-08-28 16:20 ` [sisyphus] [FIN] " Alexey Rusakov 0 siblings, 1 reply; 8+ messages in thread From: Pavlov Konstantin @ 2007-08-28 16:16 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 1243 bytes --] On Tue, Aug 28, 2007 at 08:10:05PM +0400, Alexey Rusakov wrote: > On Tue, 28 Aug 2007 19:53:10 +0400 > Pavlov Konstantin wrote: > > > On Tue, Aug 28, 2007 at 07:21:09PM +0400, Alexey Rusakov wrote: > > > Доброго времени суток. > > > > > > Есть следующая ситуация: у меня есть два профиля /etc/net (для дома и для > > > работы), но часть файлов (например, /etc/net/iftab) для этих двух профилей > > > общая. Я не хочу дублировать эти файлы, идея ставить симлинки мне тоже не > > > слишком нравится. Вопрос: есть ли в /etc/net какой-то механизм "базового", > > > или fallback-профиля, в котором можно было бы описать общую часть > > > конфигурации для обоих профилей? Или всё-таки симлинки? > > > > собсно тот, который без #profname и есть "базовый", #profname -- изменения > > относительно его > По крайней мере для файла /etc/net/iftab у меня это почему-то перестало > работать с некоторых пор. По крайней мере, у меня такое впечатление. Пойду > посмотрю по исходникам поподробнее... Сейчас вроде бы модно /etc/iftab иметь и ifrename запускать сервисом. -- > а как он [etcnet] мог от простого осизифливаничя автоматически поставиться? apt-get, конечно, крут, но не настолько безжалостен. -- ldv in community@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] [FIN] Наследование профилей /etc/net 2007-08-28 16:16 ` Pavlov Konstantin @ 2007-08-28 16:20 ` Alexey Rusakov 2007-08-28 21:05 ` Andrew Kornilov 0 siblings, 1 reply; 8+ messages in thread From: Alexey Rusakov @ 2007-08-28 16:20 UTC (permalink / raw) To: sisyphus On Tue, 28 Aug 2007 20:16:28 +0400 Pavlov Konstantin wrote: > On Tue, Aug 28, 2007 at 08:10:05PM +0400, Alexey Rusakov wrote: > > On Tue, 28 Aug 2007 19:53:10 +0400 > > Pavlov Konstantin wrote: > > > > > On Tue, Aug 28, 2007 at 07:21:09PM +0400, Alexey Rusakov wrote: > > > > Доброго времени суток. > > > > > > > > Есть следующая ситуация: у меня есть два профиля /etc/net (для дома и для > > > > работы), но часть файлов (например, /etc/net/iftab) для этих двух профилей > > > > общая. Я не хочу дублировать эти файлы, идея ставить симлинки мне тоже не > > > > слишком нравится. Вопрос: есть ли в /etc/net какой-то механизм "базового", > > > > или fallback-профиля, в котором можно было бы описать общую часть > > > > конфигурации для обоих профилей? Или всё-таки симлинки? > > > > > > собсно тот, который без #profname и есть "базовый", #profname -- изменения > > > относительно его > > По крайней мере для файла /etc/net/iftab у меня это почему-то перестало > > работать с некоторых пор. По крайней мере, у меня такое впечатление. Пойду > > посмотрю по исходникам поподробнее... > > Сейчас вроде бы модно /etc/iftab иметь и ifrename запускать сервисом. Ух ты, пропустил я такое. Да, так гораздо приятнее. Спасибо, вопрос закрыт. -- Alexey "Ktirf" Rusakov GNOME Project ALT Linux Team ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] [FIN] Наследование профилей /etc/net 2007-08-28 16:20 ` [sisyphus] [FIN] " Alexey Rusakov @ 2007-08-28 21:05 ` Andrew Kornilov 2007-08-29 11:18 ` Alexey I. Froloff 0 siblings, 1 reply; 8+ messages in thread From: Andrew Kornilov @ 2007-08-28 21:05 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Alexey Rusakov wrote: >> > > собсно тот, который без #profname и есть "базовый", #profname -- изменения >> > > относительно его >> > По крайней мере для файла /etc/net/iftab у меня это почему-то перестало >> > работать с некоторых пор. По крайней мере, у меня такое впечатление. Пойду >> > посмотрю по исходникам поподробнее... >> >> Сейчас вроде бы модно /etc/iftab иметь и ifrename запускать сервисом. > Ух ты, пропустил я такое. Да, так гораздо приятнее. Спасибо, вопрос закрыт. А почему сейчас так модно? Вроде с udev что-то связано, да? Может таки какие-то части в etcnet дописать для этого, чтобы не распыляться опять по системе? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] [FIN] Наследование профилей /etc/net 2007-08-28 21:05 ` Andrew Kornilov @ 2007-08-29 11:18 ` Alexey I. Froloff 2007-08-30 17:26 ` Andrew Kornilov 0 siblings, 1 reply; 8+ messages in thread From: Alexey I. Froloff @ 2007-08-29 11:18 UTC (permalink / raw) To: ALT Linux Sisyphus [-- Attachment #1: Type: text/plain, Size: 719 bytes --] * Andrew Kornilov <akornilov@> [070829 01:08]: > >> Сейчас вроде бы модно /etc/iftab иметь и ifrename запускать сервисом. > > Ух ты, пропустил я такое. Да, так гораздо приятнее. Спасибо, вопрос закрыт. > А почему сейчас так модно? Вроде с udev что-то связано, да? Может таки > какие-то части в etcnet дописать для этого, чтобы не распыляться опять > по системе? Сейчас так модно, когда хочется иметь интерфейсы с именами eth*, и когда udev сам грузит модули ещё до поднятия сети. Из etcnet нельзя вызывать ifrename с опцией -t. -- Regards, Alexey I. Froloff AIF5-RIPN, AIF5-RIPE ------------------------------------------- Inform-Mobil, Ltd. System Administrator http://www.inform-mobil.ru/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] [FIN] Наследование профилей /etc/net 2007-08-29 11:18 ` Alexey I. Froloff @ 2007-08-30 17:26 ` Andrew Kornilov 0 siblings, 0 replies; 8+ messages in thread From: Andrew Kornilov @ 2007-08-30 17:26 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Alexey I. Froloff wrote: > * Andrew Kornilov <akornilov@> [070829 01:08]: >> >> Сейчас вроде бы модно /etc/iftab иметь и ifrename запускать сервисом. >> > Ух ты, пропустил я такое. Да, так гораздо приятнее. Спасибо, вопрос закрыт. >> А почему сейчас так модно? Вроде с udev что-то связано, да? Может таки >> какие-то части в etcnet дописать для этого, чтобы не распыляться опять >> по системе? > Сейчас так модно, когда хочется иметь интерфейсы с именами eth*, > и когда udev сам грузит модули ещё до поднятия сети. Из etcnet > нельзя вызывать ifrename с опцией -t. Так может сделать такой функционал? Или не поможет? ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-08-30 17:26 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-08-28 15:21 [sisyphus] Наследование профилей /etc/net Alexey Rusakov 2007-08-28 15:53 ` Pavlov Konstantin 2007-08-28 16:10 ` Alexey Rusakov 2007-08-28 16:16 ` Pavlov Konstantin 2007-08-28 16:20 ` [sisyphus] [FIN] " Alexey Rusakov 2007-08-28 21:05 ` Andrew Kornilov 2007-08-29 11:18 ` Alexey I. Froloff 2007-08-30 17:26 ` Andrew Kornilov
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