Hide Forgot
Description of problem: I'have the problem that everytime a network connection is established this message appears in any open shell: "Password entry required for 'Please enter passphrase for disk TOSHIBA_FOOBAR (mycrypt)!' (PID 3778). Version-Release number of selected component (if applicable): How reproducible: every time Steps to Reproduce: 1.open a terminal 2.connect to ethernet, wifi or broadband via applet (GUI) 3.message appears in every open shell Actual results: message appears Expected results: nothing, cause crypted partition is in use since hours Additional info: i'm using a lvm vg (with root, home, swap) inside a crypted partition called mycrypt. I changed the luks-partition name (/etc/crypttab) as well as the name of the vg (from the longname given bei the F15-installer to a shorter one)
Please boot with "log_buf_len=1M systemd.log_level=debug systemd.log_target=kmsg", reproduce the bug and then attach the output of the "dmesg" command. Thanks.
Created attachment 511227 [details] dmesg output hi, I hope this helps
Your /etc/crypttab and initramfs disagree over the LUKS name of the device. Your initramfs opens it as "luks-3978fb1b-3f40-4a5f-a6d4-44f0a8b4af80" but the booted system attempts to unlock the same disk but to a different name "fbcrypt". This fails repeatedly with "Failed to activate: Device or resource busy". Either put the old name back to /etc/crypttab, or see if regenerating the initramfs (using dracut) helps. You may need to edit the rd_LUKS_UUID boot parameter too. I have not tested it.
ah, thanks, right, I changed the name in the /etc/crypttab. thanks for your help. But why this appears, when I establish a network connection?
This part of the log provides a clue: [ 248.318639] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Manager.StartUnit() on /org/freedesktop/systemd1 [ 248.318680] systemd[1]: Trying to enqueue job iscsi.service/start/replace [ 248.319247] systemd[1]: Installed new job iscsi.service/start as 923 [ 248.319262] systemd[1]: Installed new job cryptsetup/start as 988 A start of iscsi.service is requested. The service Requires basic.target. basic.target Requires sysinit.target. sysinit.target Wants cryptsetup.target. The start of iscsi.service is requested by /etc/NetworkManager/dispatcher.d/04-iscsi
Hi Michal, thanks for the detailed explanation and your help. Sorry for the noise. Kind Regards, Keywan
But this is UX bug anyway §:o( This happens to me any time I restart memcached. It even breaks the shell.
(In reply to Jakub Dorňák from comment #7) Does your system have a similar mixup of LUKS names as described in comment #3?