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

kdb rm /..: removes spec key #2761

Open
markus2330 opened this issue Jun 9, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@markus2330
Copy link
Contributor

commented Jun 9, 2019

Steps to Reproduce the Problem

Assume that spec.ini is in pwd and contains:

[]
mountpoint = mymountpoint.ini

[mykey]
type = long
sudo kdb mount `pwd`/spec.ini spec/tests/hello ni
sudo kdb spec-mount /tests/hello

kdb set /tests/hello/mykey 123
kdb rm /tests/hello/mykey test

Expected Result

That I removed what I've set just before.

Actual Result

The spec key is removed, spec.ini then contains:

;Ni1
; Generated by Nickel Plugin using Elektra (see libelektra.org).

 = 

[]
 mountpoint = mymountpoint.ini

Interestingly, the validation then still fails and kdb getmeta /tests/hello/mykey type still returns long. But this might be a different mmap-related bug (#2760).

System Information

  • Elektra Version: master
@kodebach

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2019

kdb getmeta /tests/hello/mykey type still returns long

That may be because of #2700. It may also be related to #2456.

@markus2330

This comment has been minimized.

Copy link
Contributor Author

commented Jun 9, 2019

Thank you for making the connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.