From 80e7c840814253dc1f9feb44399a2e1b2cf44264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 28 Nov 2019 12:18:04 +0100 Subject: [PATCH] tmpfiles: create with correct MAC label on option C Closes: #10855 --- src/tmpfiles/tmpfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 193ed0bc78..d1ba5841fd 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1460,7 +1460,7 @@ static int copy_files(Item *i) { dfd, bn, i->uid_set ? i->uid : UID_INVALID, i->gid_set ? i->gid : GID_INVALID, - COPY_REFLINK | COPY_MERGE_EMPTY); + COPY_REFLINK | COPY_MERGE_EMPTY | COPY_MAC_CREATE); if (r < 0) { struct stat a, b;