diff options
author | Helmut Grohne <helmut@subdivi.de> | 2024-08-09 14:48:43 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2024-08-09 14:53:14 +0200 |
commit | e4ecc7f745c54a765eff8eff59fc2e9a03371f2e (patch) | |
tree | 65fc0db4ba5909b11e44b13e3660c254eee2f652 /tests/test_common.sh | |
parent | 90fc08dcfc714b19c28721109fb26f682ee7a834 (diff) | |
download | debvm-e4ecc7f745c54a765eff8eff59fc2e9a03371f2e.tar.gz |
debvm-create: avoid using passwd --delete
passwd will chroot() into the target tree and then load shared
libraries. This tends to work badly for old releases and for foreign
architectures or combinations thereof. As a result, it sometimes fails
with
Cannot determine your user name.
In practice, it removes a single asterisk from the first line of
/etc/shadow (at least for jessie to trixie). This is something, we can
also do via sed.
Reported-by: Sylvain Beucler <beuc@debian.org>
Fixes: d2d8b9965d39 ("debvm-create: avoid failing when we install no passwd")
Diffstat (limited to 'tests/test_common.sh')
0 files changed, 0 insertions, 0 deletions