Bug 787575 - No /var/log/dmesg with systemd init
Summary: No /var/log/dmesg with systemd init
Keywords:
Status: CLOSED DUPLICATE of bug 719398
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-06 07:51 UTC by Michael Convey
Modified: 2014-03-17 03:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-06 09:02:15 UTC
Type: ---


Attachments (Terms of Use)

Description Michael Convey 2012-02-06 07:51:37 UTC
Similar to the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=719398

When using systemd, the kernel boot messages are not dumped into
/var/log/dmesg.  With the old sysv-style init, /etc/rc.d/rc.sysinit included:

# Now that we have all of our basic modules loaded and the kernel going,
# let's dump the syslog ring somewhere so we can find it later
[ -f /var/log/dmesg ] && mv -f /var/log/dmesg /var/log/dmesg.old
dmesg -s 131072 > /var/log/dmesg

This is very useful to have; a single file with the boot messages that is not
logrotated away.

Comment 1 leigh scott 2012-02-06 09:02:15 UTC

*** This bug has been marked as a duplicate of bug 719398 ***


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