Merge pull request #1281 from CarlosNihelton/deeng-217-fix-syslog-wsl

Fix WSL crash on autoinstall due attempts to log to systemd journal
This commit is contained in:
Didier Roche 2022-04-21 14:15:11 +02:00 committed by GitHub
commit 6d669b12d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class SystemSetupServer(SubiquityServer):
super().__init__(opts, block_log_dir) super().__init__(opts, block_log_dir)
self.event_syslog_id = "" self.event_syslog_id = ""
self.log_syslog_id = "" self.log_syslog_id = ""
self.echo_syslog_id = ""
if is_reconfigure(opts.dry_run): if is_reconfigure(opts.dry_run):
self.set_source_variant("wsl_configuration") self.set_source_variant("wsl_configuration")
if self.opts.prefill: if self.opts.prefill: