Bug#473217: Wishlist: Don't run ckbcomp at boot-time (use a saved keymap instead) - Debian

This is a discussion on Bug#473217: Wishlist: Don't run ckbcomp at boot-time (use a saved keymap instead) - Debian ; Package: console-setup Version: 1.16 Severity: wishlist The setupcon command, as run by console-setup during boot, runs ckbcomp to generate a console keymap from the X keymap files. This can take on the order of half a second CPU time. setupcon ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Bug#473217: Wishlist: Don't run ckbcomp at boot-time (use a saved keymap instead)

  1. Bug#473217: Wishlist: Don't run ckbcomp at boot-time (use a saved keymap instead)

    Package: console-setup
    Version: 1.16
    Severity: wishlist

    The setupcon command, as run by console-setup during boot, runs ckbcomp
    to generate a console keymap from the X keymap files. This can take on
    the order of half a second CPU time.

    setupcon already saves the resulting keymap in
    /etc/console-setup/boottime.kmap.gz, and has support for using that
    instead. However this is only used when /usr is not mounted. I'm not
    interested in repartitioning my system to use this feature.

    My wish is that this method would be used even when /usr is mounted. It
    may require some documentation but I think it's sane enough.

    It looks like Ubuntu (my primary OS), have altered the console-setup
    init script to regenerate the keymap if run manually (i.e. not by init):

    # Are we running from init?
    run_by_init()
    {
    ([ "$previous" ] && [ "$runlevel" ]) || [ "$runlevel" = S ]
    }

    ....
    elif ! run_by_init; then
    log_action_begin_msg "Saving console font and keymap for next boot"
    if setupcon --save-only; then
    log_action_end_msg 0
    else
    log_action_end_msg $?
    fi
    fi

    So if you edit /etc/default/console-setup manually, you then need to run
    "/etc/init.d/console-setup restart" to apply the changes and regenerate
    the keymap. This happens automatically when dpkg-reconfigure is used.



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#473217: marked as done (Wishlist: Don't run ckbcomp at boot-time (use a saved keymap instead))


    Your message dated Fri, 04 Apr 2008 21:17:19 +0000
    with message-id
    and subject line Bug#473217: fixed in console-setup 1.22
    has caused the Debian Bug report #473217,
    regarding Wishlist: Don't run ckbcomp at boot-time (use a saved keymap instead)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system
    misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    473217: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473217
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


+ Reply to Thread