From: Yu Watanabe Date: Mon, 6 Jan 2025 08:12:26 +0000 (+0900) Subject: machine: comment source and destination must be absolute X-Git-Tag: v258-rc1~1703^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F35868%2Fhead;p=thirdparty%2Fsystemd.git machine: comment source and destination must be absolute Addresses the post-merge review comment: https://github.com/systemd/systemd/pull/35066#discussion_r1901841247 --- diff --git a/src/shared/varlink-io.systemd.Machine.c b/src/shared/varlink-io.systemd.Machine.c index e66c0e74235..05a20bc4280 100644 --- a/src/shared/varlink-io.systemd.Machine.c +++ b/src/shared/varlink-io.systemd.Machine.c @@ -150,9 +150,9 @@ static SD_VARLINK_DEFINE_METHOD( static SD_VARLINK_DEFINE_METHOD( BindMount, VARLINK_DEFINE_MACHINE_LOOKUP_AND_POLKIT_INPUT_FIELDS, - SD_VARLINK_FIELD_COMMENT("The source directory/file on the host"), + SD_VARLINK_FIELD_COMMENT("The source directory/file on the host. The path must be absolute."), SD_VARLINK_DEFINE_INPUT(source, SD_VARLINK_STRING, 0), - SD_VARLINK_FIELD_COMMENT("The destination directory/file in the container. If null, it's equal to 'source'"), + SD_VARLINK_FIELD_COMMENT("The destination directory/file in the container. The path must be absolute. If null, it's equal to 'source'"), SD_VARLINK_DEFINE_INPUT(destination, SD_VARLINK_STRING, SD_VARLINK_NULLABLE), SD_VARLINK_FIELD_COMMENT("If true, the bind mount shall be read-only"), SD_VARLINK_DEFINE_INPUT(readOnly, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE),