Bug 780006

Summary: PROMPT_FOR_CONFIRM has no effect with systemd
Product: [openSUSE] openSUSE 12.2 Reporter: Forgotten User 0Iyw_XgfeX <forgotten_0Iyw_XgfeX>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 0Iyw_XgfeX 2012-09-12 15:21:54 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0

With PROMPT_FOR_CONFIRM="yes" set in /etc/sysconfig/boot the system should ask whether to confirm every step of the boot process, for interactive debugging. It works with SysVinit, but with default systemd the boot process occurs as usual, without any prompts.


Reproducible: Always

Steps to Reproduce:
1. Set PROMPT_FOR_CONFIRM="yes" in /etc/sysconfig/boot
2. Reboot

Actual Results:  
The boot process runs as usual, without prompts

Expected Results:  
The system should ask whether to confirm every step of the boot process
Comment 1 Frederic Crozat 2012-09-18 12:14:56 UTC
does it work if you add "systemd.confirm_spawn=true " to your kernel boot commandline ?

systemd doesn't seem to allow to set this from a configuration file (which seems ok, since it is a debugging tool, you usually don't want this feature to be persistent).
Comment 2 Forgotten User 0Iyw_XgfeX 2012-09-24 12:40:53 UTC
(In reply to comment #1)

PROMPT_FOR_CONFIRM is available from yast, so we have non-working debug option there, which doesn't seem ok to me. 
'systemd.confirm_spawn=true' works somehow, but not without troubles. Garbaged screen, weird timeouts and no kdm at the end even if I press "Y" all the time.
Comment 3 Frederic Crozat 2012-09-24 12:57:17 UTC
There isn't much we can improve regarding PROMPT_FOR_CONFIRM. The other issues are probably improved with upstream systemd (git commit af6da548aa14c57da7f17b3a1f2211efdb811d19).
Comment 4 Frederic Crozat 2013-03-12 12:23:49 UTC
closing as fixed