X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9B48ADC6A8A for ; Thu, 27 Jun 2013 22:35:56 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 1B42D21086 for ; Thu, 27 Jun 2013 18:35:53 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 27 Jun 2013 18:35:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references; s=smtpout; bh=/SuwCEhEIs0xIQVQEOYKPiFWj m0=; b=g+LZi4tTrqBFSWvDNTMiom6k5Mg2yn3c8HADyN/9A5SL5DpiCOYclWUAc PBp1q79UiDDemIVi9rr/0dj2RcQsMRlScsVDoaFG6uwM4TK8/jKbEtyy8nHYf/00 kZZXpU+QlOAZ0G9qUMDrPH0570yjau8mqejTNHMaFXQdXSXRck= X-Sasl-enc: R5CxDfHX3bZaAo5f4S8MSzj20wyWsmVKR4Jt3qaHkHq4 1372372552 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id D5171680446 for ; Thu, 27 Jun 2013 18:35:52 -0400 (EDT) From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 7/8] log cache problems Date: Thu, 27 Jun 2013 18:35:48 -0400 Message-Id: <82a540392304f0f561fa4927932ea26191933c6e.1372372343.git.dubiousjim@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- src/database.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/database.c b/src/database.c index ffbee26..55b19a0 100644 --- a/src/database.c +++ b/src/database.c @@ -1588,11 +1588,11 @@ int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts) /* remount cache read/write */ db->cache_remount_dir = find_mountpoint(db->root_fd, db->cache_dir); if (db->cache_remount_dir == NULL) { - apk_warning("Unable to find cache directory mount point"); + apk_lwarning("Unable to find cache directory mount point"); } else if (do_remount(db->cache_remount_dir, "rw") != 0) { free(db->cache_remount_dir); db->cache_remount_dir = NULL; - apk_error("Unable to remount cache read/write"); + apk_lerror("Unable to remount cache read/write"); r = EROFS; goto ret_r; } @@ -2583,7 +2583,7 @@ static int apk_db_unpack_pkg(struct apk_database *db, if (cache_bs != NULL) bs = cache_bs; else - apk_warning(PKG_VER_FMT": unable to cache: %s", + apk_lwarning(PKG_VER_FMT": unable to cache: %s", PKG_VER_PRINTF(pkg), apk_error_str(errno)); } -- 1.8.3.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---