Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable timeout? #9

Closed
marzzzello opened this issue Jan 24, 2018 · 2 comments
Closed

How to disable timeout? #9

marzzzello opened this issue Jan 24, 2018 · 2 comments

Comments

@marzzzello
Copy link

marzzzello commented Jan 24, 2018

Hello, I just installed your tool to decrypt my root partition via SSH.
It works fine but only for 90 seconds. Then an emergency shell gets started and I can no longer connect via SSH.
Where can I disable this timeout?

Message:
A start job is running for dev-mapper-main\x2droot.device (10s / 1min 30s)

After Timeout:

[DEPEND] Dependency failed for Initrd Root Device.
[DEPEND] Dependency failed for File System Check on /dev/mapper/main-root.
[...]

then all services stop and the emergency shell gets started.

I enabled these services:

systemctl enable initrd-cryptsetup.path
systemctl enable initrd-network.service
systemctl enable initrd-dropbear.service
systemctl enable initrd-shell.service

$ lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda               8:0    0 931,5G  0 disk  
├─sda1            8:1    0   500M  0 part  /boot
└─sda2            8:2    0   931G  0 part  
  └─main        254:0    0   931G  0 crypt 
    ├─main-swap 254:1    0     8G  0 lvm   [SWAP]
    └─main-root 254:2    0   923G  0 lvm   /
@marzzzello marzzzello changed the title Disable timeout How to disable timeout? Jan 24, 2018
@Andrei-Pozolotin
Copy link
Collaborator

@Andrei-Pozolotin
Copy link
Collaborator

assume resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants