* [sisyphus] какая прелесть: Generating initrd после remove! @ 2010-12-06 5:45 Ildar Mulyukov 2010-12-06 7:53 ` Anton Farygin 2010-12-06 9:07 ` Vitaly Kuznetsov 0 siblings, 2 replies; 26+ messages in thread From: Ildar Mulyukov @ 2010-12-06 5:45 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Коллеги, полюбуйтесь! # apt-get remove kernel-image-un-def Reading Package Lists... Done Building Dependency Tree... Done Selecting kernel-image-un-def#1:2.6.35-alt9 for 'kernel-image-un-def' The following packages will be REMOVED: kernel-image-un-def#1:2.6.35-alt9 kernel-modules-alsa-un-def#1:2.6.35-alt9 kernel-modules-drm-un-def#1:2.6.35-alt9 kernel-modules-kvm-un-def#1:2.6.35-alt9 0 upgraded, 0 newly installed, 4 removed and 69 not upgraded. Need to get 0B of archives. After unpacking 79.6MB disk space will be freed. Do you want to continue? [Y/n] Committing changes... Preparing... ########################################### [100%] Running /usr/lib/rpm/posttrans-filetriggers Config file: /etc/initrd.mk Generating module dependencies on host ... Guessed modules: ahci crc-t10dif ext3 libahci libata scsi_mod sd_mod Guessed features: add-modules cleanup compress Creating initrd image ... Adding modules ... Generating module dependencies in image ... Packed modules: ahci crc-t10dif ext3 jbd libahci libata mbcache scsi_mod sd_mod Packing image to archive ... Compressing image ... Installing image ... Removing work directory ... Image is saved as /boot/initrd-2.6.35-std-def-alt8.img Done. -- Ildar ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 5:45 [sisyphus] какая прелесть: Generating initrd после remove! Ildar Mulyukov @ 2010-12-06 7:53 ` Anton Farygin 2010-12-06 9:07 ` Vitaly Kuznetsov 1 sibling, 0 replies; 26+ messages in thread From: Anton Farygin @ 2010-12-06 7:53 UTC (permalink / raw) To: sisyphus Тоже заметил, повесьте в bugzilla пожалуйста. 06.12.2010 08:45, Ildar Mulyukov пишет: > Коллеги, полюбуйтесь! > > # apt-get remove kernel-image-un-def > Reading Package Lists... Done > Building Dependency Tree... Done > Selecting kernel-image-un-def#1:2.6.35-alt9 for 'kernel-image-un-def' > The following packages will be REMOVED: > kernel-image-un-def#1:2.6.35-alt9 kernel-modules-alsa-un-def#1:2.6.35-alt9 > kernel-modules-drm-un-def#1:2.6.35-alt9 > kernel-modules-kvm-un-def#1:2.6.35-alt9 > 0 upgraded, 0 newly installed, 4 removed and 69 not upgraded. > Need to get 0B of archives. > After unpacking 79.6MB disk space will be freed. > Do you want to continue? [Y/n] > Committing changes... > Preparing... ########################################### [100%] > Running /usr/lib/rpm/posttrans-filetriggers > Config file: /etc/initrd.mk > Generating module dependencies on host ... > Guessed modules: ahci crc-t10dif ext3 libahci libata scsi_mod sd_mod > Guessed features: add-modules cleanup compress > Creating initrd image ... > Adding modules ... > Generating module dependencies in image ... > Packed modules: ahci crc-t10dif ext3 jbd libahci libata mbcache scsi_mod > sd_mod > Packing image to archive ... > Compressing image ... > Installing image ... > Removing work directory ... > > Image is saved as /boot/initrd-2.6.35-std-def-alt8.img > > Done. > ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 5:45 [sisyphus] какая прелесть: Generating initrd после remove! Ildar Mulyukov 2010-12-06 7:53 ` Anton Farygin @ 2010-12-06 9:07 ` Vitaly Kuznetsov 2010-12-06 9:25 ` Sergey 2010-12-06 9:29 ` Anton Farygin 1 sibling, 2 replies; 26+ messages in thread From: Vitaly Kuznetsov @ 2010-12-06 9:07 UTC (permalink / raw) To: ALT Linux Sisyphus discussions Ildar Mulyukov <ildar@altlinux.ru> writes: > # apt-get remove kernel-image-un-def > ... > ... > Image is saved as /boot/initrd-2.6.35-std-def-alt8.img У вас в качестве дефолтного установилось ядро 2.6.35-std-def-alt8 и для него сгенерировался initrd. Что вам не понравилось-то? Старый initrd, конечно, существовал, но мало ли что в системе у вас поменялось с того времени, когда вы это ядро использовали. -- Vitaly Kuznetsov, ALT Linux ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:07 ` Vitaly Kuznetsov @ 2010-12-06 9:25 ` Sergey 2010-12-06 9:28 ` Dmitry V. Levin 2010-12-06 9:29 ` Anton Farygin 1 sibling, 1 reply; 26+ messages in thread From: Sergey @ 2010-12-06 9:25 UTC (permalink / raw) To: ALT Linux Sisyphus discussions On Monday 06 December 2010, Vitaly Kuznetsov wrote: > > Image is saved as /boot/initrd-2.6.35-std-def-alt8.img > > У вас в качестве дефолтного установилось Вроде как он просто удалил kernel-image-un-def. -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:25 ` Sergey @ 2010-12-06 9:28 ` Dmitry V. Levin 2010-12-06 9:51 ` Sergey 0 siblings, 1 reply; 26+ messages in thread From: Dmitry V. Levin @ 2010-12-06 9:28 UTC (permalink / raw) To: ALT Linux Sisyphus discussions [-- Attachment #1: Type: text/plain, Size: 409 bytes --] On Mon, Dec 06, 2010 at 12:25:50PM +0300, Sergey wrote: > On Monday 06 December 2010, Vitaly Kuznetsov wrote: > > > > Image is saved as /boot/initrd-2.6.35-std-def-alt8.img > > > > У вас в качестве дефолтного установилось > > Вроде как он просто удалил kernel-image-un-def. В результате удаления kernel-image-un-def изменилось дефолтное ядро, и для него initrd был создан заново. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:28 ` Dmitry V. Levin @ 2010-12-06 9:51 ` Sergey 2010-12-06 10:09 ` Владимир 0 siblings, 1 reply; 26+ messages in thread From: Sergey @ 2010-12-06 9:51 UTC (permalink / raw) To: ALT Linux Sisyphus discussions On Monday 06 December 2010, Dmitry V. Levin wrote: > > Вроде как он просто удалил kernel-image-un-def. > > В результате удаления kernel-image-un-def изменилось дефолтное > ядро, и для него initrd был создан заново. А правильно ли ядро по-умолчанию менять молча, без вывода, хотябы, предупреждения ? Мне кажется, что тут может иметь место ситуация, когда человек не подумал. Может быть, при попытке удаления ядра, которое грузится по-умолчанию, что-то типа --force требовать ? -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:51 ` Sergey @ 2010-12-06 10:09 ` Владимир 2010-12-06 10:16 ` Sergey 0 siblings, 1 reply; 26+ messages in thread From: Владимир @ 2010-12-06 10:09 UTC (permalink / raw) To: ALT Linux Sisyphus discussions В Пн., 06/12/2010 в 12:51 +0300, Sergey пишет: > On Monday 06 December 2010, Dmitry V. Levin wrote: > > > > Вроде как он просто удалил kernel-image-un-def. > > > > В результате удаления kernel-image-un-def изменилось дефолтное > > ядро, и для него initrd был создан заново. > > А правильно ли ядро по-умолчанию менять молча, без вывода, хотябы, > предупреждения ? Мне кажется, что тут может иметь место ситуация, > когда человек не подумал. Может быть, при попытке удаления ядра, > которое грузится по-умолчанию, что-то типа --force требовать ? ага, а теперь представляем себе лавину гневных писем по поводу: я обновил себе ядро, а оно не подцепилось. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 10:09 ` Владимир @ 2010-12-06 10:16 ` Sergey 0 siblings, 0 replies; 26+ messages in thread From: Sergey @ 2010-12-06 10:16 UTC (permalink / raw) To: ALT Linux Sisyphus discussions On Monday 06 December 2010, Владимир wrote: > > > В результате удаления kernel-image-un-def изменилось дефолтное > > > ядро, и для него initrd был создан заново. > > > > А правильно ли ядро по-умолчанию менять молча, без вывода, хотябы, > > предупреждения ? Мне кажется, что тут может иметь место ситуация, > > когда человек не подумал. Может быть, при попытке удаления ядра, > > которое грузится по-умолчанию, что-то типа --force требовать ? > ага, а теперь представляем себе лавину гневных писем по поводу: я > обновил себе ядро, а оно не подцепилось. Речь не про установку нового ядра, а удаление существующего. -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:07 ` Vitaly Kuznetsov 2010-12-06 9:25 ` Sergey @ 2010-12-06 9:29 ` Anton Farygin 2010-12-06 9:32 ` Paul Wolneykien 2010-12-06 9:34 ` Dmitry V. Levin 1 sibling, 2 replies; 26+ messages in thread From: Anton Farygin @ 2010-12-06 9:29 UTC (permalink / raw) To: sisyphus 06.12.2010 12:07, Vitaly Kuznetsov пишет: > Ildar Mulyukov<ildar@altlinux.ru> writes: > >> # apt-get remove kernel-image-un-def >> ... >> ... >> Image is saved as /boot/initrd-2.6.35-std-def-alt8.img > > У вас в качестве дефолтного установилось ядро 2.6.35-std-def-alt8 и для > него сгенерировался initrd. Что вам не понравилось-то? Старый initrd, > конечно, существовал, но мало ли что в системе у вас поменялось с того > времени, когда вы это ядро использовали. Виталик, а ты не подумал, что initrd иногда генерят вручную ? Вот, пример - у меня сейчас одна машине, на которой initrd, сделанный с помощью make-initrd не загружается, соответственно я вручную сгенерил правильный initrd, который при удалении какого-то старого ядра был удачно переписан. Убери, пожалуйста, эту "фичу". ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:29 ` Anton Farygin @ 2010-12-06 9:32 ` Paul Wolneykien 2010-12-06 9:34 ` Dmitry V. Levin 1 sibling, 0 replies; 26+ messages in thread From: Paul Wolneykien @ 2010-12-06 9:32 UTC (permalink / raw) To: ALT Linux Sisyphus discussions 06.12.2010 12:29, Anton Farygin пишет: > 06.12.2010 12:07, Vitaly Kuznetsov пишет: >> Ildar Mulyukov<ildar@altlinux.ru> writes: >> >>> # apt-get remove kernel-image-un-def >>> ... >>> ... >>> Image is saved as /boot/initrd-2.6.35-std-def-alt8.img >> >> У вас в качестве дефолтного установилось ядро 2.6.35-std-def-alt8 и для >> него сгенерировался initrd. Что вам не понравилось-то? Старый initrd, >> конечно, существовал, но мало ли что в системе у вас поменялось с того >> времени, когда вы это ядро использовали. > > Виталик, а ты не подумал, что initrd иногда генерят вручную ? > > Вот, пример - у меня сейчас одна машине, на которой initrd, сделанный с > помощью make-initrd не загружается, соответственно я вручную сгенерил > правильный initrd, который при удалении какого-то старого ядра был > удачно переписан. > > Убери, пожалуйста, эту "фичу". А может быть по аналогии с .rpmsave, .rpmnew или как их там? ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:29 ` Anton Farygin 2010-12-06 9:32 ` Paul Wolneykien @ 2010-12-06 9:34 ` Dmitry V. Levin 2010-12-06 9:48 ` Sergey 2010-12-06 10:33 ` Anton Farygin 1 sibling, 2 replies; 26+ messages in thread From: Dmitry V. Levin @ 2010-12-06 9:34 UTC (permalink / raw) To: ALT Linux Sisyphus mailing list [-- Attachment #1: Type: text/plain, Size: 1288 bytes --] On Mon, Dec 06, 2010 at 12:29:34PM +0300, Anton Farygin wrote: > 06.12.2010 12:07, Vitaly Kuznetsov пишет: > >Ildar Mulyukov<ildar@altlinux.ru> writes: > > > >># apt-get remove kernel-image-un-def > >>... > >>... > >>Image is saved as /boot/initrd-2.6.35-std-def-alt8.img > > > >У вас в качестве дефолтного > >установилось ядро 2.6.35-std-def-alt8 и для > >него сгенерировался initrd. Что вам не > >понравилось-то? Старый initrd, > >конечно, существовал, но мало ли что в > >системе у вас поменялось с того > >времени, когда вы это ядро использовали. > > Виталик, а ты не подумал, что initrd иногда > генерят вручную ? Те, кто генерит initrd вручную, пусть сделают echo INITRD_GENERATOR=none >> /etc/sysconfig/installkernel > Вот, пример - у меня сейчас одна машине, на > которой initrd, сделанный с помощью make-initrd > не загружается, соответственно я вручную > сгенерил правильный initrd, который при > удалении какого-то старого ядра был > удачно переписан. > > Убери, пожалуйста, эту "фичу". Наоборот, надо сделать автоматическую генерацию initrd для всех установленных ядер при обновлении любого пакета, влияющего на состав initrd. Кому фича не нужна, тот может её отключить. А по умолчанию пусть будет включена. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:34 ` Dmitry V. Levin @ 2010-12-06 9:48 ` Sergey 2010-12-06 10:33 ` Anton Farygin 1 sibling, 0 replies; 26+ messages in thread From: Sergey @ 2010-12-06 9:48 UTC (permalink / raw) To: ALT Linux Sisyphus mailing list On Monday 06 December 2010, Dmitry V. Levin wrote: > > Убери, пожалуйста, эту "фичу". > > Наоборот, надо сделать автоматическую генерацию initrd для > всех установленных ядер при обновлении любого пакета, Вот это, как раз, совсем не хотелось бы. Если меняется ядро по-умолчанию, это ещё можно как-то объяснить, а вот у всех... А если там резервное ядро есть ? Или заготовка под замену дискового контроллера ? Или генерация initrd сломалась (мало ли, что бывает)... -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 9:34 ` Dmitry V. Levin 2010-12-06 9:48 ` Sergey @ 2010-12-06 10:33 ` Anton Farygin 2010-12-06 10:43 ` Шенцев Алексей Владимирович 1 sibling, 1 reply; 26+ messages in thread From: Anton Farygin @ 2010-12-06 10:33 UTC (permalink / raw) To: sisyphus 06.12.2010 12:34, Dmitry V. Levin пишет: > On Mon, Dec 06, 2010 at 12:29:34PM +0300, Anton Farygin wrote: >> 06.12.2010 12:07, Vitaly Kuznetsov пишет: >>> Ildar Mulyukov<ildar@altlinux.ru> writes: >>> >>>> # apt-get remove kernel-image-un-def >>>> ... >>>> ... >>>> Image is saved as /boot/initrd-2.6.35-std-def-alt8.img >>> >>> У вас в качестве дефолтного >>> установилось ядро 2.6.35-std-def-alt8 и для >>> него сгенерировался initrd. Что вам не >>> понравилось-то? Старый initrd, >>> конечно, существовал, но мало ли что в >>> системе у вас поменялось с того >>> времени, когда вы это ядро использовали. >> >> Виталик, а ты не подумал, что initrd иногда >> генерят вручную ? > > Те, кто генерит initrd вручную, пусть сделают > echo INITRD_GENERATOR=none>> /etc/sysconfig/installkernel лучше сделать три поведения: - не генерить initrd вообще - генерить всегда - генерить только при установке. > >> Вот, пример - у меня сейчас одна машине, на >> которой initrd, сделанный с помощью make-initrd >> не загружается, соответственно я вручную >> сгенерил правильный initrd, который при >> удалении какого-то старого ядра был >> удачно переписан. >> >> Убери, пожалуйста, эту "фичу". > > Наоборот, надо сделать автоматическую генерацию initrd для всех > установленных ядер при обновлении любого пакета, влияющего на состав > initrd. Ага, и первый же сломанный udev снесёт возможность загрузить систему ? В субботу обновлял древний сервер с 4.0, так там образ с make-initrd не загружается, грузится только mkinitrd. Если бы вдруг кто-то мне убил старый initrd, то пришлось бы бежать в серверную. А некоторые серверные от нас в сотне-другой километров. > > Кому фича не нужна, тот может её отключить. > А по умолчанию пусть будет включена. К сожалению, в данный момент отключить её невозможно. Меня полностью устраивало старое поведение installkernel, когда initrd генериться только для новых ядер, оставляя возможность загрузить предыдущее ядро в случае ошибки в обновляемом образе. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 10:33 ` Anton Farygin @ 2010-12-06 10:43 ` Шенцев Алексей Владимирович 2010-12-06 11:00 ` REAL 2010-12-06 11:10 ` Vitaly Kuznetsov 0 siblings, 2 replies; 26+ messages in thread From: Шенцев Алексей Владимирович @ 2010-12-06 10:43 UTC (permalink / raw) To: ALT Linux Sisyphus discussions On Monday 06 December 2010 13:33:37 Anton Farygin wrote: > Меня полностью > устраивало старое поведение installkernel, когда initrd генериться > только для новых ядер, оставляя возможность загрузить предыдущее ядро в > случае ошибки в обновляемом образе. +1 , помятуя свои приключения при потыке перейти с 2.6.30 на 2.6.32. Не будь под рукой рабочих образов старых ядер, ох как весело бы было мне ... -- С уважением, системный администратор ООО "Новая Россия - КТВ" Шенцев Алексей Владимирович. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 10:43 ` Шенцев Алексей Владимирович @ 2010-12-06 11:00 ` REAL 2010-12-06 11:10 ` Vitaly Kuznetsov 1 sibling, 0 replies; 26+ messages in thread From: REAL @ 2010-12-06 11:00 UTC (permalink / raw) To: ALT Linux Sisyphus discussions 06.12.2010 16:43, Шенцев Алексей Владимирович пишет: >> Меня полностью >> устраивало старое поведение installkernel, когда initrd генериться >> только для новых ядер, оставляя возможность загрузить предыдущее ядро в >> случае ошибки в обновляемом образе. > > +1 , > помятуя свои приключения при потыке перейти с 2.6.30 на 2.6.32. > Не будь под рукой рабочих образов старых ядер, ох как весело бы было мне ... Не только вам, совсем не только... -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 10:43 ` Шенцев Алексей Владимирович 2010-12-06 11:00 ` REAL @ 2010-12-06 11:10 ` Vitaly Kuznetsov 2010-12-06 11:27 ` Anton Farygin 2010-12-06 11:36 ` REAL 1 sibling, 2 replies; 26+ messages in thread From: Vitaly Kuznetsov @ 2010-12-06 11:10 UTC (permalink / raw) To: ALT Linux Sisyphus discussions Шенцев Алексей Владимирович <ashen@novoross.multinex.ru> writes: > On Monday 06 December 2010 13:33:37 Anton Farygin wrote: >> Меня полностью >> устраивало старое поведение installkernel, когда initrd генериться >> только для новых ядер, оставляя возможность загрузить предыдущее > ядро в >> случае ошибки в обновляемом образе. > > +1 , > помятуя свои приключения при потыке перейти с 2.6.30 на 2.6.32. > Не будь под рукой рабочих образов старых ядер, ох как весело бы было > мне ... Старые ядра никуда не деваются -- Vitaly Kuznetsov, ALT Linux ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 11:10 ` Vitaly Kuznetsov @ 2010-12-06 11:27 ` Anton Farygin 2010-12-06 11:50 ` Vitaly Kuznetsov 2010-12-06 11:36 ` REAL 1 sibling, 1 reply; 26+ messages in thread From: Anton Farygin @ 2010-12-06 11:27 UTC (permalink / raw) To: sisyphus 06.12.2010 14:10, Vitaly Kuznetsov пишет: > Шенцев Алексей Владимирович<ashen@novoross.multinex.ru> writes: > >> On Monday 06 December 2010 13:33:37 Anton Farygin wrote: >>> Меня полностью >>> устраивало старое поведение installkernel, когда initrd генериться >>> только для новых ядер, оставляя возможность загрузить предыдущее >> ядро в >>> случае ошибки в обновляемом образе. >> >> +1 , >> помятуя свои приключения при потыке перейти с 2.6.30 на 2.6.32. >> Не будь под рукой рабочих образов старых ядер, ох как весело бы было >> мне ... > > Старые ядра никуда не деваются Мёртвый initrd тоже может убить загрузку старого ядра. Пример, когда make-initrd не работает я наблюдал в субботу. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 11:27 ` Anton Farygin @ 2010-12-06 11:50 ` Vitaly Kuznetsov 2010-12-06 12:01 ` Sergey 0 siblings, 1 reply; 26+ messages in thread From: Vitaly Kuznetsov @ 2010-12-06 11:50 UTC (permalink / raw) To: ALT Linux Sisyphus discussions Anton Farygin <rider@altlinux.com> writes: > 06.12.2010 14:10, Vitaly Kuznetsov пишет: >> Шенцев Алексей Владимирович<ashen@novoross.multinex.ru> writes: >> >>> On Monday 06 December 2010 13:33:37 Anton Farygin wrote: >>>> Меня полностью >>>> устраивало старое поведение installkernel, когда initrd генериться >>>> только для новых ядер, оставляя возможность загрузить предыдущее ядро в >>>> случае ошибки в обновляемом образе. >>> >>> +1 , >>> помятуя свои приключения при потыке перейти с 2.6.30 на 2.6.32. >>> Не будь под рукой рабочих образов старых ядер, ох как весело бы > было >>> мне ... >> >> Старые ядра никуда не деваются > > Мёртвый initrd тоже может убить загрузку старого ядра. > > Пример, когда make-initrd не работает я наблюдал в субботу. Думаю, что стоит сойтись на ручке INITRD_AUTOUPDATE={all,default,none} в /etc/sysconfig/installkernel -- Vitaly Kuznetsov, ALT Linux ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 11:50 ` Vitaly Kuznetsov @ 2010-12-06 12:01 ` Sergey 2010-12-06 12:08 ` Vitaly Kuznetsov 0 siblings, 1 reply; 26+ messages in thread From: Sergey @ 2010-12-06 12:01 UTC (permalink / raw) To: ALT Linux Sisyphus discussions On Monday 06 December 2010, Vitaly Kuznetsov wrote: > Думаю, что стоит сойтись на ручке > > INITRD_AUTOUPDATE={all,default,none} в /etc/sysconfig/installkernel И никогда не ставить all по-умолчанию. :-) -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 12:01 ` Sergey @ 2010-12-06 12:08 ` Vitaly Kuznetsov 2010-12-06 12:20 ` Anton Farygin 0 siblings, 1 reply; 26+ messages in thread From: Vitaly Kuznetsov @ 2010-12-06 12:08 UTC (permalink / raw) To: ALT Linux Sisyphus discussions Sergey <a_s_y@sama.ru> writes: > On Monday 06 December 2010, Vitaly Kuznetsov wrote: > >> Думаю, что стоит сойтись на ручке >> >> INITRD_AUTOUPDATE={all,default,none} в /etc/sysconfig/installkernel > > И никогда не ставить all по-умолчанию. :-) Наоборот :) -- Vitaly Kuznetsov, ALT Linux ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 12:08 ` Vitaly Kuznetsov @ 2010-12-06 12:20 ` Anton Farygin 2010-12-06 12:42 ` Vitaly Kuznetsov 0 siblings, 1 reply; 26+ messages in thread From: Anton Farygin @ 2010-12-06 12:20 UTC (permalink / raw) To: sisyphus 06.12.2010 15:08, Vitaly Kuznetsov пишет: > Sergey<a_s_y@sama.ru> writes: > >> On Monday 06 December 2010, Vitaly Kuznetsov wrote: >> >>> Думаю, что стоит сойтись на ручке >>> >>> INITRD_AUTOUPDATE={all,default,none} в /etc/sysconfig/installkernel >> >> И никогда не ставить all по-умолчанию. :-) > > Наоборот :) Скажи мне, кто это будет делать, что бы однозначно на всех серверах заблокировать возможность установки all. По умолчанию, если переменная не инициализирована, нужно что бы было поведение "default". ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 12:20 ` Anton Farygin @ 2010-12-06 12:42 ` Vitaly Kuznetsov 2010-12-06 12:56 ` Anton Farygin 0 siblings, 1 reply; 26+ messages in thread From: Vitaly Kuznetsov @ 2010-12-06 12:42 UTC (permalink / raw) To: ALT Linux Sisyphus discussions Anton Farygin <rider@altlinux.com> writes: > 06.12.2010 15:08, Vitaly Kuznetsov пишет: >> Sergey<a_s_y@sama.ru> writes: >> >>> On Monday 06 December 2010, Vitaly Kuznetsov wrote: >>> >>>> Думаю, что стоит сойтись на ручке >>>> >>>> INITRD_AUTOUPDATE={all,default,none} в > /etc/sysconfig/installkernel >>> >>> И никогда не ставить all по-умолчанию. :-) >> >> Наоборот :) > > Скажи мне, кто это будет делать, что бы однозначно на всех серверах > заблокировать возможность установки all. > > По умолчанию, если переменная не инициализирована, нужно что бы было > поведение "default". Сейчас у нас как раз поведение "default" - initrd генерится к ядру, которое становится дефолтным тем или иным способом. -- Vitaly Kuznetsov, ALT Linux ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 12:42 ` Vitaly Kuznetsov @ 2010-12-06 12:56 ` Anton Farygin 2010-12-06 13:03 ` Valery V. Inozemtsev 2010-12-06 13:22 ` Денис Смирнов 0 siblings, 2 replies; 26+ messages in thread From: Anton Farygin @ 2010-12-06 12:56 UTC (permalink / raw) To: sisyphus 06.12.2010 15:42, Vitaly Kuznetsov пишет: > Anton Farygin<rider@altlinux.com> writes: > >> 06.12.2010 15:08, Vitaly Kuznetsov пишет: >>> Sergey<a_s_y@sama.ru> writes: >>> >>>> On Monday 06 December 2010, Vitaly Kuznetsov wrote: >>>> >>>>> Думаю, что стоит сойтись на ручке >>>>> >>>>> INITRD_AUTOUPDATE={all,default,none} в >> /etc/sysconfig/installkernel >>>> >>>> И никогда не ставить all по-умолчанию. :-) >>> >>> Наоборот :) >> >> Скажи мне, кто это будет делать, что бы однозначно на всех серверах >> заблокировать возможность установки all. >> >> По умолчанию, если переменная не инициализирована, нужно что бы было >> поведение "default". > > Сейчас у нас как раз поведение "default" - initrd генерится к ядру, > которое становится дефолтным тем или иным способом. нужно что бы initrd генерился только к новому ядру и больше никогда. Вот это, в моём понимании, default. Всё остальное так или иначе ломает установленную систему. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 12:56 ` Anton Farygin @ 2010-12-06 13:03 ` Valery V. Inozemtsev 2010-12-06 13:22 ` Денис Смирнов 1 sibling, 0 replies; 26+ messages in thread From: Valery V. Inozemtsev @ 2010-12-06 13:03 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 332 bytes --] > нужно что бы initrd генерился только к новому ядру и больше никогда. +1 > Вот это, в моём понимании, default. > > Всё остальное так или иначе ломает установленную систему. -- Valery V. Inozemtsev [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 12:56 ` Anton Farygin 2010-12-06 13:03 ` Valery V. Inozemtsev @ 2010-12-06 13:22 ` Денис Смирнов 1 sibling, 0 replies; 26+ messages in thread From: Денис Смирнов @ 2010-12-06 13:22 UTC (permalink / raw) To: ALT Linux Sisyphus discussions [-- Attachment #1: Type: text/plain, Size: 510 bytes --] On Mon, Dec 06, 2010 at 03:56:46PM +0300, Anton Farygin wrote: AF> нужно что бы initrd генерился только к новому ядру и больше никогда. AF> Вот это, в моём понимании, default. AF> Всё остальное так или иначе ломает установленную систему. Согласен. Что-либо делать с ядрами которые лежат рядышком в системе (как резервные на случай если что-то взорвется) -- вредительство. -- С уважением, Денис http://mithraen.ru/ ---------------------------------------------------------------------------- [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [sisyphus] какая прелесть: Generating initrd после remove! 2010-12-06 11:10 ` Vitaly Kuznetsov 2010-12-06 11:27 ` Anton Farygin @ 2010-12-06 11:36 ` REAL 1 sibling, 0 replies; 26+ messages in thread From: REAL @ 2010-12-06 11:36 UTC (permalink / raw) To: ALT Linux Sisyphus discussions 06.12.2010 17:10, Vitaly Kuznetsov пишет: >> помятуя свои приключения при потыке перейти с 2.6.30 на 2.6.32. >> Не будь под рукой рабочих образов старых ядер, ох как весело бы было >> мне ... > > Старые ядра никуда не деваются ldv@ предложил автоматическую перегенерацию initrd для _всех_ установленных ядер. Так что будет без разницы, убьёт ли такая перегенерация рабочий initd и создаст нерабочий или просто убьёт сами старые ядра. Результат будет одинаков. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2010-12-06 13:22 UTC | newest] Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-12-06 5:45 [sisyphus] какая прелесть: Generating initrd после remove! Ildar Mulyukov 2010-12-06 7:53 ` Anton Farygin 2010-12-06 9:07 ` Vitaly Kuznetsov 2010-12-06 9:25 ` Sergey 2010-12-06 9:28 ` Dmitry V. Levin 2010-12-06 9:51 ` Sergey 2010-12-06 10:09 ` Владимир 2010-12-06 10:16 ` Sergey 2010-12-06 9:29 ` Anton Farygin 2010-12-06 9:32 ` Paul Wolneykien 2010-12-06 9:34 ` Dmitry V. Levin 2010-12-06 9:48 ` Sergey 2010-12-06 10:33 ` Anton Farygin 2010-12-06 10:43 ` Шенцев Алексей Владимирович 2010-12-06 11:00 ` REAL 2010-12-06 11:10 ` Vitaly Kuznetsov 2010-12-06 11:27 ` Anton Farygin 2010-12-06 11:50 ` Vitaly Kuznetsov 2010-12-06 12:01 ` Sergey 2010-12-06 12:08 ` Vitaly Kuznetsov 2010-12-06 12:20 ` Anton Farygin 2010-12-06 12:42 ` Vitaly Kuznetsov 2010-12-06 12:56 ` Anton Farygin 2010-12-06 13:03 ` Valery V. Inozemtsev 2010-12-06 13:22 ` Денис Смирнов 2010-12-06 11:36 ` REAL
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