ALT Linux Bugzilla
– Attachment 10962 Details for
Bug 42987
Не работает пропись в /etc/luks.keys файла с паролем от LUKS раздела.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Лог работы скрипта /lib/uevent/handlers/085-luks из make-initrd-luks-2.26.0-alt3.noarch, Сизиф
085-luks3.log (text/x-log), 4.51 KB, created by
jqt4
on 2022-06-22 11:28:39 MSK
(
hide
)
Description:
Лог работы скрипта /lib/uevent/handlers/085-luks из make-initrd-luks-2.26.0-alt3.noarch, Сизиф
Filename:
MIME Type:
Creator:
jqt4
Created:
2022-06-22 11:28:39 MSK
Size:
4.51 KB
patch
obsolete
>+ rc=0 >+ for e in "$eventdir"/luks.* >+ '[' -f /.initrd/uevent/events/udev/luks.000001.779981222.XXX0wexF7 ']' >+ r=0 >+ . /.initrd/uevent/events/udev/luks.000001.779981222.XXX0wexF7 >++ CMDLINE='BOOT_IMAGE=/boot/vmlinuz root=UUID=66fb7f5f-b2c9-45f9-a2c1-6625f2628567 ro panic=30 splash luks-key=/etc/keys/luks.key stop=,killall,' >++ ID_SERIAL=QEMU_HARDDISK_QM00003 >++ LC_ALL=C >++ ACTION=add >++ RESUME= >++ USEC_INITIALIZED=1755152 >++ ID_MODEL=QEMU_HARDDISK >++ LANG=C >++ ID_FS_TYPE=crypto_LUKS >++ ID_ATA_FEATURE_SET_SMART_ENABLED=1 >++ ID_PART_ENTRY_SCHEME=dos >++ LUKS_DISCARD=0 >++ DEBUG= >++ ID_PATH_TAG=pci-0000_00_1f_2-ata-2_0 >++ STOP=,,killall,, >++ SUBSYSTEM=block >++ PARTN=1 >++ ROOTFLAGS= >++ SEQNUM=1654 >++ stop=,killall, >++ RDSHELL= >++ LUKS_KEY=1 >++ RESCUE_MODULES= >++ RESUME_OFFSET= >++ ID_FS_USAGE=crypto >++ ID_PATH_ATA_COMPAT=pci-0000:00:1f.2-ata-2 >++ ID_PART_ENTRY_SIZE=20961280 >++ RW= >++ DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda1 >++ RO=1 >++ ROOT=UUID=66fb7f5f-b2c9-45f9-a2c1-6625f2628567 >++ RDLOG= >++ ID_ATA=1 >++ ID_ATA_WRITE_CACHE_ENABLED=1 >++ RD_PRELOAD_MODULES=1 >++ UDEV_VERSION=v249.12-alt2 >++ PWD=/ >++ LUKS_KEY_FORMAT= >++ NO_LUKS= >++ HOME=/ >++ LUKS_KEY0=/etc/keys/luks.key >++ ID_BUS=ata >++ ID_FS_UUID=ad3c41f2-b10b-7747-9b85-75ca94ff948c >++ IFNAME=0 >++ ROUTE=0 >++ ID_REVISION=2.5+ >++ INIT=/sbin/init >++ MINOR=1 >++ ROOTFSTYPE= >++ BOOT_IMAGE=/boot/vmlinuz >++ IPTIMEOUT=30 >++ DEVTYPE=partition >++ ID_ATA_FEATURE_SET_SMART=1 >++ LUKS_IGNORE=0 >++ ID_SERIAL_SHORT=QM00003 >++ RUN_INITRD=1 >++ MAJOR=8 >++ ID_TYPE=disk >++ ID_PART_ENTRY_OFFSET=2048 >++ IP=0 >++ TERM=linux >++ rootmnt=/root >++ QUIET= >++ DEVNAME=/dev/sda1 >++ ID_PATH=pci-0000:00:1f.2-ata-2.0 >++ DEVLINKS='/dev/disk/by-path/pci-0000:00:1f.2-ata-2.0-part1 /dev/disk/by-uuid/ad3c41f2-b10b-7747-9b85-75ca94ff948c /dev/disk/by-path/pci-0000:00:1f.2-ata-2-part1 /dev/disk/by-id/ata-QEMU_HARDDISK_QM00003-part1' >++ SHLVL=1 >++ LANGUAGE=C >++ ID_MODEL_ENC='QEMU\x20HARDDISK\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20' >++ RDUEVENT_TIMEOUT= >++ NAMESERVER=0 >++ ID_ATA_WRITE_CACHE=1 >++ ROOTONLY= >++ ID_PART_TABLE_TYPE=dos >++ ID_FS_UUID_ENC=ad3c41f2-b10b-7747-9b85-75ca94ff948c >++ ID_ATA_SATA=1 >++ RDMODE= >++ RD_DEPMOD= >++ PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin >++ ID_PART_ENTRY_TYPE=0x83 >++ ROOTDELAY=180 >++ PANIC=30 >++ READONLY=1 >++ ID_PART_ENTRY_DISK=8:0 >++ ID_FS_VERSION=1 >++ LUKS_DEV=0 >++ ID_PART_ENTRY_NUMBER=1 >++ _=/bin/environ >++ LUKS_ROOT=/dev/sda1 >+ handler >+ nameluks=sda1-luks >+ dmsetup info sda1-luks >+ match_dev_in_array LUKS_IGNORE /dev/sda1 >+ '[' 2 = 2 ']' >+ local value array_name array_size >+ array_name=LUKS_IGNORE >+ value=/dev/sda1 >+ eval 'array_size="${LUKS_IGNORE-}"' >++ array_size=0 >+ '[' -n 0 ']' >+ '[' 0 '!=' 0 ']' >+ return 1 >+ luks_discard= >+ match_dev_in_array LUKS_DISCARD /dev/sda1 >+ '[' 2 = 2 ']' >+ local value array_name array_size >+ array_name=LUKS_DISCARD >+ value=/dev/sda1 >+ eval 'array_size="${LUKS_DISCARD-}"' >++ array_size=0 >+ '[' -n 0 ']' >+ '[' 0 '!=' 0 ']' >+ return 1 >+ local rc=0 keyfile= >+ '[' -n 1 ']' >+ '[' 1 '!=' 0 ']' >+ findkey >+ local path keydev luksdev prefix s v >+ '[' -f /etc/luks.keys ']' >+ IFS= >+ read -u 3 -r s >+ for n in path keydev luksdev >+ v= >+ '[' -n /etc/keys/luks.key ']' >+ '[' -z /etc/keys/luks.key ']' >+ v=/etc/keys/luks.key >+ s= >+ eval 'path="$v"' >++ path=/etc/keys/luks.key >+ for n in path keydev luksdev >+ v= >+ '[' -n '' ']' >+ v= >+ s= >+ eval 'keydev="$v"' >++ keydev= >+ for n in path keydev luksdev >+ v= >+ '[' -n '' ']' >+ v= >+ s= >+ eval 'luksdev="$v"' >++ luksdev= >+ '[' -z /etc/keys/luks.key ']' >+ '[' -n '' ']' >+ prefix= >+ '[' -n '' ']' >+ [[ /etc/keys/luks.key = \p\k\c\s\1\1\:* ]] >+ '[' '!' -f //etc/keys/luks.key ']' >+ keyfile=//etc/keys/luks.key >+ printf 'Found keyfile '\''%s'\'' for '\''%s'\'' encrypted partition.\n' /etc/keys/luks.key sda1 >Found keyfile '/etc/keys/luks.key' for 'sda1' encrypted partition. >+ return 0 >+ '[' 0 '!=' 0 ']' >+ readkey //etc/keys/luks.key >+ local keyfile=//etc/keys/luks.key >+ '[' -s //etc/keys/luks.key ']' >+ cryptsetup -d- luksOpen /dev/sda1 sda1-luks >+ case "${LUKS_KEY_FORMAT:-plain}" in >+ local last >++ printf . >++ tail -c -1 //etc/keys/luks.key >++ printf . >+ last=.5. >+ last=5. >+ last=5 >+ '[' 5 = ' >' ']' >+ cat //etc/keys/luks.key >+ freekey >+ '[' -d /mnt/luks-key ']' >+ : >+ rm -f /tmp/pkcs11-luks.key >+ '[' 0 '!=' 0 ']' >+ case "$r" in >+ done_event /.initrd/uevent/events/udev/luks.000001.779981222.XXX0wexF7 >+ rm -f -- /.initrd/uevent/events/udev/luks.000001.779981222.XXX0wexF7 >+ console_unlock >+ rmdir /.initrd/rdshell.lock >+ exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42987
:
10957
|
10961
| 10962