Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:B
dracut
0310-95resume-Do-not-resume-on-iSCSI.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0310-95resume-Do-not-resume-on-iSCSI.patch of Package dracut
From 7cafbd9fe0f0799dc1a5c795d716e6732deb47ce Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Thu, 13 Oct 2016 09:58:32 +0200 Subject: [PATCH 1/3] 95resume: Do not resume on iSCSI The iSCSI configuration is started after dracut checks for resume, so we run into a timeout here. Additionally it's questionable if resume on iSCSI makes sense (or is even supported on the platform), so disable it for now. References: bsc#999663 Signed-off-by: Hannes Reinecke <hare@suse.com> --- modules.d/95resume/module-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh index 7fe6df3..b11f8e8 100755 --- a/modules.d/95resume/module-setup.sh +++ b/modules.d/95resume/module-setup.sh @@ -2,6 +2,11 @@ # called by dracut check() { + if dracut_module_included "iscsi" ; then + # Do not attempt resume on iscsi + return 255 + fi + # No point trying to support resume, if no swap partition exist [[ $hostonly ]] || [[ $mount_needs ]] && { for fs in "${host_fs_types[@]}"; do -- 2.6.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor