From patchwork Fri Oct 27 16:52:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrii Anisov X-Patchwork-Id: 10030355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 39915602D6 for ; Fri, 27 Oct 2017 16:54:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29CFB28EA0 for ; Fri, 27 Oct 2017 16:54:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E78828FB8; Fri, 27 Oct 2017 16:54:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3BE828F9F for ; Fri, 27 Oct 2017 16:54:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87sB-0005UH-Rw; Fri, 27 Oct 2017 16:52:43 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87sA-0005U5-TM for xen-devel@lists.xen.org; Fri, 27 Oct 2017 16:52:43 +0000 Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id AF/96-06614-A5463F95; Fri, 27 Oct 2017 16:52:42 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRWlGSWpSXmKPExsVyMfS6s25kyud Igz2/5S2WfFzM4sDocXT3b6YAxijWzLyk/IoE1ozV666wFExmq9j7ZApTA+N21i5GLg4hgQmM El93/mTuYuTkYBG4xCLRfFIQxJYQeMcicWN7OISdJTH31lF2CDtN4vbce4wQdrnE5gMHwGwhA TWJfYeus0AMnc0kcbdpFhNIgk1AV+L6qwdgtoiAtMS1z5cZQYqYBR4xSmzb2cEKkhAWsJU4PP UJ0AYOoCtUJSY1pYOEeQXcJeb928gMsUxO4ua5TuYJjPwLGBlWMWoUpxaVpRbpGhrrJRVlpme U5CZm5ugaGhjr5aYWFyemp+YkJhXrJefnbmIEBhADEOxg3Lbd8xCjJAeTkijvvvOfIoX4kvJT KjMSizPii0pzUosPMcpwcChJ8Dolf44UEixKTU+tSMvMAYYyTFqCg0dJhFcXJM1bXJCYW5yZD pE6xejNceHOpT9MHDceXgeSB/bcApKHXtwGkh037wLJZzNfNzALseTl56VKifNKgYwQABmRUZ oHtwAWk5cYZaWEeRmBThbiKUgtys0sQZV/xSjOwagkzGsAMoUnM68E7o5XQCcyAZ3YpPoB5MS SRISUVAPjWnMfJ+WS2JV+j48WLL9QdHXdbJZ7k4+9utKX0bHJ5WpGUNsSSdk9nGxdXfvOVCrq iH30vr3n+b3cNRN9RB0LbEKf2v6WDyj/dKi4acrfg9a7ciPkHZ3OzIzz+SRRM+FPtorDyurPm 1U6mJgErMS/dLnM3ppWli54yTW7YL5Rw7YvH9lMfi1WYinOSDTUYi4qTgQAVaGvsMQCAAA= X-Env-Sender: andrii.anisov@gmail.com X-Msg-Ref: server-15.tower-31.messagelabs.com!1509123161!108254537!1 X-Originating-IP: [209.85.215.67] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 44950 invoked from network); 27 Oct 2017 16:52:41 -0000 Received: from mail-lf0-f67.google.com (HELO mail-lf0-f67.google.com) (209.85.215.67) by server-15.tower-31.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 27 Oct 2017 16:52:41 -0000 Received: by mail-lf0-f67.google.com with SMTP id 90so8076822lfs.13 for ; Fri, 27 Oct 2017 09:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=HKAeHKJ4mFNjw8FHJ2ckEO63rR8/oIoikeD6xr/2bM4=; b=ubDS+RvZMv0oK2g5UIKZYQ9nl/mhFP3fnidThnkq9FjRPrsMgiiGMktFQhqdSXRFN+ wE2Em4+O9UBCv2ixKICdcQEVzDXAK5rmRj3tQyRUWXZpfb67OVOAkvmaloFZJuzOO7uF jz5NA/ixsysvGml+UQlNX37qpHFvMedoTpCiDnFHFrl1lRDY7ZZKUif6YKGgEv24yOqq +apSdvMLC2je/jp4+GswLJkXi0wmthI5f42+MPG9BMmLRu0nAEhax0i9pEwkHFEdLd5A PjKP9EK7LbRjimywCg0BY09/26EkGCEIferhXZifPPSTONUusAqfpb6eEgFlBJwqckqh U7Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HKAeHKJ4mFNjw8FHJ2ckEO63rR8/oIoikeD6xr/2bM4=; b=K+G8caxdAxD6bysAIUnwpzVv211HyP97NBvOPjNvPCaGsDoiWI/oobksxMvOEDkb/J 05+j6MA05Kf/nbtxwVsFocbKwAg3O7VMMZF1vpwPc2lO1r/HLQFEC52ZEuHAHoMcIv7k 6FJmEvYn/rPH+e8G6X+d+XC55/gML6T5LpkKW/S1L5q0x5pwH4o1vpbClDH6n8OQUp1C eo6Zg5Oj2lx62YCTfRAQkAKPKJnESzUfOATkh9jYnQu8KVQ8mlylGGD7jqdBTP809BgV 5NnxRpnfl4Q6w8f+lQtVwxclLk5t8Bjb3I9XzLi6Goxx+N97WKtdERCm6YxaTrrnF45c 6CJw== X-Gm-Message-State: AMCzsaW8jEf3m7kwLEu23A9TA4ydEhSVKb5ZuY9+gk87WLEkykukKrhe amdDmBlXvpuwqHyhwMeoXSbBHPcA X-Google-Smtp-Source: ABhQp+TrRMSACGF1Lfy991AYyPebW2xp8r6H7+PGCOi3r+YaQagYy20/NQeHRqo4PzI0y99nW+HYxw== X-Received: by 10.46.23.85 with SMTP id l82mr436409lje.178.1509123160298; Fri, 27 Oct 2017 09:52:40 -0700 (PDT) Received: from aanisov-work.kyiv.epam.com (ll-74.141.223.85.sovam.net.ua. [85.223.141.74]) by smtp.gmail.com with ESMTPSA id g2sm1615319lfl.70.2017.10.27.09.52.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Oct 2017 09:52:39 -0700 (PDT) From: Andrii Anisov To: xen-devel@lists.xen.org Date: Fri, 27 Oct 2017 19:52:37 +0300 Message-Id: <1509123157-23914-1-git-send-email-andrii.anisov@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: Volodymyr Babchuk , Wei Liu , Andrii Anisov , Ian Jackson , Oleksandr Andrushchenko Subject: [Xen-devel] [PATCH] tools/hotplug: create XEN_LOG_DIR at runtime X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Andrii Anisov /var/log could be a tmpfs mount point, so create xen subfolder at runtime. Signed-off-by: Andrii Anisov Reviewed-by: Volodymyr Babchuk Reviewed-by: Oleksandr Andrushchenko Acked-by: Wei Liu Acked-by: Ian Jackson --- tools/hotplug/Linux/init.d/xencommons.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hotplug/Linux/init.d/xencommons.in b/tools/hotplug/Linux/init.d/xencommons.in index a6a40d6..ec42b05 100644 --- a/tools/hotplug/Linux/init.d/xencommons.in +++ b/tools/hotplug/Linux/init.d/xencommons.in @@ -58,6 +58,7 @@ do_start () { mkdir -p ${XEN_RUN_DIR} mkdir -p ${XEN_LOCK_DIR} + mkdir -p ${XEN_LOG_DIR} @XEN_SCRIPT_DIR@/launch-xenstore || exit 1