Bug 26372 - rebootin doesn't like special symbols in the label
Summary: rebootin doesn't like special symbols in the label
Status: NEW
Alias: None
Product: Branch 5.1
Classification: Distributions
Component: bootloader-utils (show other bugs)
Version: unspecified
Hardware: all Linux
: P3 normal
Assignee: at@altlinux.org
QA Contact: QA 5.1
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 02:34 MSK by Ivan Zakharyaschev
Modified: 2011-09-27 00:50 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 .