public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to find which .keep file creation is failing
Date: Wed, 23 Aug 2023 00:14:03 +0100	[thread overview]
Message-ID: <2297006.ElGaqSPkdT@rogueboard> (raw)
In-Reply-To: <5704319.DvuYhMxLoT@wstn>

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

On Tuesday, 22 August 2023 14:18:08 BST Peter Humphrey wrote:
> Hello list,
> 
> In an effort to sort out my ruby problem I'm building a new system
> piecemeal, by which I mean one step at a time with dev-lang/ruby masked.
> 
> The latest snag is in the early stages of the build process, when installing
> polkit, with a "keepfile creation failed" error, or similar.
> 
> How can I find out where it's trying to install a .keep file? I tried
> installing polkit on another machine and searching for .keep, but nothing
> related appeared.
> 
> (This is turning into just about the most frustrating build ever.)

I don't know if line 151 in the ebuild is related to the messages you're 
getting.  I see in '/var/db/repos/gentoo/sys-auth/polkit/polkit-122-r1.ebuild'

    147         if use daemon; then
    148                 if [[ ${EUID} == 0 ]]; then
    149                         diropts -m 0700 -o polkitd
    150                 fi
    151                 keepdir /etc/polkit-1/rules.d
    152         fi

Which was created with permissions 0700 and ownership of polkitd:root,

# stat /etc/polkit-1/rules.d
  File: /etc/polkit-1/rules.d
  Size: 46        	Blocks: 0          IO Block: 4096   directory
Device: 0,21	Inode: 1004        Links: 1
Access: (0700/drwx------)  Uid: (  102/ polkitd)   Gid: (    0/    root)

I would think this would be at the end, not early in the build stage.  I 
mention it just in case it may be relevant.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-08-22 23:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22 13:18 [gentoo-user] How to find which .keep file creation is failing Peter Humphrey
2023-08-22 23:14 ` Michael [this message]
2023-08-25 13:51   ` Peter Humphrey
2023-08-25 15:28     ` Peter Humphrey
2023-08-25 15:39       ` Peter Humphrey
2023-08-25 17:24         ` Jack
2023-08-25 20:10         ` Emily Rowlands
2023-08-26 11:00       ` Arve Barsnes
2023-08-26 11:51         ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2297006.ElGaqSPkdT@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox