[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mount order after systemd update



On Mon, 03 Nov 2014 10:00:03 +0100
Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>
wrote:

> Martin Manns:
> > After switching to systemd,  [...] password entry on startup looks
>  > weird because some weird red moving stars are shown instead of a
>  > prompt.
>
> The official name for the "weird red moving stars" is "animated boot 
> time output for hanging jobs".  But its unofficial name is the
> "systemd Cylon eye".  This is the part that is undocumented.  Your
> auto-generated systemd-cryptsetup@ jobs are of course hanging waiting
> for a response from the systemd RPC password prompting system that
> hands the passwords to them.  Since you don't have plymouth, you're
> using the rather less prettified fallback password prompter that
> comes bundled in the systemd package that doesn't work too well with
> other console output happening at the same time.

So I have finally installed plymouth and I have got a nice
password entry routine for the first (root) hard drive. Plymouth also
gives me verbose boot messages back, which is great. But I still get
the "systemd Cylon eye" for the second encrypted hard drive. Even
worse, I do neither get it nor a prompt for the third cryptdisk even
though I must enter the password. (Fortunately, hard drive order seems
to be preserved now even though I do not know why).

How do I get a plymouth prompt (and no Cylon eye) for each drive
in /etc/crypttab?

And by the way how do I get pppoe to start automatically on boot again?
Launching a pon script seems counter-intuitive and I have seen an
article on Phoronix that systemd support for pppoe is still under
development. 

I am running Debian unstable.
Plymouth Version: 0.9.0-8
Systemd Version: 215-5+b1

plymouthd.conf:

# Administrator customizations go in this file
#[Daemon]
#Theme=text
#ShowDelay=0
[Daemon]
Theme=details

boot.log:

  Volume group "main_disk" not found
  Skipping volume group main_disk
Unable to find LVM volume main_disk/root
  Volume group "main_disk" not found
  Skipping volume group main_disk
Unable to find LVM volume main_disk/swap
  Reading all physical volumes.  This may take a while...
  Found volume group "main_disk" using metadata type lvm2
  3 logical volume(s) in volume group "main_disk" now active
Scanning for Btrfs filesystems
fsck from util-linux 2.25.2
Root: clean, 562116/2441216 files, 5172285/9764864 blocks

Welcome to Debian GNU/Linux jessie/sid!

[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Set up automount Arbitrary Executable File Formats File System
Automount Point. Expecting device
dev-disk-by\x2duuid-35d76817\x2d774c\x2d428b\x2d8b3a\x2d5f4f73596610.device...
Expecting device dev-mapper-sda5_crypt.device... Expecting device
dev-mapper-main_disk\x2dswap.device... Expecting device
dev-disk-by\x2duuid-ac7f3049\x2d6dfd\x2d4861\x2d9132\x2d7fe53e820acb.device...
Expecting device dev-mapper-main_disk\x2dhome.device... Expecting
device
dev-disk-by\x2duuid-96cf1e49\x2d1311\x2d49cf\x2d9936\x2df72a45630a01.device...
Expecting device dev-mapper-sdb1_crypt.device... Expecting device
dev-disk-by\x2duuid-97507936\x2d93db\x2d43e7\x2da914\x2de8af06b438a2.device...
Expecting device dev-mapper-sdc1_crypt.device... [  OK  ] Created slice
Root Slice. [  OK  ] Created slice User and Session Slice. [  OK  ]
Listening on Delayed Shutdown Socket. [  OK  ] Listening
on /dev/initctl Compatibility Named Pipe. [  OK  ] Listening on Journal
Socket (/dev/log). [  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Starting File System Check on Root Device...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Created slice system-getty.slice.
         Starting Load Kernel Modules...
         Starting Create list of required static device nodes for the
current kernel... Mounting Debug File System...
         Starting udev Coldplug all Devices...
         Mounting POSIX Message Queue File System...
         Mounting Huge Pages File System...
[  OK  ] Created slice system-systemd\x2dcryptsetup.slice.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Reached target Slices.
[  OK  ] Started Create list of required static device nodes for the
current kernel. Starting Create Static Device Nodes in /dev...
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Wait for Complete Device Initialization...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting LSB: Set preliminary keymap...
[  421.698605] systemd-fsck[275]: Root: clean, 562116/2441216 files,
5172285/9764864 blocks [  OK  ] Started Load Kernel Modules.
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Show Plymouth Boot Screen...
         Starting Remount Root and Kernel File Systems...
         Starting LSB: QEMU KVM module loading script...
[  OK  ] Started LSB: QEMU KVM module loading script.
         Starting LSB: Tune IDE hard disks...
[  OK  ] Started udev Wait for Complete Device Initialization.
         Starting Activation of LVM2 logical volumes...
         Starting Copy rules generated while the root was ro...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started LSB: Tune IDE hard disks.
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight Brightness of
backlight:intel_backlight... Starting Load/Save Screen Backlight
Brightness of backlight:acpi_video0... [  OK  ] Started Load/Save
Screen Backlight Brightness of backlight:intel_backlight. [  OK  ]
Found device LVM PV zgy5rG-xgtA-Em1R-AOGn-59gC-Xugm-0uzGun
on /dev/dm-0. [  OK  ] Started Load/Save Screen Backlight Brightness of
backlight:acpi_video0. [  OK  ] Created slice
system-lvm2\x2dpvscan.slice. Starting LVM2 PV scan on device 254:0...
[  OK  ] Started LVM2 PV scan on device 254:0. Starting Show Plymouth
Boot Screen... [  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Found device /dev/mapper/main_disk-home.
         Starting File System Check on /dev/mapper/main_disk-home...
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-systemd\x2drfkill.slice.
         Starting Load/Save RF Kill Switch Status of rfkill0...
[  OK  ] Started Activation of LVM2 logical volumes.
[  OK  ] Found device /dev/mapper/main_disk-swap.
         Activating swap /dev/mapper/main_disk-swap...
[  429.261937] systemd-fsck[479]: Home: clean, 143727/1220608 files,
3571794/4882432 blocks [  OK  ] Started File System Check
on /dev/mapper/main_disk-home. Mounting /home...
[  OK  ] Activated swap /dev/mapper/main_disk-swap.
[  OK  ] Reached target Swap.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill0.
[  OK  ] Found device ST980811AS 5.
         Starting Cryptography Setup for sda5_crypt...
[  OK  ] Found device DS_maxi_g.u 1.
         Starting Cryptography Setup for sdc1_crypt...
[  OK  ] Mounted /home.
[  OK  ] Found device ST980811AS 1.
         Starting File System Check
on /dev/disk/by-uuid/ac7f3049-6dfd-4861-9132-7fe53e820acb... [  OK  ]
Started Cryptography Setup for sda5_crypt. Starting Show Plymouth Boot
Screen... Starting Activation of LVM2 logical volumes...
[  OK  ] Started Show Plymouth Boot Screen.
         Starting Forward Password Requests to Plymouth...
[  OK  ] Started Forward Password Requests to Plymouth.
[  430.917700] systemd-fsck[550]: /dev/sda1: clean, 336/124496 files,
72622/248832 blocks [  OK  ] Started File System Check
on /dev/disk/by-uuid/ac7f3049-6dfd-4861-9132-7fe53e820acb.
Mounting /boot... [  OK  ] Mounted /boot.
[  OK  ] Started Activation of LVM2 logical volumes.
         Starting Show Plymouth Boot Screen...
         Starting Activation of LVM2 logical volumes...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password Requests to Plymouth.
[  OK  ] Started Activation of LVM2 logical volumes.
[  OK  ] Found device SAMSUNG_HD103SI 1.
         Starting Cryptography Setup for sdb1_crypt...
         Starting Show Plymouth Boot Screen...
         Starting Activation of LVM2 logical volumes...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password Requests to Plymouth.
[  OK  ] Started Activation of LVM2 logical volumes.
[*     ] (1 of 4) A start job is running for
dev-mapper-sdc1_crypt.device (23s /[**    ] (1 of 4) A start job is
running for dev-mapper-sdc1_crypt.device (23s /[***   ] (1 of 4) A
start job is running for dev-mapper-sdc1_crypt.device (24s /[ ***  ] (2
of 4) A start job is running for Cryptography Setup for sdc1_crypt
([  *** ] (2 of 4) A start job is running for Cryptography Setup for
sdc1_crypt ([   ***] (2 of 4) A start job is running for Cryptography
Setup for sdc1_crypt ([    **] (3 of 4) A start job is running for
dev-mapper-sdb1_crypt.device (26s /[     *] (3 of 4) A start job is
running for dev-mapper-sdb1_crypt.device (26s /[    **] (3 of 4) A
start job is running for dev-mapper-sdb1_crypt.device (27s /[   ***] (4
of 4) A start job is running for Cryptography Setup for sdb1_crypt
([  *** ] (4 of 4) A start job is running for Cryptography Setup for
sdb1_crypt ([ ***  ] (4 of 4) A start job is running for Cryptography
Setup for sdb1_crypt ([***   ] (1 of 4) A start job is running for
dev-mapper-sdc1_crypt.device (29s /[**    ] (1 of 4) A start job is
running for dev-mapper-sdc1_crypt.device (29s /[*     ] (1 of 4) A
start job is running for dev-mapper-sdc1_crypt.device (30s /[**    ] (2
of 4) A start job is running for Cryptography Setup for sdc1_crypt
([***   ] (2 of 4) A start job is running for Cryptography Setup for
sdc1_crypt ([ ***  ] (2 of 4) A start job is running for Cryptography
Setup for sdc1_crypt ([  *** ] (3 of 4) A start job is running for
dev-mapper-sdb1_crypt.device (32s /[   ***] (3 of 4) A start job is
running for dev-mapper-sdb1_crypt.device (32s /[    **] (3 of 4) A
start job is running for dev-mapper-sdb1_crypt.device (33s /[     *] (4
of 4) A start job is running for Cryptography Setup for sdb1_crypt
([    **] (4 of 4) A start job is running for Cryptography Setup for
sdb1_crypt ([   ***] (4 of 4) A start job is running for Cryptography
Setup for sdb1_crypt ([  *** ] (1 of 4) A start job is running for
dev-mapper-sdc1_crypt.device (35s /[ ***  ] (1 of 4) A start job is
running for dev-mapper-sdc1_crypt.device (35s /[***   ] (1 of 4) A
start job is running for dev-mapper-sdc1_crypt.device (36s /[**    ] (2
of 4) A start job is running for Cryptography Setup for sdc1_crypt
([*     ] (2 of 4) A start job is running for Cryptography Setup for
sdc1_crypt ([**    ] (2 of 4) A start job is running for Cryptography
Setup for sdc1_crypt ([***   ] (3 of 4) A start job is running for
dev-mapper-sdb1_crypt.device (38s /[ ***  ] (3 of 4) A start job is
running for dev-mapper-sdb1_crypt.device (38s /[  *** ] (3 of 4) A
start job is running for dev-mapper-sdb1_crypt.device (39s /[   ***] (4
of 4) A start job is running for Cryptography Setup for sdb1_crypt
([    **] (4 of 4) A start job is running for Cryptography Setup for
sdb1_crypt ([     *] (4 of 4) A start job is running for Cryptography
Setup for sdb1_crypt ([    **] (1 of 4) A start job is running for
dev-mapper-sdc1_crypt.device (41s /[  OK  ] Found
device /dev/mapper/sdb1_crypt. [  OK  ] Started Cryptography Setup for
sdb1_crypt. Mounting /media/data... [  OK  ] Started Cryptography Setup
for sdc1_crypt. [  OK  ] Found device /dev/mapper/sdc1_crypt.
Mounting /media/backup... [  OK  ] Reached target Encrypted Volumes.
Starting Activation of LVM2 logical volumes... [  OK  ]
Mounted /media/data. [  OK  ] Started Activation of LVM2 logical
volumes. Starting Monitoring of LVM2 mirrors, snapshots etc. using
dmeventd or progress polling... [  OK  ] Mounted /media/backup. [  OK
] Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or
progress polling. [  OK  ] Reached target Local File Systems. Starting
Tell Plymouth To Write Out Runtime Data... Starting Create Volatile
Files and Directories... Starting LSB: Raise network interfaces....
[  OK  ] Reached target Remote File Systems. Starting Trigger Flushing
of Journal to Persistent Storage... [  OK  ] Started Trigger Flushing
of Journal to Persistent Storage. [  OK  ] Started Tell Plymouth To
Write Out Runtime Data. [  OK  ] Started Create Volatile Files and
Directories. Starting Update UTMP about System Boot/Shutdown... [  OK
] Started Update UTMP about System Boot/Shutdown. [  OK  ] Started LSB:
Raise network interfaces.. [  OK  ] Reached target Network. [  OK  ]
Reached target Network is Online. Starting LSB: Prepare console...
[  OK  ] Started LSB: Prepare console. Starting LSB: Set console font
and keymap... [  OK  ] Started LSB: Set console font and keymap. [  OK
] Reached target System Initialization. [  OK  ] Listening on UUID
daemon activation socket. [  OK  ] Listening on GPS (Global Positioning
System) Daemon Sockets. [  OK  ] Listening on Avahi mDNS/DNS-SD Stack
Activation Socket. [  OK  ] Listening on D-Bus System Message Bus
Socket. [  OK  ] Listening on CUPS Printing Service Sockets. [  OK  ]
Listening on ACPID Listen Socket. [  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers. Starting Restore Sound Card State...
Starting Console System Startup Logging... [  OK  ] Reached target
Paths. [  OK  ] Reached target Basic System. Starting Deferred
execution scheduler... [  OK  ] Started Deferred execution scheduler.
Starting Enable support for additional executable binary formats...
Starting Restore /etc/resolv.conf if the system crashed before the ppp
link was shut down.... Starting ClamAV virus database updater... [  OK
] Started ClamAV virus database updater. Starting Regular background
program processing daemon... [  OK  ] Started Regular background
program processing daemon. Starting Modem Manager... Starting Network
Manager... Starting Initialize hardware monitoring sensors... Starting
Login Service... Starting LSB: start Samba NetBIOS nameserver (nmbd)...
Starting LSB: start DirMngr daemon... Starting LSB: start Samba daemons
for the AD DC... Starting Avahi mDNS/DNS-SD Stack... Starting D-Bus
System Message Bus... [  OK  ] Started D-Bus System Message Bus. [  OK
] Started Avahi mDNS/DNS-SD Stack. Starting System Logging Service...
Starting Permit User Sessions... Starting CUPS Printing Service...
[  OK  ] Started CUPS Printing Service. [  OK  ] Reached target
Printer. Starting Make remote CUPS printers available locally... [  OK
] Started Make remote CUPS printers available locally. Starting ACPI
event daemon... [  OK  ] Started ACPI event daemon. [  OK  ] Started
Restore Sound Card State. [  OK  ] Started Console System Startup
Logging. [  OK  ] Started Restore /etc/resolv.conf if the system
crashed before the ppp link was shut down.. [  OK  ] Started LSB: start
DirMngr daemon. [  OK  ] Started Initialize hardware monitoring
sensors. [  OK  ] Started Permit User Sessions. [  OK  ] Started Login
Service. Starting Light Display Manager... Starting Forward Password
Requests to Wall... Starting Terminate Plymouth Boot Screen... Starting
Wait for Plymouth Boot Screen to Quit... Starting Authenticate and
Authorize Users to Run Privileged Tasks... Mounting Arbitrary
Executable File Formats File System... [  OK  ] Stopped Dispatch
Password Requests to Console. Stopping Forward Password Requests to
Plymouth... [  OK  ] Stopped Forward Password Requests to Plymouth.
[  OK  ] Started Forward Password Requests to Wall.



Martin


Reply to: