(t) Samba shares not accessible - 5.0.6-0 & 5.0.7-0 #2794 #2797
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce 'poetry-plugin-dotenv' to enable Poetry to establish environmental variables from a .env file. Add PASSWORD_STORE_DIR & DJANGO_SETTINGS_MODULE variables to inform OS level 'password-store' app, & our .venv Django of their configuration.
Fixes #2794
Includes:
.env
file in project.toml for sdist inclusion.source .env
to build.sh to ease development, the .env file is also read by build.sh's dedicated rockstor-build.service.poetry run mnt-share share-name
, with requiredcd
, in newroot preexec
Samba share config creation.EnvironmentFile=
directive./usr/local/bin/poetry run
script invocation in all relevant rockstor*.service files.Caveat
This does not address the following similar preexec failure observed (without clear cause) using 15.5 on both client & host.
With the following samba host side log in
/var/log/samba/log.philip-mg
i.e. client hostname specific log on rockstor server.The following issue, with as yet undetermined cause, has been created to address this caveat:
Samba: root preexec gave 83 - failing connection #2798