Bug 531566
Summary: | Need a way of setting totaltimeout for syslinux.conf file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Walsh <dwalsh> | ||||
Component: | livecd-tools | Assignee: | Brian Lane <bcl> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | bcl, bruno, Jasper.Hartline, katzj | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | livecd-tools-14.0-1.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-11-11 17:41:52 UTC | Type: | --- | ||||
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
Daniel Walsh
2009-10-28 19:02:59 UTC
Created attachment 366484 [details]
Here is the patch to support totaltimeout
This would require pykickstart to support totaltimeout and that's then super bootloader-specific implementation details creeping into kickstart. Which is wrong. We should just do the right thing and not push lame interfaces to our users. If the right thing is that a timeout of zero implies "non-interruptible", then we should just set that if that's the given timeout. And also, that then needs verification that the behavior is the same when being used on an EFI system booting via GRUB as we support that and otherwise, your "secure" boot isn't so secure. That is fine. I just want un-interuptable boots so users can not tell a livecd to come up in single user mode. The best you can do with syslinux.conf is .1 seconds. 0 Seconds indicates disabled. I can investigate how to do this with the other types of boots. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Revisiting this bug, Is there any way for my kick start script to muck around with the syslinux.sys file? I looked at EFI and could not see a way to build a non blockable boot. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. The way to do this would be through the livecd-iso-to-disk script or if you look in python-imgcreate in live.py around lines 424 you could set your timeout. I am sure we wouldn't want to introduce something like this into livecd-creator. Here is the code block if you're interested in doing customizations however: def __get_basic_syslinux_config(self, **args): return """ default %(menu)s timeout %(timeout)d %(background)s menu title Welcome to %(name)s! menu color border 0 #ffffffff #00000000 menu color sel 7 #ffffffff #ff000000 menu color title 0 #ffffffff #00000000 menu color tabmsg 0 #ffffffff #00000000 menu color unsel 0 #ffffffff #00000000 menu color hotsel 0 #ff000000 #ffffffff menu color hotkey 7 #ffffffff #ff000000 menu color timeout_msg 0 #ffffffff #00000000 menu color timeout 0 #ffffffff #00000000 menu color cmdline 0 #ffffffff #00000000 menu hidden menu hiddenrow 5 """ % args syslinux doesn't support this, so I don't see any solution. I agree the code should be put into livecd-iso-to-disk script Brian syslinux supports totaltimeout=1 Which gives me what I want. If I'm understanding correctly 1 will give you .1 and also allow users to hit a key to get the menu. It may narrow down the window of time where the key is recognized (I'm guessing) but won't lock things down for you. no that is not the way it works. totaltimeout is not interuptable. After .1 seconds the boot will start whether or not a user types anything. Ok, totaltimeout really seem to work. Sorry I didn't notice there were 2 different ones earlier. livecd-tools-14.0-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/livecd-tools-14.0-1.fc14 Awesome, thanks. livecd-tools-14.0-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |