Bug 874553

Summary: rd.debug boot option doesn't log to /run/initramfs/init.log
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: dracutAssignee: dracut-maint
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, dracut-maint, harald, jonathan, mbanas, robatino, tflink
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: RejectedBlocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-29 13:45:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 920667    

Description Jan Stodola 2012-11-08 12:39:42 UTC
Description of problem:
When booting with rd.debug boot option, dracut should log to /run/initramfs/init.log.

man dracut.cmdline says:
...
rd.debug
    set -x for the dracut shell and logs to dmesg, console and /run/initramfs/init.log
...

With dracut-024-5.git20121019.fc18, this logging file doesn't exist at all:
switch_root:/# ls /run/initramfs/
root-fsck  switch-root.conf
switch_root:/# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.6.6-3.fc18.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.md=0 rd.dm=0 rd.luks=0 rd.lvm.lv=fedora/root rd.debug rd.break
switch_root:/#

Version-Release number of selected component (if applicable):
dracut-024-5.git20121019.fc18

How reproducible:
always

Steps to Reproduce:
1. append "rd.debug rd.break" to the kernel command line and boot
2. wait for dracut rescue shell
3. look for /run/initramfs/init.log
  
Actual results:
/run/initramfs/init.log is missing

Expected results:
/run/initramfs/init.log is present and contains debug messages

Comment 1 Harald Hoyer 2012-11-29 15:34:43 UTC
I have a patch for /run/initramfs/sosreport.txt with extended information to attach to a bug report.

Comment 2 Adam Williamson 2012-12-03 17:57:46 UTC
Discussed at 2012-12-03 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-12-03/f18final-blocker-review-1.2.2012-12-03-17.25.log.txt . Rejected as a blocker: this doesn't obviously hit any of the release criteria, and no particular justification was provided here or in the meeting beyond 'it makes debugging dracut a pain' - which is a shame, but doesn't obviously seem to be a release blocking issue.

Comment 3 Harald Hoyer 2013-05-29 13:45:51 UTC
fixed with F19