Skip to content

Commit 6d37768

Browse files
committed
Restore correct log path
Save the log file in /var/log/qubes, instead of /run/qubes/ (or other chosen socket directory). This partially reverts 2901f00 "Make all paths relative to socket directory" Fixes: 2901f00 "Make all paths relative to socket directory" Fixes QubesOS/qubes-issues#9185
1 parent ce92bfb commit 6d37768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/qrexec-daemon.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void init(int xid, bool opt_direct)
341341

342342
if (!opt_direct) {
343343
if ((unsigned)snprintf(qrexec_error_log_name, sizeof(qrexec_error_log_name),
344-
"qrexec.%s.log", remote_domain_name) >=
344+
"/var/log/qubes/qrexec.%s.log", remote_domain_name) >=
345345
sizeof(qrexec_error_log_name))
346346
errx(1, "remote domain name too long");
347347
umask(0007); // make the log readable by the "qubes" group

0 commit comments

Comments
 (0)