search for: onerror

Displaying 20 results from an estimated 92 matches for "onerror".

Did you mean: noerror
2017 Sep 24
3
Fallback to second menu entry, ONERROR looping forever
Hello I want to fallback to a second boot entry, if the kernel is missing for the first entry. So I through I could use ONERROR, but syslinux just continue to try starting the first entry. Am I doing something wrong? or can't this be done with syslinux? default menu.c32 prompt 0 MENU HIDDEN MENU AUTOBOOT TIMEOUT 2 ONERROR live-generic label grub ??? menu label ^Grub ??? menu default ??? linux /boot/grub/lnxboot...
2017 Sep 27
0
Fallback to second menu entry, ONERROR looping forever
On Sun, Sep 24, 2017 at 4:44 PM, Kristian Klausen via Syslinux <syslinux at zytor.com> wrote: > Hello > > I want to fallback to a second boot entry, if the kernel is missing for > the first entry. > > So I through I could use ONERROR, but syslinux just continue to try > starting the first entry. > > Am I doing something wrong? or can't this be done with syslinux? I snipped the config to later. > - Kristian Klausen What version of Syslinux from what build/source is being used? On Wed, Sep 27, 2017 at 12:43 A...
2017 Sep 27
0
Fallback to second menu entry, ONERROR looping Syslinux Digest, Vol 174, Issue 3
Hi! I think thats the whole point with ONERROR. We use it in PXELINUX with a reload label. So we can reload pxelinux (ONERROR) if someone types something wrong ?intall? instead of ?install?. ? Torgeir Sendt fra min iPhone 25. sep. 2017 kl. 21:03 skrev "syslinux-request at zytor.com<mailto:syslinux-request at zytor.com>" <...
2007 Jan 16
1
ONERROR not triggered in PXELINUX 3.31 when ramdisk missing
Hello, I tested some things, and found the following: when the kernel image file is present, but the initrd image is not, ONERROR is not called, and PXELINUX stays in the prompt forever ... Other error scenarios tested okay, a down/unresponding TFTP server can lead to 15-20 minutes delay until all tried filenames timeout out ... Just to let you know :) Andreas -- "The problem is not how to wipe out all difference...
2008 Apr 22
5
which should I use: TIMEOUT, ONTIMEOUT, or ONERROR ?
Hi. I'm trying to get around the problem of an overloaded tftp server causing a pxelinux client hanging at the boot: prompt, waiting for input (no one will input anything to it). The server is OK enough to give the pxebootloader but not the config file, as in this thread: http://syslinux.zytor.com/archives/2004-June/003662.html So, in that case, I guess setting TIMEOUT to some
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...tches out so that they only change one file or one type of problem at once. So, if they do inadvertently introduce any bugs it should at least be easy to bisect to a smallish commit. The following changes since commit 9ded45991b4fc83b40af963feb773ddca2589d74: ldlinux: Parse and store the "onerror" command line (2011-03-09 14:32:36 +0000) are available in the git repository at: git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/fix-compiler-warnings Liu Aleaxander (1): elflink: Cleanup some warnings Matt Fleming (9): ldlinux: Fix the following warnings...
2013 Feb 12
2
suggestions for global APPEND consistency
Hello Syslinux Team, I have some suggestions / requests regarding global APPEND commands. These would make the behavior more consistent and more useful for practical cases. 1_ Add some functionality equivalent to "APPEND -" to the command prompt. 2_ Activate the functionality of ONERROR from [vesa]menu.c32 too. Currently, ONERROR only works from the command prompt. 3_ Add a new directive that would function as global APPEND, with the difference that it could be merged with specific KERNEL+INITRD+APPEND commands (those that are used after LABEL). *Just for the purpose of this...
2019 Apr 22
1
Bug/limitation: allowoptions (for label), implicit (for automated)
...be considered as not being user_supplied as If one can use syslinux/extlinux to set the boot-once, one can likely also totally change the configuration file anyway. Safety/security here has to come from managing who can use the tools. On the distinction of command coming from the user or not, the ONERROR command could be ignore for user supplied commands. Not sure yet, if there's a need for yet another option to choose the behaviour between the current one and the one I think is the right one. For the behaviour of onerror, it might need such option, but onerror as other issue which require its...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
...nk: Look for syslinux.cfg elflink: Move config data into config.h elflink: Don't reload the current EXEC_MODULE module Convert mp() to dprintf() ldlinux: Record "default" and "ui" command lines ldlinux: Parse configuration files ldlinux: Parse and store the "onerror" command line com32/Makefile | 2 +- com32/elflink/ldlinux/Makefile | 38 ++++ {core/elflink => com32/elflink/ldlinux}/adv.c | 0 {core/elflink => com32/elflink/ldlinux}/cli.c | 51 ++++- {core/elflink => co...
2023 Nov 20
2
Online Backup failed....
...md/__init__.py", line 185, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 303, in run shutil.rmtree(tmpdir) File "/usr/lib/python3.9/shutil.py", line 718, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd _rmtree_safe_fd(dirfd, fullname, onerror) File "/usr/lib/python3.9/shutil.py", line 659, in _rmtree_safe_fd onerror(os.rmdir, fullname, sys.exc_info()) File "/usr/lib/python3.9/shutil.py",...
2012 May 04
3
[GIT PULL] elflink fixes
...link/ldlinux/config.h b/com32/elflink/ldlinux/config.h index cab4c70..b15a082 100644 --- a/com32/elflink/ldlinux/config.h +++ b/com32/elflink/ldlinux/config.h @@ -35,6 +35,7 @@ extern short nohalt; //idle.inc extern const char *default_cmd; //"default" command line extern const char *onerror; //"onerror" command line +extern const char *ontimeout; //"ontimeout" command line extern void cat_help_file(int key); extern struct menu_entry *find_label(const char *str); diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c index da93c54..f11a65...
2006 Sep 04
0
Patch to menu.c32 from syslinux 3.20
Hi, I'm attaching a patch to Syslinux dealing with a handful of issues that were preventing me from using the simple menu interface. Issues covered: * Enable "MENU ONERROR" as a keyword on par with "ONERROR". * Enable hidden menu entries to be used as ontimeout and onerror entries (probably the least estheticalla pleasing part, sorry about that.) * Make global "IPAPPEND" directives apply also when using menu.c32. * Memory allocation fix for...
2010 Sep 14
0
Handling error scenarios in the core
With my recent work on UI/DEFAULT, I've been hunting around in the core code to find any other locations that this new usage would be useful. As a result, I've come up with a few questions. 1) core/com32.inc: not_com32r jumps to enter_command. Should it do something based on ONERROR? 2) core/comboot.inc: comboot_bogus_tail and comboot_too_large go to enter_command. Again, use ONERROR? There may be more that I'm missing. I know bad_implicit/bad_kernel and error_or_command (from abort_load) already use it. I know abort_check (executed with user input) does not but this...
2014 Mar 19
2
Checking CRC (of bzImage) before loading
...w to implement the requirement ? > > A custom COM32 module. Look at ifcpu.c32 for an example of an if-else > module and the crypto functions in com32/util/ > Or we could make the Linux loader (load_linux.c) throw an error on a bad CRC, which is probably a good idea anyway. Then the ONERROR option can be used for the fallback. -hpa
2023 Nov 20
1
Online Backup failed....
...init__.py", line 185, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 303, in run shutil.rmtree(tmpdir) File "/usr/lib/python3.9/shutil.py", line 718, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd _rmtree_safe_fd(dirfd, fullname, onerror) File "/usr/lib/python3.9/shutil.py", line 659, in _rmtree_safe_fd onerror(os.rmdir, fullname, sys.exc_info()) File "/usr/lib/python3.9/shutil.py&q...
2023 Nov 20
4
Online Backup failed....
Hey, dir exisit.... root at dc01:/autofs/backup# ls -la /autofs/backup/linux/samba_dom/backup.tgz/ insgesamt 12484 drwxr-xr-x 4 root root 4096 20. Nov 14:02 . drwxr-xr-x 3 root root 4096 20. Nov 14:00 .. -rw-r--r-- 1 root root 12765535 20. Nov 14:03 samba-backup-samba.laurenz.ws-2023-11-20T14-02-51.306281.tar.bz2 drwx------ 2 root root 4096 20. Nov 14:00 tmpdz6serc_ drwx------ 7 root
2007 Apr 04
3
Ajax.Updater -- returning failure from a php script
If I give Ajax.Updater a first arg like{ success: ''replies'', failure: ''errors''}, how do I return an error from a php script so the message goes in ''errors'' rather than ''replies''? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2014 Jun 26
2
ALLOWOPTIONS directive
...u.c32 and delete part of the command, is the resulting command allowed? 6_ How exactly is a command "not accepted"? What happens then? Is the entire command rejected? Or is the typed-in kernel executed without options? Or is the DEFAULT command executed (without options)? Or is the ONERROR command executed (without options)? Or is the first label found with "similar" options executed? Or...? The reason I am asking these questions is because I am testing "ALLOWOPTIONS 0" and I am slightly confused by the result. Knowing what I am supposed to expect would help m...
2007 Apr 03
2
Some cryptic error in IE
...var newsDoc = transport.responseXML; var newDocument = processor.transformToDocument(newsDoc); $(''_loadingId'').update(''''); $(''_content'').update(''''); $(''_content'').appendChild(newDocument.firstChild); }, onError: function(transport,exception){ alert("Error :"+exception); }, onException: function(transport,exception) { alert("Exception :"+exception); var err; for(var ex in exception) { err += "<br/>"+exception[ex]; } document.write(err); } }); regards, Ra...
2023 Nov 20
1
Online Backup failed....
...185, in _run > return self.run(*args, **kwargs) > File > "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line > 303, in run shutil.rmtree(tmpdir) > File "/usr/lib/python3.9/shutil.py", line 718, in rmtree > _rmtree_safe_fd(fd, path, onerror) > File "/usr/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd > _rmtree_safe_fd(dirfd, fullname, onerror) > File "/usr/lib/python3.9/shutil.py", line 659, in _rmtree_safe_fd > onerror(os.rmdir, fullname, sys.exc_info()) > File "/usr/lib/p...