Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boot: Don't fail on missing layout file
Currently, when installing the dCache package and then immediately removing it again, the uninstall fails beause 'dcache stop' cannot complete when the layout file is missing. Also, on a node that doesn't need to run any dCache services, doing a setup without a layout file is currently not possible. This could for instance be a node that needs to run the info provider and nothing else. This patch solves this by not making the boot loader fall over when the layout file is missing. Instead it adds the failure as a warning to the problem consumer. The check-config command will output a nice warning. To supress the warning, one can set dcache.layout.uri to the empty string. Target: trunk Request: 2.13 Request: 2.12 Request: 2.11 Request: 2.10 Require-notes: yes Require-book: no Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Acked-by: Paul Millar <paul.millar@desy.de> Patch: https://rb.dcache.org/r/7431/
- Loading branch information