[Bug 1782570] [NEW] nohup is not preventing jobs from receiving SIGHUP when the shell ends

Paulo Marcel Coelho Aragão 1782570 at bugs.launchpad.net
Thu Jul 19 13:22:47 UTC 2018


Public bug reported:

nohup seems to have stopped working, not sure since when. It's easy to
reproduce:

1. Close your default browser
2. Run:

nohup sensible-browser &

3. Wait for the browser to open
4. Close the terminal emulator

The browser is terminated.

I have discovered that, instead of running nohup, the job has to be
removed from the job table:

sensible-browser &
disown

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: coreutils 8.28-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Jul 19 10:21:56 2018
InstallationDate: Installed on 2018-04-28 (82 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: coreutils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

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

Title:
  nohup is not preventing jobs from receiving SIGHUP when the shell ends

Status in coreutils package in Ubuntu:
  New

Bug description:
  nohup seems to have stopped working, not sure since when. It's easy to
  reproduce:

  1. Close your default browser
  2. Run:

  nohup sensible-browser &

  3. Wait for the browser to open
  4. Close the terminal emulator

  The browser is terminated.

  I have discovered that, instead of running nohup, the job has to be
  removed from the job table:

  sensible-browser &
  disown

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: coreutils 8.28-1ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Thu Jul 19 10:21:56 2018
  InstallationDate: Installed on 2018-04-28 (82 days ago)
  InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  SourcePackage: coreutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1782570/+subscriptions



More information about the foundations-bugs mailing list