From patchwork Mon Jun 3 19:57:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 14214 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EF6E817096; Mon, 3 Jun 2019 20:58:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3B92F16FD6 for ; Mon, 3 Jun 2019 20:58:13 +0100 (BST) Received: from localhost ([127.0.0.1]:40166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXt5u-0008PJ-F0 for patchwork@mira.cbaines.net; Mon, 03 Jun 2019 15:58:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXt5r-0008Na-AR for guix-patches@gnu.org; Mon, 03 Jun 2019 15:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXt5p-000611-BJ for guix-patches@gnu.org; Mon, 03 Jun 2019 15:58:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXt5m-0005vT-EY for guix-patches@gnu.org; Mon, 03 Jun 2019 15:58:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hXt5m-0000TG-B5 for guix-patches@gnu.org; Mon, 03 Jun 2019 15:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36060] [PATCH] services: cups: Create /var/cache on activation. Resent-From: "Alex Griffin" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jun 2019 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36060 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36060@debbugs.gnu.org Received: via spool by 36060-submit@debbugs.gnu.org id=B36060.15595918621758 (code B ref 36060); Mon, 03 Jun 2019 19:58:02 +0000 Received: (at 36060) by debbugs.gnu.org; 3 Jun 2019 19:57:42 +0000 Received: from localhost ([127.0.0.1]:43202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXt5S-0000SH-18 for submit@debbugs.gnu.org; Mon, 03 Jun 2019 15:57:42 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXt5O-0000Rv-RF for 36060@debbugs.gnu.org; Mon, 03 Jun 2019 15:57:41 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 00985787 for <36060@debbugs.gnu.org>; Mon, 3 Jun 2019 15:57:32 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Mon, 03 Jun 2019 15:57:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=w0ziv2TFzC/zsW+iBEKwN8WRZSilqlk nPeWBnQ4E04E=; b=qCsPmxLnyoKbQXDoAK9iTSaQwsH4zh/eJVyfz526XbQMnS3 D76APJL6mkFhVvR6xLOm+JFoM0iH5gmQnNUz29Q8GftahZoeW64oZn2QqDZBj+/y TqlPoy+L3kz9h9/gwu4BX65U/4Gc1nyHgGkPb33vww2V6jjgPPTq3gMT+XuOL2qE aur4o3A50dd39USpD6ohyJMwFaSGKrxSg5lF4r10x/dLdhAmE2jnZZhyH8mEy/x9 QbVb/ET5xn8Dowp4zC+7tgELWMb1vFMOG/aEYJmr0s1u5CUsEObfwfi1ODmI40pP yrW1cGvAgMuFvNSfmmSEomDeqB4khMHXm+rOB0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=w0ziv2 TFzC/zsW+iBEKwN8WRZSilqlknPeWBnQ4E04E=; b=dm+oDchtwMwr4Ll+7KvRYj TVxRKDLED3hSX+EzdJ9jmbAUUDe6cRL7CuHuKbFb3fRcmfr7EfN8KhXDgmD3Ybbd J7RLj810zRGzPU4Ts++bODjH3IUs1f29lDbulUyqRtp37gu/BT2cXIAmyGeuxPf6 kWFjRSvsOmUUqabvFPL+o5emUuky1ZNdqx0i+TVOavVQdhZYZ1Zl0tdCBHx/NBrD fr/jjVfua2vUj0/ijJQUtu7kivZ/9x9Y0CsraT3c71guzV5+jfUtF7BkVfcTL6PV 2vgesZxEpJTiOrrG6INWZ9MlkG/DdJISAVMZqECf6/SBZ3405d1bkZ4HqsV49Faw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefjedgudegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesmh dtreerreertdenucfhrhhomhepfdetlhgvgicuifhrihhffhhinhdfuceorgesrghjghhr fhdrtghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrsegrjhhgrhhfrdgtohhmne cuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6C3301400A0; Mon, 3 Jun 2019 15:57:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-555-g49357e1-fmstable-20190528v2 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <573c52c2-ec82-44ff-b543-af3be78e877b@www.fastmail.com> Date: Mon, 03 Jun 2019 19:57:30 +0000 From: "Alex Griffin" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Maybe this patch fits in a little better. I used mkdir-p/perms like the surrounding code instead of just mkdir-p. From b09759e4a2a348d6bdd1fef9593871e9e0a75a68 Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Sun, 2 Jun 2019 16:26:47 -0500 Subject: [PATCH] services: cups: Create /var/cache on activation. * gnu/services/cups.scm (%cups-activation): Create /var/cache if it doesn't exist yet. --- gnu/services/cups.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm index 9125139ef3..5d9e373117 100644 --- a/gnu/services/cups.scm +++ b/gnu/services/cups.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2016 Andy Wingo ;;; Copyright © 2017 Clément Lassieur ;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2019 Alex Griffin ;;; ;;; This file is part of GNU Guix. ;;; @@ -897,6 +898,7 @@ IPP specifications.") (mkdir-p/perms "/var/log/cups" user #o755) (mkdir-p/perms "/etc/cups" user #o755) (mkdir-p/perms "/etc/cups/ssl" user #o700) + (mkdir-p/perms "/var/cache" user #o770) ;; This certificate is used for HTTPS connections to the CUPS web ;; interface. (create-self-signed-certificate-if-absent -- 2.21.0