delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/08/05:20:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8AF733858D1E
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1644315601; bh=s9byVxWO5kdJ7PywCARS2qUCo6CwnL+UsFyVIIEajKc=;
h=In-Reply-To:Subject:From:Message-ID:References:Date:Reply-To:To;
b=vcVQ6sCH9iSIvNMNurVF7qosWBNRI/S+licxUkKC0SjEnmUSz3X3gLDb40e1Hxg15
6cDLMTy15eTR4QKpy+hhBlc2XmMGxpz8xRC7g5izH3AEzziRIJEMoM4S5r/Edu6udZ
CoGeIsYMx6gmv77esbd3RazLmTusXSX26cR/P0oY=
Authentication-Results: vla5-2be56c22b014.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
X-Yandex-Fwd: 2
Date: Tue, 8 Feb 2022 13:18:51 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <321059018.20220208131851@yandex.ru>
To: Achim Gratz <Stromeko AT nexgo DOT de>, cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: man-db-2.10.0-1
In-Reply-To: <874k5al7po.fsf@Rainer.invalid>
References: <announce DOT 87fsoviv0s DOT fsf AT Rainer DOT invalid>
<1496241235 DOT 20220207215821 AT yandex DOT ru>
<878ruml8jt DOT fsf AT Rainer DOT invalid> <874k5al7po DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
KAM_THEBAT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Achim Gratz!

> Achim Gratz writes:
>> Does /var/cache/man exist and are the permissions sane?

Yes, and perms are mostly irrelevant, cause I install from elevated prompt.

/var/cache/man
# icacls . | iconv -f CP866
. daemon2\anrdaemon:(F)
  daemon2\None:(RX)
  Everyone:(RX)
  CREATOR-OWNER:(OI)(CI)(IO)(F)
  CREATOR-GROUP:(OI)(CI)(IO)(RX)
  Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files

/var/cache/man
# acl .
# file: .
# owner: anrdaemon
# group: None
user::rwx
group::r-x
other::r-x
default:user::rwx
default:group::r-x
default:other::r-x

>> I guess I need
>> to make sure this gets created when installing the package, will note
>> that for the next release.

> I checked and it is already packaged.  So, what are the
> permissions/contents?  If it exists, move it away and install man-db
> again.

Turned out, I can easily reproduce it by

> # rm -rf /var/cache/man && mkdir /var/cache/man && touch /var/cache/man/index.db && mandb
> Purging old database entries in /usr/share/man...
> mandb: can't update index cache /var/cache/man/2070: No such file or directory
> Processing manual pages under /usr/share/man...
> mandb: can't create index cache /var/cache/man/2070: Resource temporarily unavailable

It creates CACHEDIR.TAG and cat1 cat3 cat5 cat6 cat7 cat8 subdirectories but
that's about it. Nothing else is saved and the index.db is unmodified.


-- 
With best regards,
Andrey Repin
Tuesday, February 8, 2022 10:48:10

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019