Project

General

Profile

Bug #3765

fast reboot fails when kernel parameters get too long

Added by Michael Keller over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-05-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

a fast reboot initiated via

/usr/sbin/reboot -f -- dataset -B kernel,parameters

will fail if the part after "-B" gets too long.

In fact the kernel,parameters can't be that long as a GRUB menu entry... .

The limit seems to be about 150 characters, but I didn't find where exactly this is enforced within the sources (as in reboot.c or a routine called by that has a limit of 512 characters when copying the reboot arguments...)

Also available in: Atom PDF