systemd systemd-cryptsetup@luks failed to start

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

systemd systemd-cryptsetup@luks failed to start

Postby r00t.ati » Sat Mar 29, 2014 13:19

Hello, I've a problem with systemd + luks partition.
Every time I need to start (at boot or manual) a service (for example apache2), systemctl ask me the password of the encrypted partition:
Code: Select all
# systemctl restart apache2
Please enter passphrase for disk ST3500413AS (luks-xxxxxxxxxxxxx)!


Code: Select all
systemctl status systemd-cryptsetup@luks\x2d8103f123\x2db3e4\x2d4a96\x2db3fe\x2d0146c36e90a5.service
systemd-cryptsetup@luksx2d8103f123x2db3e4x2d4a96x2db3fex2d0146c36e90a5.service                                                                                                                                                               
   Loaded: not-found (Reason: No such file or directory)                                                                                                                                                                                     
   Active: inactive (dead) 


I'm completely unable to start any service at boot!
Can you please help me to figure it out?

Code: Select all
# systemctl --state=failed
UNIT                                                                                LOAD   ACTIVE SUB    DESCRIPTION
kmod-static-nodes.service                                                           loaded failed failed Create list of required static device nodes for the current kernel
systemd-cryptsetup@luksxxxxxxxxx.service loaded failed failed Cryptography Setup for luks-xxxxxxx


Code: Select all
# blkid
/dev/mapper/vg_fisso-lv_root: UUID="b4598dab-7e0f-xxxxxxxxxx" TYPE="ext4"
/dev/sda1: UUID="cd271d39-e2e3-xxxxxxxx" TYPE="ext4" PARTUUID="000c29e9-01"
/dev/sda2: UUID="165A5F8xxxxxxxx" TYPE="ntfs" PARTUUID="000c29e9-02"
/dev/sda3: UUID="8103f123-b3e4-xxxxxxxxxxx" TYPE="crypto_LUKS" PARTUUID="000c29e9-03"
/dev/mapper/root_sda3-vg_fisso-lv_root: UUID="6eoIMY-xxxxxxxxxx" TYPE="LVM2_member"
/dev/mapper/vg_fisso-lv_home: UUID="eafcca2d-d3e5-xxxxxxxx" TYPE="ext4"
/dev/mapper/vg_fisso-lv_swap: UUID="9173ddec-18a0-xxxxxxxx" TYPE="swap"


Code: Select all
# cat /etc/crypttab
luks-8103f123-b3e4xxxxxxxx UUID=8103f123-b3e4xxxxxxxxxx none


Code: Select all
# ls /dev/mapper/
control  root_sda3-vg_fisso-lv_root  vg_fisso-lv_home  vg_fisso-lv_root  vg_fisso-lv_swap


Code: Select all
# cat /etc/fstab
/dev/mapper/vg_fisso-lv_root /                       ext4    defaults        1 1
UUID=cd271d39-xxxxxxxxxx /boot                   ext4    defaults        1 2
/dev/mapper/vg_fisso-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg_fisso-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
tmpfs                   /tmp                    tmpfs   noexec,nosuid,nodev,size=4000M 0 0
r00t.ati
Baby Hen
 
Posts: 18
Joined: Tue Mar 29, 2011 16:48

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron