]> git.proxmox.com Git - mirror_ifupdown2.git/commit
Use closefds=True and shell=True when executing usercmds
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 1 Jun 2014 18:12:06 +0000 (11:12 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 1 Jun 2014 19:17:40 +0000 (12:17 -0700)
commit3e95a3dab53bc5fbd6571be9cc86754bf5196ae8
tree91baaba03a610073940cef74032433df15cc8f86
parent4c399f5562e3e522ff9fd6fdecdae24aff42c52f
Use closefds=True and shell=True when executing usercmds

Ticket: CM-1438
Reviewed By: reported by purna
Testing Done: Tested with purna's l2 l3 lag test

problem fixed by this patch:
In some cases the child processes executing user cmds seem to hold on to
the lock file fd for a lil longer, preventing another instance of
ifupdown from running immediately after. Seen with two immediate
instances of service networking restarts from scripts when the
interfaces file has many user cmds.
init.d/networking