This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Mount example broken #3722
Labels
Comments
philippoppel
pushed a commit
to philippoppel/libelektra
that referenced
this issue
Mar 23, 2021
…t/mod/forum/discuss.php?d=243029#p598964 and issue ElektraInitiative#3722, also added sudo to the first command, which is necessary anyway
philippoppel
pushed a commit
to philippoppel/libelektra
that referenced
this issue
Mar 23, 2021
20 tasks
philippoppel
pushed a commit
to philippoppel/libelektra
that referenced
this issue
Apr 22, 2021
…t/mod/forum/discuss.php?d=243029#p598964 and issue ElektraInitiative#3722, also added sudo to the first command, which is necessary anyway
philippoppel
pushed a commit
to philippoppel/libelektra
that referenced
this issue
Apr 22, 2021
mpranj
pushed a commit
to mpranj/libelektra
that referenced
this issue
Apr 22, 2021
Merged
mpranj
pushed a commit
that referenced
this issue
Apr 23, 2021
…t/mod/forum/discuss.php?d=243029#p598964 and issue #3722, also added sudo to the first command, which is necessary anyway
mpranj
pushed a commit
that referenced
this issue
Apr 23, 2021
mpranj
pushed a commit
that referenced
this issue
Apr 23, 2021
mpranj
pushed a commit
to mpranj/libelektra
that referenced
this issue
Apr 23, 2021
…t/mod/forum/discuss.php?d=243029#p598964 and issue ElektraInitiative#3722, also added sudo to the first command, which is necessary anyway
mpranj
pushed a commit
to mpranj/libelektra
that referenced
this issue
Apr 23, 2021
mpranj
pushed a commit
to mpranj/libelektra
that referenced
this issue
Apr 23, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The mount configuration files example is broken.
In particular this part doesn't work:
Instead of the expected results we get:
The problem here is, that with the
kdb meta-set ... check/type enum
line, we tell thetype
plugin to validate this key against an enum definition. However, we haven't set any enum values yet, so we basically telltype
to ensure the key doesn't have a value. But we have already set a value for the key in question.There are two solutions:
kdb set
before all thekdb meta-set
lines. That way, the key doesn't have a value when type validates against the empty enum.kdb meta-set ... check/type enum
before all the otherkdb meta-set
lines. Here thetype
plugin will only start validating the key when the enum definition is complete.The example should be adapted to one of these two solutions.
The text was updated successfully, but these errors were encountered: