--daemonize doesn't always close STDIN

Bug #944420 reported by Daniel Nichter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Daniel Nichter

Bug Description

Daemon.pm checks -t STDIN and closes it if it's a terminal, but the -t check isn't reliable. Since there really isn't a need to keep STDIN open, particularly since the goal is to daemonize, the code can simply always close STDIN. This has actually already been done: http://bazaar.launchpad.net/~percona-toolkit-dev/percona-toolkit/2.0/revision/189.

Tags: all-tools
summary: - --daemonize doesn't close STDIN
+ --daemonize doesn't always close STDIN
Revision history for this message
Daniel Nichter (daniel-nichter) wrote :
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-487

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.