dns_one 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2b0aae742b0629726e058f4fdb8fa7cea0573b9
4
- data.tar.gz: e23813ddb476654410d91526c687007934b0c46a
3
+ metadata.gz: f9206825fe1eb6344f4cd249a168c07679cc69b7
4
+ data.tar.gz: a964aae110849dc8c8a24b47f5a3150a64420177
5
5
  SHA512:
6
- metadata.gz: e8e247001a5b0b0e047836954cf537d6c4d6f4960b060430126f3afcdaeb2bf99d9c4c6c244a094803ce68063b14fbeac3c52a43e8fc4cdfcd955208cfbfcf06
7
- data.tar.gz: 2d53aaae36d04303649d652fcd214332656c8fb71690ac239913f3a609585924ea441d40a2f4594b3189a66e72639a129d2e68f5478fc5d51b54008906b660f2
6
+ metadata.gz: abadb5a25fc5914b895084e87df22d704a7e12e77121a2e734ccc1384b38e3e10f280896691da7b6e0b2781c545b7138353b8c3044690acc6a03249b1b508ddd
7
+ data.tar.gz: a2912743e8eb8b131a65a2742928cca9765946462090ed068ce43213eda91a2208c92a48646a61ca54263e0a7ec5d1450c6939e4330ad873945b08424b3b652c
@@ -21,7 +21,6 @@ module DnsOne; class Server
21
21
  if conf[:log_result_socket]
22
22
  @log_result = {}
23
23
  @log_result_mutex = Mutex.new
24
- launch_log_result_socket
25
24
  end
26
25
  end
27
26
 
@@ -32,6 +31,7 @@ module DnsOne; class Server
32
31
  if conf[:log_result_socket]
33
32
  log_result = @log_result
34
33
  log_result_mutex = @log_result_mutex
34
+ launch_log_result_socket
35
35
  end
36
36
 
37
37
  RubyDNS::run_server(listen: dns_daemon_interfaces, logger: Log.ruby_dns_logger) do
@@ -129,12 +129,8 @@ module DnsOne; class Server
129
129
  log_result_mutex = @log_result_mutex
130
130
  conf = @conf
131
131
 
132
- # if RExec.current_user == 'root'
133
- # run_as = conf[:run_as] || DEFAULT_RUN_AS
134
- # RExec.change_user run_as
135
- # end
136
-
137
132
  sock = Thread.new do
133
+ sleep 1
138
134
  begin
139
135
  Socket.unix_server_loop(conf[:log_result_socket_file] || DEFAULT_LOG_RESULT_SOCKET_FILE) do |sock, addr|
140
136
  Thread.new do
@@ -1,3 +1,3 @@
1
1
  module DnsOne
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dns_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato