Public bug reported:

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

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859197

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1859197/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to