Bug 23039 - Failed to create initrd due to 64-device-mapper.rules absence
Summary: Failed to create initrd due to 64-device-mapper.rules absence
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: make-initrd (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 14:24 MSK by Vitaly Kuznetsov
Modified: 2010-02-27 16:52 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Kuznetsov 2010-02-27 14:24:38 MSK
# make-initrd 
Config file: /etc/initrd.mk
Generating module dependencies on host ...
Guessed modules: ata_generic ata_piix crc-t10dif ext3 libata pata_acpi scsi_mod sd_mod 
Guessed features: add-modules cleanup compress 
Creating initrd image ...
cp: cannot stat `/etc/udev/initramfs-rules.d/64-device-mapper.rules': No such file or directory
make: *** [create] Error 1
make: *** [all] Error 2
Comment 1 Alexey Gladkov 2010-02-27 15:46:54 MSK
(В ответ на комментарий №0)
> # make-initrd 
> Config file: /etc/initrd.mk
> Generating module dependencies on host ...
> Guessed modules: ata_generic ata_piix crc-t10dif ext3 libata pata_acpi scsi_mod
> sd_mod 
> Guessed features: add-modules cleanup compress 
> Creating initrd image ...
> cp: cannot stat `/etc/udev/initramfs-rules.d/64-device-mapper.rules': No such
> file or directory
> make: *** [create] Error 1
> make: *** [all] Error 2

Запуск make-initrd был случайно не при обновлении системы ?
Comment 2 Vitaly Kuznetsov 2010-02-27 16:29:54 MSK
Нет, этот был ручками. 
make-initrd версии 0.2.2-alt1
Comment 3 Alexey Gladkov 2010-02-27 16:44:00 MSK
(В ответ на комментарий №2)
> Нет, этот был ручками. 
> make-initrd версии 0.2.2-alt1

Покажите результат:

ls -la $(readlink -ev /etc/udev/initramfs-rules.d/64-device-mapper.rules)

У меня этот файл находится в пакете udev-rules-150-alt1.
Comment 4 Alexey Gladkov 2010-02-27 16:46:33 MSK
У вас не сработал код:

find -L /etc/udev/initramfs-rules.d/ -name '*.rules' -exec cp -aLt ./etc/udev/rules.d -- '{}' '+'

я думаю, что у вас происходит что-то нехорошее в системе.
Comment 5 Vitaly Kuznetsov 2010-02-27 16:52:08 MSK
Разобрался,

у меня куда-то пропал файл /lib/udev/rules.d/64-device-mapper.rules
apt-get reinstall udev-rules спас. Теперь initrd создаётся.