`script` hangs when killing the child process with ^C

Bug #1859197 reported by CB
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu

Description: Ubuntu 18.04.3 LTS
Release: 18.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center

util-linux:
  Installed: 2.31.1-0.4ubuntu3.4
  Candidate: 2.31.1-0.4ubuntu3.4
  Version table:
 *** 2.31.1-0.4ubuntu3.4 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.31.1-0.4ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
     2.30.1-0ubuntu4 90
         90 http://old-releases.ubuntu.com/ubuntu artful/main amd64 Packages
     2.27.1-6ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

3) What you expected to happen

Running script --command 'sleep 5', and hitting ctrl+c before the sleep command exits, causes script to hang indefinitely.

4) What happened instead

ctrl-c should exit script without hanging.

Note: already fixed upstream, see: https://github.com/karelzak/util-linux/issues/686

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.