ALT Linux Bugzilla
– Attachment 11063 Details for
Bug 43056
Добавить в luks поддержку /etc/crypttab
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Лог работы 085-luks версии 2.27.0-alt1
085-luks-2.27.0-alt1.log (text/x-log), 5.37 KB, created by
jqt4
on 2022-07-07 18:22:10 MSK
(
hide
)
Description:
Лог работы 085-luks версии 2.27.0-alt1
Filename:
MIME Type:
Creator:
jqt4
Created:
2022-07-07 18:22:10 MSK
Size:
5.37 KB
patch
obsolete
>+ rc=0 >+ for e in "$eventdir"/luks.* >+ '[' -f /.initrd/uevent/events/udev/luks.000001.780692581.XXXLEc0zd ']' >+ r=0 >+ . /.initrd/uevent/events/udev/luks.000001.780692581.XXXLEc0zd >++ CMDLINE='BOOT_IMAGE=/boot/vmlinuz root=UUID=ccaf2ba9-73bc-4ea5-a100-fe9e12d416fc ro resume=/dev/disk/by-uuid/3db9e0e7-7edf-4a20-bcfc-5cff200a9b48 panic=30 usbcore.autosuspend=-1 console=ttyS0 stop=,killall,' >++ ID_SERIAL=QEMU_HARDDISK_QM00003 >++ LC_ALL=C >++ ACTION=add >++ RESUME=/dev/disk/by-uuid/3db9e0e7-7edf-4a20-bcfc-5cff200a9b48 >++ USEC_INITIALIZED=1742423 >++ ID_MODEL=QEMU_HARDDISK >++ LANG=C >++ ID_FS_TYPE=crypto_LUKS >++ DISKSEQ=26 >++ 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=2 >++ ROOTFLAGS= >++ SEQNUM=1678 >++ stop=,killall, >++ RDSHELL= >++ LUKS_KEY=0 >++ RESCUE_MODULES= >++ RESUME_OFFSET= >++ ID_FS_USAGE=crypto >++ ID_PATH_ATA_COMPAT=pci-0000:00:1f.2-ata-2 >++ ID_PART_ENTRY_SIZE=16912384 >++ RW= >++ DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda2 >++ RO=1 >++ ROOT=UUID=ccaf2ba9-73bc-4ea5-a100-fe9e12d416fc >++ 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=/ >++ ID_BUS=ata >++ ID_FS_UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 >++ IFNAME=0 >++ ROUTE=0 >++ ID_REVISION=2.5+ >++ INIT=/sbin/init >++ MINOR=2 >++ 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=4050944 >++ IP=0 >++ TERM=linux >++ rootmnt=/root >++ QUIET= >++ DEVNAME=/dev/sda2 >++ ID_PATH=pci-0000:00:1f.2-ata-2.0 >++ DEVLINKS='/dev/disk/by-uuid/0a2cd49b-6e6f-ba4c-8626-101394557ac2 /dev/disk/by-id/ata-QEMU_HARDDISK_QM00003-part2 /dev/disk/by-path/pci-0000:00:1f.2-ata-2.0-part2 /dev/disk/by-path/pci-0000:00:1f.2-ata-2-part2' >++ 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=0a2cd49b-6e6f-ba4c-8626-101394557ac2 >++ LUKS_CRYPTTAB=1 >++ 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=2 >++ _=/bin/environ >++ LUKS_ROOT=/dev/sda2 >+ handler >+ local luks_volume=sda2-luks luks_args >+ local luks_tries=3 luks_keyfile= luks_pipekey=n >+ local luks_headless=n luks_type=luks luks_empty_password=n >+ luks_args=() >+ match_dev_in_array LUKS_IGNORE /dev/sda2 >+ '[' 2 = 2 ']' >+ local value array_name array_size >+ array_name=LUKS_IGNORE >+ value=/dev/sda2 >+ eval 'array_size="${LUKS_IGNORE-}"' >++ array_size=0 >+ '[' -n 0 ']' >+ '[' 0 '!=' 0 ']' >+ return 1 >+ match_dev_in_array LUKS_DISCARD /dev/sda2 >+ '[' 2 = 2 ']' >+ local value array_name array_size >+ array_name=LUKS_DISCARD >+ value=/dev/sda2 >+ eval 'array_size="${LUKS_DISCARD-}"' >++ array_size=0 >+ '[' -n 0 ']' >+ '[' 0 '!=' 0 ']' >+ return 1 >+ local rc=0 >+ '[' -f /etc/luks.keys ']' >+ message '/dev/sda2: trying to find the keyfile in the '\''/etc/luks.keys'\''.' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: /dev/sda2: trying to find the keyfile in the '\''/etc/luks.keys'\''.' >085-luks: /dev/sda2: trying to find the keyfile in the '/etc/luks.keys'. >+ findkey >+ local path keydev luksdev prefix s v >+ 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 ']' >+ luks_keyfile=//etc/keys/luks.key >+ message 'Found keyfile '\''/etc/keys/luks.key'\'' for '\''sda2'\'' encrypted partition.' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: Found keyfile '\''/etc/keys/luks.key'\'' for '\''sda2'\'' encrypted partition.' >085-luks: Found keyfile '/etc/keys/luks.key' for 'sda2' encrypted partition. >+ return 0 >+ '[' plain '!=' plain ']' >+ luks_pipekey=y >+ luks_headless=y >+ dmsetup info sda2-luks >+ set -- open --type luks /dev/sda2 sda2-luks >+ '[' -n //etc/keys/luks.key ']' >+ shell_var_is_yes y >+ '[' 1 -eq 1 ']' >+ case "$1" in >+ return 0 >+ cryptsetup -d- open --type luks /dev/sda2 sda2-luks >+ rc=0 >+ freekey >+ '[' -d /mnt/luks-key ']' >+ : >+ rm -f /tmp/pkcs11-luks.key >+ '[' 0 -ne 0 ']' >+ '[' 0 -eq 0 ']' >+ message 'sda2-luks (upon /dev/sda2) activated successfully.' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: sda2-luks (upon /dev/sda2) activated successfully.' >085-luks: sda2-luks (upon /dev/sda2) activated successfully. >+ case "$r" in >+ done_event /.initrd/uevent/events/udev/luks.000001.780692581.XXXLEc0zd >+ rm -f -- /.initrd/uevent/events/udev/luks.000001.780692581.XXXLEc0zd >+ 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 43056
: 11063 |
11064