Bug 26372

Summary: rebootin doesn't like special symbols in the label
Product: Branch 5.1 Reporter: Ivan Zakharyaschev <imz>
Component: bootloader-utilsAssignee: at <at>
Status: NEW --- QA Contact: QA 5.1 <qa-5.1>
Severity: normal    
Priority: P3 CC: radik
Version: unspecified   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2011-09-26 02:34:02 MSK
bootloader-utils-0.4.8-alt2

rebootin seems not to like some special symbols (e.g., ?) in the labels:

# rebootin 'rLwc?:2630-std-def-15'
Unknown label "rLwc?:2630-std-def-15"
# 

although such a label is actually there (I've created it by hand -- I actually wanted such a label, because it helps me remember certain buggy features of these kernels):


# rebootin -l
ALTLinux
ALTLinux@Yauza
ALTLinux@Zephyrous
failsafe
Windows
memtest
?L?c?:2625-std-def-8M411
rL?c?:2625-std-def-8M415
rLw??:2630-std-def-14
?l???:2632-std-def-15
rLwc?:2630-std-def-15
?????:2632-std-ng-16
?l???:2632-std-def-16
RlWcX:2632-un-def-5
?????:2632-un-def-16
RL?C?:2632-el-smp-10
Rl?C?:2632-std-def-20M50P1
# 

The manpage and the help message (rebootin -h) doesn't document this -- that some symbols in the argument are treated in a special way.
Comment 1 Ivan Zakharyaschev 2011-09-27 00:50:15 MSK
(Well, of course, the value of rebootin is small, because one can simply do "lilo -R <label>" and then "reboot".)

However, in my case, I wasn't even able to use "lilo -R 'rLwc?:2630-std-def-15'" successfully (although the label is correct); probably, due to a bug in lilo -- https://bugzilla.altlinux.org/show_bug.cgi?id=26379 .