overlay2: close read end of pipe on mount exec
overlay2: close read end of pipe on mount exec

Use StdinPipe to ensure pipe is properly closed after startup

Fixes #23686

Signed-off-by: Derek McGowan <e1c79a582b6629e6b39e9679f4bb964d25db4aa8@mcgstyle.net> (github: dmcgowan)

sdurrheimer/docker,vdemeester/docker,jwhonce/docker,mtanlee/docker,dmcgowan/docker,kojiromike/docker,ndeloof/docker,konstruktoid/docker-upstream,jvanz/docker,ibuildthecloud/docker,haveatry/docker,yosifkit/docker,danyalKhaliq10p/moby,thaJeztah/docker,madhanrm/docker,erikstmartin/docker,yosifkit/docker,raja-sami-10p/moby,bonczj/moby-json-file-logger,ibuildthecloud/docker,pradipd/moby,dperny/docker,estesp/docker,brahmaroutu/docker,rhatdan/storage,JMesser81/docker,afein/docker,wenchma/docker,johnstep/moby-moby,dsheets/moby,tianon/docker,shhsu/docker,dccurtis/docker,twaugh/docker,justincormack/docker,rancher/docker,tophj-ibm/docker,KingEmet/docker,lixiaobing10051267/docker,jimjag/docker,cpuguy83/docker,srust/docker,trebonian/docker,michael-holzheu/docker,mikedougherty/docker,kojiromike/docker,yummypeng/docker,nawawi/docker,akira-baruah/docker,miminar/docker,miminar/docker,dsheets/moby,JMesser81/docker,PatrickLang/moby,sfsmithcha/docker,yasiramin10p/moby,jimjag/docker,imkin/moby,tagomoris/docker,gnailuy/docker,coolljt0725/docker,michael-holzheu/docker,rremer/moby,yongtang/docker,twaugh/docker,Ramzec/docker,xiaods/docker,flavio/docker,rremer/moby,diogomonica/docker,asbjornenge/docker,mtanlee/docker,johnstep/moby-moby,akira-baruah/docker,jthelin/docker,icaoweiwei/docker,dmcgowan/docker,ffoysal/docker,containers/storage,resin-io/docker,justyntemme/docker,mtrmac/docker,endophage/docker,amatsus/docker,eskaaren/docker,Mokolea/docker,kunalkushwaha/docker,jhorwit2/docker,mtrmac/docker,Ramzec/docker,gnailuy/docker,moul/docker,cpuguy83/docker,charleszheng44/moby,tonistiigi/docker,crosbymichael/docker,coreos/docker,kolyshkin/moby,stevvooe/docker,haveatry/docker,cloudflare/docker,Ramzec/docker,justincormack/docker,danyalKhaliq10p/moby,projectatomic/docker,dims/docker,mikebrow/docker,docker/docker,xuxinkun/docker,mtanlee/docker,q384566678/docker,shhsu/docker,alfred-landrum/docker,x1022as/docker,tagomoris/docker,cyphar/docker,laijs/moby,HuKeping/docker,bearstech/moby,Ramzec/docker,thaJeztah/docker,bluebreezecf/docker,bonczj/moby-json-file-logger,pramodhkp/moby,xiaods/docker,jameszhan/docker,tklauser/docker,mikedougherty/docker,mkumatag/docker,AkihiroSuda/docker,jwhonce/docker,resin-io/docker,yp-engineering/docker,dsau/docker,dnephin/docker,moby/moby,YuPengZTE/docker,ripcurld0/moby,sfsmithcha/docker,ibuildthecloud/docker,ndeloof/docker,shishir-a412ed/docker,madhanrm/docker,zhuguihua/docker,dgageot/docker,justyntemme/docker,jameszhan/docker,mikebrow/docker,mtesselH/docker,yosifkit/docker,dgageot/docker,dsau/docker,erikh/docker,kencochrane/docker,mahak/docker,yongtang/docker,rhatdan/docker,shhsu/docker,ajaymdesai/docker,ffoysal/docker,zhuguihua/docker,splunk/docker,sterchelen/docker,darrenstahlmsft/moby,coolljt0725/docker,vdemeester/docker,KingEmet/docker,noxiouz/docker,diogomonica/docker,alfred-landrum/docker,prertik/docker,mstanleyjones/docker,johnstep/moby-moby,scotttlin/docker,sdurrheimer/docker,dongjoon-hyun/docker,konstruktoid/docker-1,thtanaka/docker,moypray/docker,HideoYamauchi/docker,wenchma/docker,whuwxl/docker,yasiramin10p/moby,unclejack/docker,dmcgowan/docker,icaoweiwei/docker,abhinavdahiya/docker,charleszheng44/moby,allencloud/docker,rancher/docker,charleszheng44/moby,harche/docker,x1022as/docker,docker/docker,ripcurld0/moby,ajaymdesai/docker,dnephin/docker,msabansal/docker,gschaetz/moby,kencochrane/docker,afein/docker,brahmaroutu/docker,jimjag/docker,bluebreezecf/docker,tklauser/docker,dperny/docker,Syntaxide/docker,jthelin/docker,mahak/docker,erikstmartin/docker,paralin/docker,flavio/docker,dims/docker,jlebon/docker,mtrmac/docker,ColinHebert/docker,konstruktoid/docker-upstream,maxamillion/docker,shishir-a412ed/docker,stevvooe/docker,dccurtis/docker,yp-engineering/docker,yp-engineering/docker,xiaods/docker,yummypeng/docker,yongtang/docker,vdemeester/docker,ripcurld0/moby,duglin/docker,msabansal/docker,kojiromike/docker,liaoqingwei/docker,unclejack/docker,dims/docker,catinthesky/docker,catinthesky/docker,noironetworks/docker,thtanaka/docker,mkumatag/docker,cyphar/docker,moby/moby,tophj-ibm/docker,sdurrheimer/docker,jameszhan/docker,portworx/docker,13W/docker,crosbymichael/docker,YuPengZTE/docker,tophj-ibm/docker,resin-io/docker,darrenstahlmsft/docker,djs55/docker,noironetworks/docker,amatsus/docker,mstanleyjones/docker,harche/docker,lixiaobing1/docker,michelvocks/docker,catinthesky/docker,pramodhkp/moby,nalind/docker,scotttlin/docker,moypray/docker,thaJeztah/docker,sterchelen/docker,lixiaobing1/docker,prertik/docker,moypray/docker,stevvooe/docker,xuxinkun/docker,POLJM242/docker,crosbymichael/docker,icaoweiwei/docker,yummypeng/docker,KarthikNayak/docker,cloudflare/docker,AkihiroSuda/docker,ColinHebert/docker,kolyshkin/moby,afein/docker,HideoYamauchi/docker,trebonian/docker,haveatry/docker,konstruktoid/docker-1,bearstech/moby,darrenstahlmsft/docker,xiekeyang/docker,asbjornenge/docker,coreos/docker,estesp/docker,gnailuy/docker,erikstmartin/docker,rhatdan/docker,miminar/docker,brahmaroutu/docker,kencochrane/docker,pradipd/moby,lixiaobing10051267/docker,djs55/docker,tonistiigi/docker,maxamillion/docker,tmp6154/docker,jlebon/docker,lixiaobing1/docker,hqhq/moby,coolljt0725/docker,wenchma/docker,hqhq/moby,asbjornenge/docker,jlhawn/docker,mtesselH/docker,mike1729/docker,sarnautov/moby,naveed-jamil-tenpearls/moby,mstanleyjones/docker,projectatomic/docker,mkumatag/docker,noxiouz/docker,yasiramin10p/moby,jhorwit2/docker,PatrickLang/moby,darrenstahlmsft/moby,unclejack/docker,rhatdan/storage,laijs/moby,mohmost12/docker,dperny/docker,abhinavdahiya/docker,flavio/docker,allencloud/docker,ajaymdesai/docker,projectatomic/docker,lixiaobing10051267/docker,nalind/docker,danyalKhaliq10p/moby,hypriot/docker,SvenDowideit/docker,hypriot/docker,fcrisciani/docker,sarnautov/moby,flavio/docker,kolyshkin/docker,jlebon/docker,moby/moby,rhatdan/docker,nawawi/docker,jwhonce/docker,cloudflare/docker,prertik/docker,yosifkit/docker,moul/docker,jlhawn/docker,paralin/docker,noxiouz/docker,tagomoris/docker,darrenstahlmsft/docker,Syntaxide/docker,tophj-ibm/moby,amatsus/docker,naveed-jamil-tenpearls/moby,13W/docker,maxamillion/docker,diogomonica/docker,harche/docker,q384566678/docker,fcrisciani/docker,ffoysal/docker,mohmost12/docker,eskaaren/docker,dgageot/docker,tmp6154/docker,duglin/docker,paralin/docker,qudongfang/docker,madhanrm/docker,mohmost12/docker,laijs/docker,ibuildthecloud/docker,moul/docker,moby/moby,alfred-landrum/docker,thtanaka/docker,imkin/moby,containers/storage,shishir-a412ed/docker,tophj-ibm/moby,noironetworks/docker,konstruktoid/docker-1,SvenDowideit/docker,ibuildthecloud/docker,cpuguy83/docker,trebonian/docker,containers/storage,laijs/docker,dnephin/docker,gjaskiewicz/moby,dccurtis/docker,erikh/docker,xuxinkun/docker,YuPengZTE/docker,laijs/moby,eskaaren/docker,pramodhkp/moby,allencloud/docker,tklauser/docker,bearstech/moby,kolyshkin/moby,mahak/docker,KingEmet/docker,ColinHebert/docker,raja-sami-10p/moby,mixja/docker,nawawi/docker,hypriot/docker,tophj-ibm/moby,KarthikNayak/docker,justincormack/docker,pradipd/moby,13W/docker,nalind/docker,mahak/docker,michelvocks/docker,endophage/docker,PatrickLang/moby,zhuguihua/docker,erikh/docker,gnailuy/docker,HuKeping/docker,mixja/docker,dsau/docker,AkihiroSuda/docker,qudongfang/docker,mikebrow/docker,mike1729/docker,rancher/docker,michelvocks/docker,13W/docker,tianon/docker,hqhq/moby,JMesser81/docker,Syntaxide/docker,xiekeyang/docker,Mokolea/docker,nalind/docker,scotttlin/docker,Mokolea/docker,bluebreezecf/docker,duglin/docker,dongjoon-hyun/docker,endophage/docker,AkihiroSuda/docker,jvanz/docker,mikedougherty/docker,qudongfang/docker,jimjag/docker,srust/docker,cyphar/docker,dongjoon-hyun/docker,POLJM242/docker,jlhawn/docker,x1022as/docker,tmp6154/docker,xiekeyang/docker,twaugh/docker,imkin/moby,sfsmithcha/docker,whuwxl/docker,kunalkushwaha/docker,Mokolea/docker,sterchelen/docker,gschaetz/moby,justyntemme/docker,kunalkushwaha/docker,thaJeztah/docker,darrenstahlmsft/moby,jhorwit2/docker,ndeloof/docker,mtesselH/docker,mike1729/docker,nawawi/docker,naveed-jamil-tenpearls/moby,michael-holzheu/docker,q384566678/docker,konstruktoid/docker-upstream,HideoYamauchi/docker,trebonian/docker,fcrisciani/docker,moul/docker,cpuguy83/docker,splunk/docker,kolyshkin/docker,konstruktoid/docker-upstream,gjaskiewicz/moby,paralin/docker,laijs/docker,liaoqingwei/docker,HuKeping/docker,portworx/docker,estesp/docker,dsheets/moby,msabansal/docker,13W/docker,jvanz/docker,gjaskiewicz/moby,coreos/docker,mixja/docker,abhinavdahiya/docker,docker/docker,bonczj/moby-json-file-logger,SvenDowideit/docker,raja-sami-10p/moby,portworx/docker,KarthikNayak/docker,bearstech/moby,tonistiigi/docker,gschaetz/moby,rremer/moby,djs55/docker,rhatdan/storage,srust/docker,sarnautov/moby,liaoqingwei/docker,whuwxl/docker,splunk/docker