logger: temporarily disable Capsicum when a host is provided
We don't have a way to send a UDP package. PR: 245314 Reported by: dch Discussed with: emaste
This commit is contained in:
parent
ea93f41643
commit
36a53978e7
@ -181,8 +181,10 @@ main(int argc, char *argv[])
|
||||
err(1, "Unable to contact Casper");
|
||||
caph_cache_catpages();
|
||||
caph_cache_tzdata();
|
||||
if (caph_enter() < 0)
|
||||
err(1, "Unable to enter capability mode");
|
||||
if (nsock == 0) {
|
||||
if (caph_enter() < 0)
|
||||
err(1, "Unable to enter capability mode");
|
||||
}
|
||||
capsyslog = cap_service_open(capcas, "system.syslog");
|
||||
if (capsyslog == NULL)
|
||||
err(1, "Unable to open system.syslog service");
|
||||
|
Loading…
Reference in New Issue
Block a user