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

Bug #1782570 reported by Paulo Marcel Coelho Aragão
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coreutils (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Paulo Marcel Coelho Aragão (marcelpaulo) wrote :
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.