nohup is not preventing jobs from receiving SIGHUP when the shell ends
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
ProcVersionSign
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)