Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1151239

Summary: Systemd segfaults on start up with custom kernel (no CONFIG_SWAP)
Product: Red Hat Enterprise Linux 7 Reporter: Artem S. Tashkinov <aros>
Component: systemdAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Branislav Blaškovič <bblaskov>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.2CC: bblaskov, jscotka, lmiksik, lnykryn, rhel, systemd-maint-list
Target Milestone: rc   
Target Release: 7.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-208-15.el7 Doc Type: Bug Fix
Doc Text:
This dose not need a doc text. It is a fix for very unsupported case, but the fix was easy so we have decided to put it in rhel7 anyway.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 11:10:27 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:
Attachments:
Description Flags
.config for linux kernel 3.17
none
Screen
none
systemd core dump none

Description Artem S. Tashkinov 2014-10-09 21:07:57 UTC
Description of problem: with my vanilla 3.17 kernel and NO initrd systemd crashes on start up.


Version-Release number of selected component (if applicable): systemd-208-11.el7_0.2.x86_64


How reproducible: always


Steps to Reproduce:
1. Boot
2.
3.

Actual results: segfault


Expected results: a working system


Additional info:

Comment 1 Artem S. Tashkinov 2014-10-09 21:08:34 UTC
Created attachment 945438 [details]
.config for linux kernel 3.17

Comment 2 Artem S. Tashkinov 2014-10-09 21:12:10 UTC
Created attachment 945439 [details]
Screen

Comment 3 Artem S. Tashkinov 2014-10-09 21:13:54 UTC
Created attachment 945440 [details]
systemd core dump

Comment 4 Artem S. Tashkinov 2014-10-09 21:15:48 UTC
Grub configuration:

title RHEL 7 64 (3.17)
        root (hd0,0)
        kernel /boot/bzImage-3.17-64 root=/dev/sda1 ro vga=0x346 5 video=vesafb:mtrr:3,ywrap rootfstype=ext4 nomodeset

(no initrd, /dev has several necessary files prepopulated)

Comment 6 Artem S. Tashkinov 2014-10-09 21:25:42 UTC
Please, include the patch from bug 1069393 ASAP.

Some people actually run their PCs without swap support in the kernel.

Comment 7 Lukáš Nykrýn 2014-10-10 07:29:39 UTC
You are running a setup which is quite different from the supported scenario, so I am sorry but the fix can't be included ASAP.

I will try to get it to 7.2

Comment 8 Lukáš Nykrýn 2014-10-10 08:00:23 UTC
For testing here is our current systemd for 7.2 (mostly untested) with that patch.

https://lnykryn.fedorapeople.org/systemd/systemd-208-14.el7.0.1/

Comment 9 Lukáš Nykrýn 2014-10-10 10:10:07 UTC
s/7.2/7.1/ in my previous comments

Comment 10 Artem S. Tashkinov 2014-10-11 16:59:58 UTC
This release fixes this problem. Thanks!

Comment 14 Branislav Blaškovič 2014-12-18 13:38:07 UTC
Patch available in systemd-208-18.el7:
0362-core-do-not-segfault-if-proc-swaps-cannot-be-opened.patch
And is correctly applied.

Artem S. Tashkinov verified it in comment 10. Thank you.

Marking as SanityOnly.

Comment 16 errata-xmlrpc 2015-03-05 11:10:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0509.html