[PATCH openEuler-5.10 68/86] ipack: ipoctal: fix tty registration race