Bug #2336
pacman2pacman process remain after terminating root tty session
0%
Description
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.
History
Updated by bill-auger over 4 years ago
i can not reproduce this behavior
are you using openrc or systemd ?
Updated by arshin over 4 years ago
systemd.
100% reproducible on my end - happens on every upgrade. Let me know what additional info I can provide.
Updated by bill-auger over 4 years 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
Updated by arshin over 4 years ago
Today's update:
- pacman -Scc # deleted all files
- pacman -Syu --ignore=android-file-transfer
<successful upgrade of some packages> - pgrep -l pacman2pacman-g | wc -l
32
Updated by arshin over 4 years ago
If you send me the pacman2pacman-get file (I see that it's just a bash script) with debug stuff - I can use that for a while and post logs.