pacman2pacman process remain after terminating root tty session
After setting up pacman2pacman according to wiki, this is the behavior I get:
- log in to tty1 as regular user
- switch to tty2, log in as root
- in tty2 start pacman -Syu
- wait for completion, log out (Ctrl-D)
- switch back to tty1, run
pgrep -l pacman2- it will show several remaining pacman2pacman processes.
One inconvenience it causes is that
systemctl suspend as a regular user stops working - complains about root being logged in on tty2.
Updated by bill-auger about 1 year ago
i found a subtle bug in pacman2pacman when the package has been downloaded previously, which causes several processes to start; but its not clear if that is a real problem, they all terminate halt just the same for me
i would try running pacman -Scc before installing some packages; and see if it exits gracefully then
trouble-shooting is difficult when one can not replicate the problem - if i could, i would add a bunch of debug traces to the script and see if it gets hung up anywhere