Bug 33712 - /init: 18: /init: arithmetic expression: expecting EOF: "15"*10"
Summary: /init: 18: /init: arithmetic expression: expecting EOF: "15"*10"
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: make-initrd (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-01 18:40 MSK by Michael Shigorin
Modified: 2017-11-11 04:15 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2017-08-01 18:40:30 MSK
"Благодаря спешке в /boot/boot.conf загрузочной флэшки на e2k получил такое:

<13>Aug  1 14:35:08 initrd: Generating fstab...
<13>Aug  1 14:35:08 initrd: Initialize lo interface...
<13>Aug  1 14:35:08 initrd: Starting sysklog...
<13>Aug  1 14:35:08 initrd: Loading modules before udevd...
<13>Aug  1 14:35:08 initrd: Starting udevd...
<13>Aug  1 14:35:08 initrd: Processing kernel events...
/init: 18: /init: arithmetic expression: expecting EOF: "15"*10"
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200

Опечаткой оказалась кавычка не до, а после rootdelay=15:

       cmdline=console=tty0 console=ttyS0,115200 consoleblank=0 hardreset
 REBOOT root=UUID="4e6bf9dc-b1d4-40b2-97b5-dbc521c583f4 rootdelay=15"
                  ^                                    ^            ^

Забавно, да? :)
Comment 1 Alexey Gladkov 2017-08-02 12:16:10 MSK
Несмотря на то, что ошибка твоя я согласен, что нужно тщательнее проверять параметры.
Comment 3 Repository Robot 2017-11-11 04:15:27 MSK
make-initrd-2.0.5-alt1 -> sisyphus:

Sat Nov 11 2017 Alexey Gladkov <legion@altlinux.ru> 2.0.5-alt1
- Replace parser of /proc/cmdline parameters (ALT#33712).
- Fix unbound variables cpu_vendor cpu_family (ALT#34117).