Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76543 - [bitcoin-daemon] Systemd permissions warnings

Attached to Project: Community Packages
Opened by Igor (bubelov) - Sunday, 13 November 2022, 05:00 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To kpcyrd (kpcyrd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

> ConfigurationDirectory 'bitcoin' already exists but the mode is different. (File system: 770 ConfigurationDirectoryMode: 710)
> ConfigurationDirectory 'bitcoin' already exists but the mode is different. (File system: 770 ConfigurationDirectoryMode: 710)

Additional info:

bitcoind.service:

> ConfigurationDirectoryMode=0710

/lib/tmpfiles.d/bitcoin.conf:

> d /var/lib/bitcoind 0770 bitcoin bitcoin - -
> d /etc/bitcoin 0770 bitcoin bitcoin - -

Not that permissions are different, I think it's the reason why systemd issues those warnings.

Steps to reproduce:

pacman --sync bitcoin-daemon

systemctl start bitcoind.service

systemctl status bitcoind.service
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/bitcoin/issues/1
Comment by Toolybird (Toolybird) - Sunday, 13 November 2022, 21:58 GMT
Yeah, it appears upstream implemented "systemd automatic directory creation" [1] which is now in conflict with our tmpfiles snippet.

[1] https://github.com/bitcoin/bitcoin/commit/b0c7b54d

Loading...