History | View | Annotate | Download (4.4 kB)
Allow ensure-dirs to run partially and skip big file chunks
The startup of the daemons would take a lot of time otherwise,also it's not needed to set the permissions of those file overand over again, because if the daemons are once migrated to theuser they will keep creating the file for that user....
Adapt ensure-dirs to accomodate the additional permissions and files
Please note that this can and will be improved over time. There are discussionsabout automated file generation of ensure-dirs so we can really keep all thepermissions and file ownerships in one place. Because right now they are all...
ensure-dirs: don't fail if no rapi log is present
Sometimes a node has never been a master. Or ran rapi. In that case weneed to create the file (because if later rapi gets started, it won't beable to create it itself).
Signed-off-by: Guido Trotter <ultrotter@google.com>...
Let daemon-utils fix the owners for ganeti-rapi
This is a workaround until we fully switched to user separation and fixes theowners of directories/log files so ganeti-rapi will start flawlessly. This isright now run for every daemon but as it operates on a relatively small subset...