BTS

Issue1262

Title no timeout in syslinux on grml64-full_2013.02.iso
Priority bug Status resolved
Superseder Nosy List martinslouf, mika
Assigned To mika Topics

Created on 2013-06-08.14:47:38 by martinslouf, last changed 2013-06-26.15:32:51 by mika.

Files
File name Uploaded Type Edit Remove
grml-hwinfo-2013-06-08--16-43-42-CEST.tar.bz2 martinslouf, 2013-06-08.14:47:38 application/octet-stream
Messages
msg4581 (view) Author: mika Date: 2013-06-26.15:32:51
We believe that your issue has been closed by the upload of
Version 0.14.0 of grml2usb from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 26 Jun 2013 17:27:18 +0200
Source: grml2usb
Binary: grml2usb
Architecture: source amd64
Version: 0.14.0
Distribution: unstable
Urgency: low
Maintainer: Grml Team <team@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml2usb   - install Grml system / ISO to usb device
Changes: 
 grml2usb (0.14.0) unstable; urgency=low
 .
   * [360c9e5] Use lowercase 'timeout' command in syslinux configuration
     [Closes: issue1262] Thanks to Martin Å louf for reporting this bug
     including a workaround
   * grml2iso related changes:
     - [20752e3] skip --uefi option of isohybrid if ISO doesn't
       ship /boot/efi.img
     - [f3370b9] extend error message of required ISO generation
       tools with xorriso
     - [8e0bdf8] mention isolinux in 'isohybrid executable not
       found' message, add isolinux to recommends
     - [37fa9f8] disable UEFI mode by default, only enable for
       xorriso under according prerequisites
     - [86c00b8] make sure we have the sbin directories in our PATH
Checksums-Sha1: 
 13357d4e3dbffe4b3ee848ce1a19fb732c1c824b 1083 grml2usb_0.14.0.dsc
 fa304d1504147254a3d93c391138ec5b8e03f594 391589 grml2usb_0.14.0.tar.gz
 d497f4ea0e7009f6c1a155423303cacb9f33e059 217038 grml2usb_0.14.0_amd64.deb
Checksums-Sha256: 
 d80d6d4690c7e8ba1db49e05a0369a93ce905ab66758e741eff78facb17ce6cc 1083 grml2usb_0.14.0.dsc
 e8a1f0ac700a87803b97945781fd88e6c6538a1173d96cc4ff6e32e3aa61facb 391589 grml2usb_0.14.0.tar.gz
 045626a7ccaa429641f1b6e9fd3bb95d99bee32f06fcdcf0d800fe371c16b43a 217038 grml2usb_0.14.0_amd64.deb
Files: 
 26681be7dad5952d413140a0f5c767d0 1083 admin optional grml2usb_0.14.0.dsc
 f05a7010ad3646c6b86f38b3a752d6e1 391589 admin optional grml2usb_0.14.0.tar.gz
 0f9a3ab0269e4566e3a706d445918884 217038 admin optional grml2usb_0.14.0_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlHLCUUACgkQ2N9T+zficugz7wCfUI7MqYQePX0IW5TtIrY5A411
ozMAn1MBRQ6kIHhXjEbv1DH7PyyOpz3M
=Amf+
-----END PGP SIGNATURE-----
msg4579 (view) Author: mika Date: 2013-06-10.23:02:09
* MartinŠlouf wrote in grml's BTS on 20130610 / 19:29:

> one more note -- for usb creation I used my laptop -- debian unstable, so:

> martin@chocholous /home/martin
> $ uname -a
> Linux chocholous 3.9-1-amd64 #1 SMP Debian 3.9.4-1 x86_64 GNU/Linux

ok

> martin@chocholous /home/martin
> $ dpkg -l syslinux grml2usb
[...]
> ii  grml2usb               0.13.8           amd64            install Grml system / ISO to usb device
> ii  syslinux               3:4.05+dfsg-6+de amd64            collection of boot loaders

I assume this is syslinux 3:4.05+dfsg-6+deb7u3.

Very strange, even the official syslinux documentation
says "Keywords are case insensitive" so I absolutely don't
understand why it's failing for you.

Alright, since we at least know how to fix your issue let's apply
your proposed workaround:

  http://goo.gl/kWfup
  http://goo.gl/vg9lz

Once grml2usb gets released this bug will be automatically closed.

Thanks for your feedback!

regards,
-mika-
msg4578 (view) Author: martinslouf Date: 2013-06-10.17:29:48
one more note -- for usb creation I used my laptop -- debian unstable, so:

martin@chocholous /home/martin
$ uname -a
Linux chocholous 3.9-1-amd64 #1 SMP Debian 3.9.4-1 x86_64 GNU/Linux

martin@chocholous /home/martin
$ dpkg -l syslinux grml2usb
Požadované=Neznámé/Instalovat/Odinstalovat/Vyčistit/Podržet
| Stav=Ne/Instalován/Konfigurační soubory/Rozbalen/Nezkonfigurován/Nekompletní
| instalace/Očekávané spouštěče/Nevyřízené spouštěče
|/ Chyba?=(nic)/Nutná přeinstalace (Stav,Chyba: velké písmeno=chyba)
||/ Název                 Verze            Architektura     Popis
+++-======================-================-================-================================================
ii  grml2usb               0.13.8           amd64            install Grml system / ISO to usb device
ii  syslinux               3:4.05+dfsg-6+de amd64            collection of boot loaders

m.

On Mon, Jun 10, 2013 at 04:45:22PM +0000, Michael Prokop wrote:
>
> Michael Prokop <mika@grml.org> added the comment:
>
> * MartinŠlouf wrote in grml's BTS on 20130608 / 16:52:
>
> > i believe i have found a bug in (otherwise great :-) GRML distribution.
>
> [...]
> > 6. As it seems, current grm2usb script has an error
>
> > $ diff /usr/sbin/grml2usb /usr/sbin/grml2usb~
> > 1387c1387
> > <     syslinux_config_file.write("timeout 300\n")
> > ---
> > >     syslinux_config_file.write("TIMEOUT 300\n")
>
> > Problem is that "TIMEOUT" is given with uppercase letters; change to
> > lowercase and you are fine.
>
> This never was an issue so far, AFAIK syslinux also shouldn't
> care about upper case vs. lower case, so I'm wondering why this
> happens to you but no one else (so far).
> Are you using grml2usb directly from the grml64-full_2013.02 ISO
> with the syslinux version shipped with grml64-full_2013.02?
>
> (I'm happy to adjust the timeout setting accordingly, but I'd like
> to understand what's going on.)
>
> Thanks!
>
> regards,
> -mika-
>
> ----------
> status: unread -> chatting
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1262>
> _____________________________________
>
msg4577 (view) Author: martinslouf Date: 2013-06-10.17:23:30
Hi,

neither I understand it, but what really helped was to lowercase the
'TIMEOUT' setting.

I am using grml2usb as installed from your repo:

# - - - -
deb     http://deb.grml.org/ grml-testing main
deb-src http://deb.grml.org/ grml-testing main
# - - - -

# dpkg -l grml2usb
ii  grml2usb    0.13.8       amd64      install Grml system / ISO to usb device

I really just changed the case as you can see from the diff, if there is
any additional info or any testing, do not hesitate to ask, I am ready to
provide. I am on the IRC #grml as 'bubak' you are 'mika', I guess.

Best Regards,
martin

On Mon, Jun 10, 2013 at 04:45:22PM +0000, Michael Prokop wrote:
>
> Michael Prokop <mika@grml.org> added the comment:
>
> * MartinŠlouf wrote in grml's BTS on 20130608 / 16:52:
>
> > i believe i have found a bug in (otherwise great :-) GRML distribution.
>
> [...]
> > 6. As it seems, current grm2usb script has an error
>
> > $ diff /usr/sbin/grml2usb /usr/sbin/grml2usb~
> > 1387c1387
> > <     syslinux_config_file.write("timeout 300\n")
> > ---
> > >     syslinux_config_file.write("TIMEOUT 300\n")
>
> > Problem is that "TIMEOUT" is given with uppercase letters; change to
> > lowercase and you are fine.
>
> This never was an issue so far, AFAIK syslinux also shouldn't
> care about upper case vs. lower case, so I'm wondering why this
> happens to you but no one else (so far).
> Are you using grml2usb directly from the grml64-full_2013.02 ISO
> with the syslinux version shipped with grml64-full_2013.02?
>
> (I'm happy to adjust the timeout setting accordingly, but I'd like
> to understand what's going on.)
>
> Thanks!
>
> regards,
> -mika-
>
> ----------
> status: unread -> chatting
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1262>
> _____________________________________
>
msg4576 (view) Author: mika Date: 2013-06-10.16:45:22
* MartinŠlouf wrote in grml's BTS on 20130608 / 16:52:

> i believe i have found a bug in (otherwise great :-) GRML distribution.

[...]
> 6. As it seems, current grm2usb script has an error

> $ diff /usr/sbin/grml2usb /usr/sbin/grml2usb~
> 1387c1387
> <     syslinux_config_file.write("timeout 300\n")
> ---
> >     syslinux_config_file.write("TIMEOUT 300\n")

> Problem is that "TIMEOUT" is given with uppercase letters; change to
> lowercase and you are fine.

This never was an issue so far, AFAIK syslinux also shouldn't
care about upper case vs. lower case, so I'm wondering why this
happens to you but no one else (so far).
Are you using grml2usb directly from the grml64-full_2013.02 ISO
with the syslinux version shipped with grml64-full_2013.02?

(I'm happy to adjust the timeout setting accordingly, but I'd like
to understand what's going on.)

Thanks!

regards,
-mika-
msg4574 (view) Author: martinslouf Date: 2013-06-08.14:47:38
Hi,

i believe i have found a bug in (otherwise great :-) GRML distribution.

*
* Steps to reproduce the problem
*

1. Download grml64-full_2013.02.iso
2. Create bootable USB stick with grml2usb tool using syslinux
3. Use it to boot amd64 system

*
* Expected behaviour
*

4. After some timeout, there should be a default option ('grml') and it
should boot

*
* Actual behaviour
*

5. No timeout is defined, waits for user input to manually select an option
(not very handy with servers)

6. As it seems, current grm2usb script has an error

$ diff /usr/sbin/grml2usb /usr/sbin/grml2usb~
1387c1387
<     syslinux_config_file.write("timeout 300\n")
---
>     syslinux_config_file.write("TIMEOUT 300\n")

Problem is that "TIMEOUT" is given with uppercase letters; change to
lowercase and you are fine.

*
* Your system configuration (run grml-hwinfo)
*

See attachment.

*
* Software versions (try foo --version or dpkg -l foo)
*

grml64-full_2013.02.iso
grml2usb 0.13.8 # grml2usb --version
History
Date User Action Args
2013-06-26 15:32:51mikasetstatus: fixed-in-git -> resolved
messages: + msg4581
2013-06-10 23:02:46mikasetstatus: need-eg -> fixed-in-git
2013-06-10 23:02:09mikasetmessages: + msg4579
2013-06-10 17:29:48martinsloufsetmessages: + msg4578
2013-06-10 17:23:30martinsloufsetmessages: + msg4577
2013-06-10 16:46:28mikasetstatus: chatting -> need-eg
priority: bug
nosy: + mika
assignedto: mika
2013-06-10 16:45:22mikasetstatus: unread -> chatting
messages: + msg4576
2013-06-08 14:47:38martinsloufcreate