Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Constraints on CLI option values are not applied on snapd startup #971

Closed
tjmcs opened this issue Jun 6, 2016 · 0 comments
Closed

Constraints on CLI option values are not applied on snapd startup #971

tjmcs opened this issue Jun 6, 2016 · 0 comments

Comments

@tjmcs
Copy link
Contributor

tjmcs commented Jun 6, 2016

The constraints defined in the package-level configuration files are only used to validate the values retrieved from a global configuration file. The same constraints are not applied to values passed in on the command-line using the command-line flags defined for snapd or values passed in as environment variables (and these values override the values from the global configuration file).

@bjray bjray added the type/bug label Jun 7, 2016
@lynxbat lynxbat added the tracked label Jun 7, 2016
tjmcs pushed a commit to tjmcs/snap that referenced this issue Jun 7, 2016
tjmcs pushed a commit to tjmcs/snap that referenced this issue Jun 9, 2016
jcooklin added a commit that referenced this issue Jun 10, 2016
Fixes #971: Rechecks config option constraints after CLI flags applied
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants