ALT Linux Bugzilla
– Attachment 11064 Details for
Bug 43056
Добавить в luks поддержку /etc/crypttab
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Лог 085-luks при использовании только crypttab
085-luks-2.27.0-alt1-2.log (text/x-log), 11.01 KB, created by
jqt4
on 2022-07-07 19:24:16 MSK
(
hide
)
Description:
Лог 085-luks при использовании только crypttab
Filename:
MIME Type:
Creator:
jqt4
Created:
2022-07-07 19:24:16 MSK
Size:
11.01 KB
patch
obsolete
>+ rc=0 >+ for e in "$eventdir"/luks.* >+ '[' -f /.initrd/uevent/events/udev/luks.000001.810370135.XXXx7LK66 ']' >+ r=0 >+ . /.initrd/uevent/events/udev/luks.000001.810370135.XXXx7LK66 >++ 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=1769104 >++ ID_MODEL=QEMU_HARDDISK >++ LANG=C >++ ID_FS_TYPE=crypto_LUKS >++ DISKSEQ=25 >++ 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=1669 >++ 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-path/pci-0000:00:1f.2-ata-2-part2 /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' >++ 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 ']' >+ '[' -n 1 ']' >+ '[' -s /etc/crypttab ']' >+ message '/dev/sda2: trying to find corresponding entry in the '\''/etc/crypttab'\''.' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: /dev/sda2: trying to find corresponding entry in the '\''/etc/crypttab'\''.' >085-luks: /dev/sda2: trying to find corresponding entry in the '/etc/crypttab'. >+ shell_foreach_crypttab /etc/crypttab crypttab_entry >+ local filename handler >+ filename=/etc/crypttab >+ shift >+ handler=crypttab_entry >+ shift >+ local lineno=0 eof= >+ '[' -z '' ']' >+ lineno=1 >+ local line= >+ read -d ' >' -r line >+ shell_var_trim line 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ '[' 2 -eq 2 ']' >+ local __shell_var_trimo= >+ __shell_var_trim 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ unset -f __shell_var_trim >+ local 'r=luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' 'space= >' >+ '[' -n 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -n 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z luks ']' >+ '[' -n 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 ']' >+ __shell_var_trimo='luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ eval 'line="$__shell_var_trimo"' >++ line='luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ '[' -n 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z '' ']' >+ local volume= >+ volume=luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ shell_var_trim line 'UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ '[' 2 -eq 2 ']' >+ local __shell_var_trimo= >+ __shell_var_trim 'UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ unset -f __shell_var_trim >+ local 'r=UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' 'space= >' >+ '[' -n 'UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z 'UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -n 'UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z luks ']' >+ '[' -n 'UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' ']' >+ '[' -z UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 ']' >+ __shell_var_trimo='UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ eval 'line="$__shell_var_trimo"' >++ line='UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 /etc/keys/luks.key luks' >+ local encryptdev= >+ '[' -z '' ']' >+ encryptdev=UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ shell_var_trim line '/etc/keys/luks.key luks' >+ '[' 2 -eq 2 ']' >+ local __shell_var_trimo= >+ __shell_var_trim '/etc/keys/luks.key luks' >+ unset -f __shell_var_trim >+ local 'r=/etc/keys/luks.key luks' 'space= >' >+ '[' -n '/etc/keys/luks.key luks' ']' >+ '[' -z '/etc/keys/luks.key luks' ']' >+ '[' -n '/etc/keys/luks.key luks' ']' >+ '[' -z luks ']' >+ '[' -n '/etc/keys/luks.key luks' ']' >+ '[' -z /etc/keys/luks.key ']' >+ __shell_var_trimo='/etc/keys/luks.key luks' >+ eval 'line="$__shell_var_trimo"' >++ line='/etc/keys/luks.key luks' >+ local keyspec= keyfile= keydev= >+ '[' -n '/etc/keys/luks.key luks' ']' >+ '[' -z '' ']' >+ keyspec=/etc/keys/luks.key >+ shell_var_trim line luks >+ '[' 2 -eq 2 ']' >+ local __shell_var_trimo= >+ __shell_var_trim luks >+ unset -f __shell_var_trim >+ local r=luks 'space= >' >+ '[' -n luks ']' >+ '[' -z luks ']' >+ '[' -n luks ']' >+ '[' -z luks ']' >+ '[' -n luks ']' >+ '[' -z luks ']' >+ __shell_var_trimo=luks >+ eval 'line="$__shell_var_trimo"' >++ line=luks >+ '[' -n /etc/keys/luks.key ']' >+ '[' -z /etc/keys/luks.key ']' >+ keyfile=/etc/keys/luks.key >+ local stroptions options >+ stroptions= >+ options=() >+ '[' -n luks ']' >+ stroptions=luks >+ shell_split_by luks , add_option >+ local l m s quote arg handler count=-1 >+ l=luks >+ shift >+ s=, >+ shift >+ handler=add_option >+ shift >+ '[' 0 -gt 0 ']' >+ arg= >+ quote= >+ m= >+ fill_mask m luks >+ local __fill_masko >+ __fill_mask luks '?' >+ local m= >+ : >+ case $((${#1} - ${#m})) in >+ m='????' >+ : >+ case $((${#1} - ${#m})) in >+ break >+ __fill_masko='???' >+ unset -f __fill_mask >+ eval 'm=$__fill_masko' >++ m='???' >+ '[' -n luks ']' >+ c=l >+ l=uks >+ m='??' >+ case "$c" in >+ arg=l >+ quote= >+ '[' -n uks ']' >+ c=u >+ l=ks >+ m='?' >+ case "$c" in >+ arg=lu >+ quote= >+ '[' -n ks ']' >+ c=k >+ l=s >+ m= >+ case "$c" in >+ arg=luk >+ quote= >+ '[' -n s ']' >+ c=s >+ l= >+ m= >+ case "$c" in >+ arg=luks >+ quote= >+ '[' -n '' ']' >+ '[' -n luks ']' >+ add_option luks >+ options+=("$1") >+ crypttab_entry >+ local o realdev= >+ get_dev realdev UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ local name retval value >+ '[' 2 = 2 ']' >+ retval=realdev >+ shift >+ name=UUID=0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ shift >+ case "$name" in >+ '[' 0a2cd49b-6e6f-ba4c-8626-101394557ac2 = 0a2cd49b-6e6f-ba4c-8626-101394557ac2 ']' >+ '[' -n /dev/sda2 ']' >+ '[' -z realdev ']' >+ eval 'realdev="$DEVNAME"' >++ realdev=/dev/sda2 >+ '[' -n luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 ']' >+ '[' -z luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 ']' >+ '[' -n '' ']' >+ luks_volume=luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ for o in "${options[@]}" >+ case "$o" in >+ luks_type=luks >+ for o in "${options[@]}" >+ case "$o" in >+ case "$keyfile" in >+ '[' -f /etc/keys/luks.key ']' >+ message 'luks keyfile does not exist: /etc/keys/luks.key' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: luks keyfile does not exist: /etc/keys/luks.key' >085-luks: luks keyfile does not exist: /etc/keys/luks.key >+ return 1 >+ return >+ : >+ dmsetup info luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ set -- open --type luks /dev/sda2 luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ '[' -n '' ']' >+ message 'The keyfile was not found for partition: /dev/sda2' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: The keyfile was not found for partition: /dev/sda2' >085-luks: The keyfile was not found for partition: /dev/sda2 >+ rc=1 >+ '[' 1 -ne 0 ']' >+ shell_var_is_no n >+ '[' 1 -eq 1 ']' >+ case "$1" in >+ return 0 >+ shell_var_is_yes n >+ '[' 1 -eq 1 ']' >+ case "$1" in >+ return 1 >+ '[' 1 -ne 0 ']' >+ message 'Trying to ask the user for a password.' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: Trying to ask the user for a password.' >085-luks: Trying to ask the user for a password. >+ cryptsetup_ask_pass open --type luks /dev/sda2 luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ local rc=0 tries=3 >+ printf 'exec cryptsetup' >+ printf ' %q' open --type luks /dev/sda2 luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 >+ plymouth --ping >+ rc=2 >+ '[' 2 = 2 ']' >+ '[' 3 -ne 0 ']' >+ bash /.initrd/cryptsetup-ask-pass >Enter passphrase for /dev/sda2: >+ rc=0 >+ tries=2 >+ '[' 0 = 2 ']' >+ rm -f -- /.initrd/cryptsetup-ask-pass >+ return 0 >+ rc=0 >+ '[' 0 -eq 0 ']' >+ message 'luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 (upon /dev/sda2) activated successfully.' >+ local arg= prefix= >+ '[' -n '' ']' >+ '[' -z '' ']' >+ printf '%s\n' '085-luks: luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 (upon /dev/sda2) activated successfully.' >085-luks: luks-0a2cd49b-6e6f-ba4c-8626-101394557ac2 (upon /dev/sda2) activated successfully. >+ case "$r" in >+ done_event /.initrd/uevent/events/udev/luks.000001.810370135.XXXx7LK66 >+ rm -f -- /.initrd/uevent/events/udev/luks.000001.810370135.XXXx7LK66 >+ 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