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 1458866

Summary: System hangs during shutdown/reboot because of early swapoff attempt
Product: Red Hat Enterprise Linux 7 Reporter: techiek7
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.0CC: dtardon, gabriel, jsynacek, systemd-maint-list, techiek7
Target Milestone: rc   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-01 17:12:03 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:

Description techiek7 2017-06-05 16:59:22 UTC
Description of problem:

System hangs during shutdown/reboot. "journalctl" logs show "swapoff failed". Issue occurred on systemd-219.


Steps to Reproduce:
1. System having 512 MB of RAM and 1.5 GB swap
2. Use ~400 MB RAM and ~400 MB swap  

Actual results:

System hangs at shutdown/reboot for 30 minutes.

Expected results:

System should reboot/shutdown without any delay.

Comment 2 Jan Synacek 2017-06-06 08:43:27 UTC
If this is reproducible on your machine, please boot with 'debug' on the kernel command line and attach the log to this bugzilla. Also, provide the output of 'uname -a' and 'rpm -q systemd'.

Comment 3 David Tardon 2018-07-01 17:12:03 UTC

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

Comment 4 Red Hat Bugzilla 2023-09-14 03:58:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days