restarting services from background process hang after commit bfb722bb
If my polkit rpm contains this patch(pkttyagent: PolkitAgentTextListener leaves echo tty disabled if SIGINT/SIGTERM), restarting rsyslog from background process hang. You can reproduce this bug as below(also reproducde by https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/syslog/syslog01): sh -c "systemctl restart rsyslog" &
2034 pts/0 Ss 0:00 | _ -bash 2346 pts/0 T 0:00 | _ systemctl restart rsyslog 2348 pts/0 Tl 0:00 | | _ /usr/bin/pkttyagent --notify-fd 5 --fallback
This action works too abormal. Is it a bug?