Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 220091 Details for
Bug 323651
zipl does not accept timeout parameter in /etc/zipl.conf
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add support for 'timeout=<value>' in zipl config
s390-tools-zipl-timeout.patch (text/plain), 1.69 KB, created by
Brad Hinson
on 2007-10-08 19:47:27 UTC
(
hide
)
Description:
Add support for 'timeout=<value>' in zipl config
Filename:
MIME Type:
Creator:
Brad Hinson
Created:
2007-10-08 19:47:27 UTC
Size:
1.69 KB
patch
obsolete
>Add support for timeout=<value> in config. >Brad Hinson <bhinson@redhat.com> > >--- s390-tools-1.5.3/zipl/src/scan.c.orig >+++ s390-tools-1.5.3/zipl/src/scan.c >@@ -33,7 +33,7 @@ > * rs enu > */ > /* defaultboot */ >- {opt, inv, inv, inv, inv, inv, inv, inv, req, inv, inv, opt, inv}, >+ {opt, inv, inv, inv, inv, inv, inv, inv, req, inv, opt, opt, inv}, > /* ipl */ > {inv, inv, inv, req, opt, opt, opt, inv, opt, inv, inv, inv, inv}, > /* segment load */ > >--- s390-tools-1.5.3/zipl/src/job.c.orig >+++ s390-tools-1.5.3/zipl/src/job.c >@@ -1221,6 +1221,7 @@ > int i, j, pos, numsec, size, defaultpos; > char *name; > char *target; >+ char *timeout; > char *seclist[1024]; > char *defaultsection; > char buf[1024]; >@@ -1230,6 +1231,7 @@ > numsec = 0; > name = NULL; > target = NULL; >+ timeout = NULL; > for (i = 0; (int) scan[i].id != 0; i++) { > if (scan[i].id == scan_id_section_heading) { > name = scan[i].content.section.name; >@@ -1246,6 +1248,10 @@ > scan[i].content.keyword.keyword == scan_keyword_target && > !strcmp(DEFAULTBOOT_SECTION, name)) > target = scan[i].content.keyword.value; >+ >+ if (scan[i].id == scan_id_keyword_assignment && >+ scan[i].content.keyword.keyword == scan_keyword_timeout) >+ timeout = scan[i].content.keyword.value; > } > get_default_section(scan, &defaultsection, &j); > >@@ -1299,7 +1305,10 @@ > scan[i].id = scan_id_keyword_assignment; > scan[i].line = i; > scan[i].content.keyword.keyword = scan_keyword_timeout; >- scan[i++].content.keyword.value = misc_strdup("15"); >+ if (timeout) >+ scan[i++].content.keyword.value = misc_strdup(timeout); >+ else >+ scan[i++].content.keyword.value = misc_strdup("15"); > > pos = i; > for (i = 0; i<numsec; i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 323651
: 220091