Let --mount add to the identity's AZKABAN_MOUNTS #95
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
claudiomaradonna/azkaban#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A
--mounton the command line replaces the mounts an identity setswith
AZKABAN_MOUNTS, so a supervisor that adds one mount to everylaunch silently drops the identity's own.
Where
docs/configuration.md, Extra mounts and networks, seen at1195b907e840dfeed2d6e2f8c3893a475c94ba3a: "--mountis repeatable andtakes precedence over the comma-separated
AZKABAN_MOUNTScontrol."Scenario
https://git.unitoo.it/claudiomaradonna/ministry composes each bot's
launch and adds
--mount FOLDER:/etc/opencode:ro, the project'sOpenCode system configuration. A bot whose
envholdsAZKABAN_MOUNTS=~/reference:~/reference:rogets that folder in a launchby hand, and loses it in every launch through Ministry, with nothing on
standard error to say so.
A supervisor cannot repeat the identity's mounts itself without reading
the identity's
env, which holds its credentials.Smallest change
Let the command line's mounts add to the control's, the control's first,
with a destination given twice stopping the launch as two
--mountonone destination would. Where replacing is wanted, an empty
AZKABAN_MOUNTS=in a nearer layer already says so. Failing that, nameon standard error the mounts a
--mountdrops.