Mailinglist Archive: opensuse-factory (807 mails)

< Previous Next >
Re: [opensuse-factory] ending up dracut shell after update
Hi Andrei,

It may be or may be not.
I run on the 4.10.0-rc6-2.g18f6269-default and systemd 232 (2.1 rpm)

Alin


On Friday, 3 February 2017 03:45:08 GMT Andrei Borzenkov wrote:
02.02.2017 23:46, Alin M Elena пишет:
I have an opensuse install with encrypted root and home partitions.
lvm + luks. afte the update I ended up with a failure at boot, after grub

Feb 02 20:28:15 circassia dracut-initqueue[368]: systemd-escape: invalid
option -- '1'

Could be this problem fixed upstream

commit c41df7e1db1adc51399ab2c22f251b15eb2065b1
Author: Alexander Tsoy <alexander@xxxxxxx>
Date: Tue Jan 5 22:11:57 2016 +0300

base/dracut-lib.sh:dev_unit_name() guard against $dev beginning with "-"

crypt/parse-crypt.sh generate initqueue job which always call
dev_unit_name() with an argument beginning with "-". This results
in the following error:

dracut-initqueue[307]: + systemd-escape -p
-cfb4aa43-2f02-4c6b-a313-60ea99288087
dracut-initqueue[307]: systemd-escape: invalid option -- 'c'

Feb 02 20:28:15 circassia dracut-initqueue[368]: Failed to start systemd-
cryptsetup@luks.service: Unit systemd-cryptsetup@luks.service not found.
Feb 02 20:30:21 circassia dracut-initqueue[368]: Warning: dracut-initqueue
timeout - starting timeout scripts
Feb 02 20:31:22 circassia dracut-initqueue[368]: Warning: Could not boot.
Feb 02 20:31:23 circassia dracut-initqueue[368]: Warning:
/dev/mapper/system- root does not exist
Feb 02 20:31:23 circassia dracut-initqueue[368]: Warning: /dev/system/root
does not exist
Feb 02 20:34:42 circassia dracut-initqueue[368]: Warning: Not all disks
have been found.
Feb 02 20:34:42 circassia dracut-initqueue[368]: Warning: You might want
to
regenerate your initramfs.
Feb 02 20:34:42 circassia systemd[1]: Started dracut initqueue hook.


and i endup in a shell. luckily enough with some magic I managed to boot
but regenerating initrd as suggedsted did not help.

cryptsetup luksOpen /dev/<part> cr_lvm
lvm vgchange -ay
ln -s /dev/mapper/<root> /dev/root
exit

and then it boots...

Alin


this happened with both kernel 4.10 from kernel head and 4.9 from
Tumbleweed.


--
Without Questions there are no Answers!
_______________________________________
Dr. Alin Marin ELENA
http://alin.elena.space/
_______________________________________

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >