Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Kubo IPFS used default config #500

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Fix: Kubo IPFS used default config #500

merged 1 commit into from
Dec 12, 2023

Conversation

hoh
Copy link
Member

@hoh hoh commented Dec 11, 2023

This disables features that are not expected on
aleph.im Compute Resource Nodes and limits the number of CIDs published on the P2P network.

@github-actions github-actions bot added the BLUE This PR is simple and straightforward. label Dec 11, 2023
Copy link

  • The changes are limited to adding new files and updating an existing file.
  • There is no significant logic change or addition of new features.
  • The impact on the codebase is minimal, as these changes mainly involve configuration updates and documentation.

@hoh hoh requested review from MHHukiewitz and nesitor December 11, 2023 11:00
@hoh hoh force-pushed the hoh-add-ipfs-config branch from 4f142f4 to a1269a1 Compare December 11, 2023 14:36
@MHHukiewitz
Copy link
Member

Something seems to be wrong with the Digital Ocean checks, no matter how much one retries... Something about the service file and the VM requiring restart?

@hoh
Copy link
Member Author

hoh commented Dec 12, 2023

Something seems to be wrong with the Digital Ocean checks, no matter how much one retries... Something about the service file and the VM requiring restart?

That is an issue with Kubo 0.24.0 trying to read some allow_list in a directory that is not allowed to be accessed on Debian 11, linked to the security hardening of the service file.

See https://github.com/aleph-im/aleph-vm/blob/main/packaging/aleph-vm/etc/systemd/system/ipfs.service#L28-L52

This disables features that are not expected on
aleph.im Compute Resource Nodes and limits the number of CIDs published on the P2P network.
@hoh hoh force-pushed the hoh-add-ipfs-config branch from a1269a1 to d5a960f Compare December 12, 2023 14:20
@hoh
Copy link
Member Author

hoh commented Dec 12, 2023

I moved the upgrade of Kubo to #504

Copy link
Member

@MHHukiewitz MHHukiewitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hoh hoh merged commit 11d1a4f into main Dec 12, 2023
@Psycojoker Psycojoker deleted the hoh-add-ipfs-config branch July 24, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLUE This PR is simple and straightforward.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants