Your message dated Thu, 28 Jan 2016 18:36:15 +0100
with message-id <[email protected]>
and subject line Re: system boot slowed down by bad /etc/crypttab
has caused the Debian Bug report #747258,
regarding Waits for missing devices listed in /etc/crypttab to appear, which 
slows down system boot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
747258: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747258
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
# <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

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Hi Harri

On Tue, 06 May 2014 22:24:55 +0200 Harald Dunkel <[email protected]> wrote:
> 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

The systemd man page for crypttab [1] says

noauto

    This device will not be automatically unlocked on boot.
nofail

    The system will not wait for the device to show up and be unlocked
at boot, and not fail the boot if it does not show up.


So you should mark your crypttab entries which you don't want to be
unlocked automatically during boot either with noauto or nofail,
depending on what behaviour you want.


Regards,
Michael

[1] http://www.freedesktop.org/software/systemd/man/crypttab.html#noauto
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to