bugSystem V style init programs - Bugs: bug #35311, can't determine console name when...


bug #35311: can't determine console name when using kernel < 2.6.38 with newer headers

Submitted by:  None
Submitted on:  Sun 15 Jan 2012 11:02:23 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 15 Jan 2012 11:06:58 AM UTC, comment #1:

This causes bootlogd to silently fail with exit code 1.

Jonathan Liu <net147>
Sun 15 Jan 2012 11:02:23 AM UTC, original submission:

If using newer kernel headers that define TIOCGDEV on older kernel that doesn't support it, calling TIOCGDEV ioctl returns EINVAL but bootlogd.c consolename() function only expects ENOIOCTLCMD. consolename() function should also check for EINVAL and continue instead of giving up.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #24825:  tiocgdev.patch added by None (444B - application/octet-stream - Patch to fix bug)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by net147 (Posted a comment)
  • -unavailable- added by net147

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Jan 2012 11:05:43 AM UTCnet147Carbon-Copy-=>Added net147
    Sun 15 Jan 2012 11:02:23 AM UTCNoneAttached File-=>Added tiocgdev.patch, #24825

    Back to the top

    Powered by Savane 3.1-cleanup1