Revision d08a8359 lib/tools/ensure_dirs.py
b/lib/tools/ensure_dirs.py | ||
---|---|---|
122 | 122 |
masterd_log = constants.DAEMONS_LOGFILES[constants.MASTERD] |
123 | 123 |
noded_log = constants.DAEMONS_LOGFILES[constants.NODED] |
124 | 124 |
confd_log = constants.DAEMONS_LOGFILES[constants.CONFD] |
125 |
luxid_log = constants.DAEMONS_LOGFILES[constants.LUXID] |
|
125 | 126 |
rapi_log = constants.DAEMONS_LOGFILES[constants.RAPI] |
127 |
mond_log = constants.DAEMONS_LOGFILES[constants.MOND] |
|
126 | 128 |
|
127 | 129 |
rapi_dir = os.path.join(pathutils.DATA_DIR, "rapi") |
128 | 130 |
cleaner_log_dir = os.path.join(pathutils.LOG_DIR, "cleaner") |
... | ... | |
194 | 196 |
(pathutils.LOG_DIR, DIR, 0770, getent.masterd_uid, getent.daemons_gid), |
195 | 197 |
(masterd_log, FILE, 0600, getent.masterd_uid, getent.masterd_gid, False), |
196 | 198 |
(confd_log, FILE, 0600, getent.confd_uid, getent.masterd_gid, False), |
199 |
(luxid_log, FILE, 0600, getent.luxid_uid, getent.masterd_gid, False), |
|
197 | 200 |
(noded_log, FILE, 0600, getent.noded_uid, getent.masterd_gid, False), |
198 | 201 |
(rapi_log, FILE, 0600, getent.rapi_uid, getent.masterd_gid, False), |
202 |
(mond_log, FILE, 0600, getent.mond_uid, getent.masterd_gid, False), |
|
199 | 203 |
(pathutils.LOG_OS_DIR, DIR, 0750, getent.noded_uid, getent.daemons_gid), |
200 | 204 |
(pathutils.LOG_XEN_DIR, DIR, 0750, getent.noded_uid, getent.daemons_gid), |
201 | 205 |
(cleaner_log_dir, DIR, 0750, getent.noded_uid, getent.noded_gid), |
Also available in: Unified diff