Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 874553 - rd.debug boot option doesn't log to /run/initramfs/init.log
Summary: rd.debug boot option doesn't log to /run/initramfs/init.log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 18
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker
Depends On:
Blocks: fedora19rtt
TreeView+ depends on / blocked
 
Reported: 2012-11-08 12:39 UTC by Jan Stodola
Modified: 2013-05-29 13:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-29 13:45:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.