Bug#747258: system boot slowed down by bad /etc/crypttab

Harald Dunkel harri at afaics.de
Tue May 6 21:24:55 BST 2014


Package: systemd
Version: 204-10

If there are some forgotten entries in /etc/crypttab (not mentioned
in /etc/fstab), then system boot takes an awful lot of time.

The old sysv-init didn't care.

After cleaning up /etc/crypttab the time needed for booting was back
to normal.


Sample crypttab is attached. Hope this helps

Regards
Harri
-------------- next part --------------
# <target name>	<source device>						<key file>					<options>
usbdisk		/dev/disk/by-uuid/d3199e0b-78e0-42d3-a6b0-0629f4eb10e3	/usb/etc/d3199e0b-78e0-42d3-a6b0-0629f4eb10e3	luks
exthome		/dev/disk/by-uuid/309d236c-dc88-400e-8e91-0a444622354a	/usb/etc/309d236c-dc88-400e-8e91-0a444622354a	luks
export2		/dev/disk/by-uuid/24717701-f5c9-4c64-9963-39da18be94b3	/usb/etc/24717701-f5c9-4c64-9963-39da18be94b3	luks
data1		/dev/disk/by-uuid/89633573-af5d-4364-8633-faaea9a744fd	/usb/etc/89633573-af5d-4364-8633-faaea9a744fd	luks
data2		/dev/disk/by-uuid/a82984ed-7d22-44d9-9f24-eb85f7196a38	/usb/etc/a82984ed-7d22-44d9-9f24-eb85f7196a38	luks
data3		/dev/disk/by-uuid/4a540f83-a100-4f5c-a990-8b3006bd2b47	/usb/etc/4a540f83-a100-4f5c-a990-8b3006bd2b47	luks
data4		/dev/disk/by-uuid/6730efbe-6e13-446b-ace0-3c3ba69cd6a3	/usb/etc/6730efbe-6e13-446b-ace0-3c3ba69cd6a3	luks
data5		/dev/disk/by-uuid/c47481ac-b1d6-4b31-b7cd-31d5ad1dbaf7	/usb/etc/c47481ac-b1d6-4b31-b7cd-31d5ad1dbaf7	luks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140506/865584cb/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list