diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-07-12 16:55:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 09:29:59 +0100 |
commit | d0d4c079d1d6c8903ab1b8f9bac83965debca030 (patch) | |
tree | bc54cca6f183320fd03fe0570e786477f5dbc019 /meta/recipes-core/zlib | |
parent | d692ff5c893bfc55dcd94500edfeaf657022f5e5 (diff) | |
download | poky-d0d4c079d1d6c8903ab1b8f9bac83965debca030.tar.gz |
oeqa/runtime/rpm: ensure no user process running before deleting user
In case of systemd, `su -c 'xxx' test1' via ssh will create
several processes owned by test1, e.g. /lib/system/systemd --user.
These processes are actually managed by user@UID.service
(e.g. user@1000.service). And such service is managed
automatically by systemd. In other words, it will be cleaned
up by systemd automatically.
So we need to wait for systemd to clean it up before trying to
use `userdel' to delete the user.
(From OE-Core rev: 9d398be42a69d25277b929d760aaed1679f3cd54)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/zlib')
0 files changed, 0 insertions, 0 deletions