--daemonize doesn't always close STDIN
Bug #944420 reported by
Daniel Nichter
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://
summary: |
- --daemonize doesn't close STDIN + --daemonize doesn't always close STDIN |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Daemon.pm updated in all tools: http:// bazaar. launchpad. net/~percona- toolkit- dev/percona- toolkit/ 2.0/revision/ 212