chvt makes two ioctl calls, one to change the VT and one to wait for the new VT to become active. There's a race condition here; if something changes the VT back before the second ioctl, chvt will block indefinitely (or until something else changes to the correct VT).
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351564 Title: chvt sometimes hangs, causing hibernation to fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kbd/+bug/1351564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs