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

[FLOSS] augeas plugin fails silently on meta-set #4584

Closed
Tracked by #4555
Bujuhu opened this issue Oct 19, 2022 · 2 comments
Closed
Tracked by #4555

[FLOSS] augeas plugin fails silently on meta-set #4584

Bujuhu opened this issue Oct 19, 2022 · 2 comments

Comments

@Bujuhu
Copy link
Contributor

Bujuhu commented Oct 19, 2022

As discussed in #4555

Steps to Reproduce the Problem

$ sudo kdb mount /etc/hosts system:/tests/hosts augeas lens=Hosts.lns
# RET: 0
$ sudo kdb meta-set system:/tests/hosts somevalue a
# RET: 0  
$ sudo kdb meta-get system:/tests/hosts somevalue
Metakey not found
# RET: 2

Expected Result

Should print an error on sudo kdb meta-set system:/tests/hosts somevalue a and return a non 0 exit code

Actual Result

$ sudo kdb meta-set system:/tests/hosts somevalue a fails silently and sudo kdb meta-get system:/tests/hosts somevalue returns Metakey not found

System Information

Operating System:
Arch Linux, Kernel 5.19.13-arch1-1

kdb and plugins version

# kdb --version
KDB_VERSION: 0.9.11
SO_VERSION: 5

Relevant Source Code

augeas does not check if unused meta keys exist and ignores them

int elektraAugeasSet (Plugin * handle, KeySet * returned, Key * parentKey)

@Bujuhu Bujuhu changed the title [Floss H1] augeas plugin fails silently on meta-set [Floss] augeas plugin fails silently on meta-set Oct 19, 2022
@Bujuhu Bujuhu changed the title [Floss] augeas plugin fails silently on meta-set [FLOSS] augeas plugin fails silently on meta-set Oct 19, 2022
@github-actions
Copy link

I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@github-actions github-actions bot added the stale label Oct 20, 2023
Copy link

github-actions bot commented Nov 3, 2023

I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant