Skip to content

exec-credential: delete before re-creating the credential - #31201

Closed
wahjava wants to merge 1 commit into
systemd:mainfrom
wahjava:fix/unlink-before-recreate
Closed

wahjava wants to merge 1 commit into
systemd:mainfrom
wahjava:fix/unlink-before-recreate

Conversation

@wahjava

@wahjava wahjava commented Feb 4, 2024

Copy link
Copy Markdown

As reported in this issue, when there are more Exec* targets, and the credential is more than half of the allowed size (1M).

Thanks!

@github-actions github-actions Bot added the please-review PR is ready for (re-)review by a maintainer label Feb 4, 2024
@YHNdnzj

YHNdnzj commented Feb 4, 2024

Copy link
Copy Markdown
Member

I don't think this is desirable... This means that all credentials are deleted every time a new service process is spawned. I've prepared an alternative approach in #31202.

@YHNdnzj YHNdnzj added pid1 reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks and removed please-review PR is ready for (re-)review by a maintainer labels Feb 4, 2024
@wahjava

wahjava commented Feb 5, 2024

Copy link
Copy Markdown
Author

Thanks for taking time to review the patch. Your approach seems novel.

@wahjava wahjava closed this Feb 5, 2024
@github-actions github-actions Bot removed the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Feb 5, 2024
@wahjava
wahjava deleted the fix/unlink-before-recreate branch February 5, 2024 18:36
@wahjava
wahjava restored the fix/unlink-before-recreate branch February 7, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants