Lei Jitang
e02f35c1fc
libcontainerd: remove fifos on docker exec failed
if docker exec failed to start, the fifo for exec will
left on system.
```
[root@centos-220 bcc8bc6a080eb859ecd193dc32ea4e1cd0080b070afb2a0259b3ed004aae155e]# docker exec -ti bcc8bc6a080e bash
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"bash\": executable file not found in $PATH"
[root@centos-220 bcc8bc6a080eb859ecd193dc32ea4e1cd0080b070afb2a0259b3ed004aae155e]# ls -l
total 4
prwx------. 1 root root 0 Apr 10 11:29 46889b0713827f708949af4f6b30315181e1d96e75ce179c949935ab02db2bd1-stdin
prwx------. 1 root root 0 Apr 10 11:29 46889b0713827f708949af4f6b30315181e1d96e75ce179c949935ab02db2bd1-stdout
prwx------. 1 root root 0 Apr 6 13:15 4dfc9806a2aef53f72a5d2854ff235714b5f064d10e29b5e59ff67d48a924462-stdin
prwx------. 1 root root 0 Apr 6 13:15 4dfc9806a2aef53f72a5d2854ff235714b5f064d10e29b5e59ff67d48a924462-stdout
prwx------. 1 root root 0 Apr 6 13:15 cc3af6845394cc60007b49242acd990b28988ef4ddaaa217a26caba1075ab343-stdin
prwx------. 1 root root 0 Apr 6 13:15 cc3af6845394cc60007b49242acd990b28988ef4ddaaa217a26caba1075ab343-stdout
-rw-r--r--. 1 root root 3353 Apr 6 13:12 config.json
prwx------. 1 root root 0 Apr 6 13:14 d35e637104991052261e3afeba96a86b3cc6392dae6bd2226812407c0b92a20c-stdin
prwx------. 1 root root 0 Apr 6 13:14 d35e637104991052261e3afeba96a86b3cc6392dae6bd2226812407c0b92a20c-stdout
prwx------. 1 root root 0 Apr 6 13:12 init-stdin
prwx------. 1 root root 0 Apr 6 13:12 init-stdout
```
Signed-off-by: Lei Jitang <leijitang@huawei.com>
(cherry picked from commit 997ec06298081bf616177bf6fb102dc737b321ce)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-11-17 12:15:41 -08:00
..
2017-11-17 12:15:41 -08:00
2017-08-21 18:15:08 -04:00
2017-08-24 15:08:31 -04:00
2017-08-24 14:25:44 -07:00
2017-01-11 23:10:02 +08:00
2017-11-17 12:15:41 -08:00
2017-08-21 15:19:31 -07:00
2016-10-07 12:09:54 -07:00
2017-07-31 13:16:46 -07:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2017-11-17 12:15:41 -08:00
2017-02-02 11:16:11 -08:00
2016-03-18 13:38:32 -07:00
2017-06-22 16:47:47 +08:00
2017-06-22 16:47:47 +08:00
2017-07-31 13:16:46 -07:00
2016-06-13 19:16:26 -07:00
2016-06-13 19:16:26 -07:00
2017-08-21 12:04:07 -07:00
2017-05-15 10:53:51 -07:00
2017-08-21 15:19:31 -07:00
2017-05-15 10:53:51 -07:00
2017-08-21 12:04:07 -07:00
2017-05-15 10:53:51 -07:00
2016-09-05 08:49:07 +10:00
2017-08-21 15:19:31 -07:00