All of lore.kernel.org
 help / color / mirror / Atom feed
* rd.break=cmdline broken
@ 2013-07-12  4:37 WANG Chao
       [not found] ` <20130712043749.GA4867-ALckc1lQpMDv8MId6FTy5BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: WANG Chao @ 2013-07-12  4:37 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Hi, Harald

I find that rd.break=cmdline will cause a dead lock of service
dependencies.

dracut-cmdline.service:
[..]
Before=systemd-vconsole-setup.service

dracut-emergency.service:
[..]
After=systemd-vconsole-setup.service
Wants=systemd-vconsole-setup.service

So it appears to be a dead lock between systemd-vconsole-setup.service
and dracut-cmdline.service if we issue dracut-emergency.service with
rd.break=cmdline.

Because vconsole.conf is generated under cmdline hook, so simply remove
'Before=systemd-vconsole-setup.service' wouldn't be a decent solution.

Wondering if you have any idea how to fix it.

Thanks,
WANG Chao

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rd.break=cmdline broken
       [not found] ` <20130712043749.GA4867-ALckc1lQpMDv8MId6FTy5BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
@ 2013-07-12  6:44   ` Harald Hoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2013-07-12  6:44 UTC (permalink / raw)
  To: WANG Chao; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On 07/12/2013 06:37 AM, WANG Chao wrote:
> Hi, Harald
> 
> I find that rd.break=cmdline will cause a dead lock of service
> dependencies.
> 
> dracut-cmdline.service:
> [..]
> Before=systemd-vconsole-setup.service
> 
> dracut-emergency.service:
> [..]
> After=systemd-vconsole-setup.service
> Wants=systemd-vconsole-setup.service
> 
> So it appears to be a dead lock between systemd-vconsole-setup.service
> and dracut-cmdline.service if we issue dracut-emergency.service with
> rd.break=cmdline.
> 
> Because vconsole.conf is generated under cmdline hook, so simply remove
> 'Before=systemd-vconsole-setup.service' wouldn't be a decent solution.
> 
> Wondering if you have any idea how to fix it.
> 
> Thanks,
> WANG Chao
> 

We/I should either make the vconsole.conf cmdline parsing script a generator and
be moved out of the cmdline hook; or more likely remove the deprecated,
following kernel command line parameters, when using systemd:

- KEYTABLE
- SYSFONT
- CONTRANS
- UNIMAP
- KEYMAP
- FONT
- FONT_MAP
- FONT_UNIMAP
- UNICODE
- EXT_KEYMAP
- LANG
- LC_ALL

and only accept vconsole.* and locale.* parameters, which are handled by systemd
out of the box.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-12  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12  4:37 rd.break=cmdline broken WANG Chao
     [not found] ` <20130712043749.GA4867-ALckc1lQpMDv8MId6FTy5BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2013-07-12  6:44   ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.