[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...



On Sun, 2022-11-06 at 15:38 +0000, Albretch Mueller wrote:
[...]
> $ usermod --move-home --home "${_NEW_HOME}" "${_WHMI}"
> usermod: user user is currently used by process 1141
> 
> $ sudo ps -aux | grep 1141
> user        1141  0.0  0.1  15600  9144 ?        Ss   Nov05   0:00
> /lib/systemd/systemd --user
> user       50636  0.0  0.0   6244   712 pts/0    S+   06:42   0:00 grep 1141
> 
>  Unless they are both trying to exclusively access /etc/passwd, I
> can't understand how /lib/systemd/systemd could possibly relate to
> usermod.
> 
>  Any suggestions?

Probably a red herring, but I remember reading a while ago that
managing users home directories was another thing systemd was trying to
take over. A quick google search leads to things like:

https://opensource.com/article/22/3/manage-users-home-directory-systemd-homed
https://systemd.io/HOME_DIRECTORY/

So might be worth running the 'homectl' command to see if it exists, it
doesn't on my the Debian 11 install. So like I said, probably a red
herring.

-- 
Tixy


Reply to: