mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
nspawn: convert uuid to string (#3146)
Fixes: cp /etc/machine-id /var/tmp/systemd-test.HccKPa/nspawn-root/etc systemd-nspawn -D /var/tmp/systemd-test.HccKPa/nspawn-root --link-journal host -b ... Host and machine ids are equal (P�S!V): refusing to link journals
This commit is contained in:
parent
6fc2549711
commit
e192a2815e
@ -1464,7 +1464,7 @@ static int setup_journal(const char *directory) {
|
||||
|
||||
if (sd_id128_equal(arg_uuid, this_id)) {
|
||||
log_full(try ? LOG_WARNING : LOG_ERR,
|
||||
"Host and machine ids are equal (%s): refusing to link journals", id);
|
||||
"Host and machine ids are equal (%s): refusing to link journals", sd_id128_to_string(arg_uuid, id));
|
||||
if (try)
|
||||
return 0;
|
||||
return -EEXIST;
|
||||
|
Loading…
Reference in New Issue
Block a user