summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2022-01-02 21:24:17 +0900
committerErik Olof Gunnar Andersson <eandersson@blizzard.com>2022-08-11 05:04:16 +0000
commit16eba621b743e0465e94cb3723f827d98dee9a6c (patch)
tree11df1db791b4598d1c526fbd78332811049c4770
parentf3c29e8bceea832e1cb787740fa676b10a410848 (diff)
downloaddesignate-16eba621b743e0465e94cb3723f827d98dee9a6c.tar.gz
Sync rootwrap.conf from oslo.rootwrap
The current rootwrap.conf file is outdated and doesn't include some parameters. This change updates the content to make it consistent with the latest example file in oslo.rootwrap. Change-Id: I5fe06cf99bb9787ec3afc67ab60a7330fe281513
-rw-r--r--etc/designate/rootwrap.conf.sample6
-rw-r--r--requirements.txt2
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/designate/rootwrap.conf.sample b/etc/designate/rootwrap.conf.sample
index 79bfb409..e5424354 100644
--- a/etc/designate/rootwrap.conf.sample
+++ b/etc/designate/rootwrap.conf.sample
@@ -25,3 +25,9 @@ syslog_log_facility=syslog
# INFO means log all usage
# ERROR means only log unsuccessful attempts
syslog_log_level=ERROR
+
+# Rootwrap daemon exits after this seconds of inactivity
+daemon_timeout=600
+
+# Rootwrap daemon limits itself to that many file descriptors (Linux only)
+rlimit_nofile=1024
diff --git a/requirements.txt b/requirements.txt
index ac138eb2..a2785914 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -18,7 +18,7 @@ oslo.messaging>=12.4.0 # Apache-2.0
oslo.middleware>=3.31.0 # Apache-2.0
oslo.log>=4.3.0 # Apache-2.0
oslo.reports>=1.18.0 # Apache-2.0
-oslo.rootwrap>=5.8.0 # Apache-2.0
+oslo.rootwrap>=5.15.0 # Apache-2.0
oslo.serialization>=2.25.0 # Apache-2.0
oslo.service>=1.31.0 # Apache-2.0
oslo.upgradecheck>=1.3.0