diff --git a/fi.epitest.hostap.WPASupplicant.service b/fi.epitest.hostap.WPASupplicant.service index a2592eb..4052a7c 100644 --- a/fi.epitest.hostap.WPASupplicant.service +++ b/fi.epitest.hostap.WPASupplicant.service @@ -1,5 +1,5 @@ [D-BUS Service] Name=fi.epitest.hostap.WPASupplicant -Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log +Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log User=root SystemdService=wpa_supplicant.service diff --git a/fi.w1.wpa_supplicant1.service b/fi.w1.wpa_supplicant1.service index a8bcd27..7e69463 100644 --- a/fi.w1.wpa_supplicant1.service +++ b/fi.w1.wpa_supplicant1.service @@ -1,5 +1,5 @@ [D-BUS Service] Name=fi.w1.wpa_supplicant1 -Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log +Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log User=root SystemdService=wpa_supplicant.service diff --git a/wpa-supplicant-log-file-cloexec.patch b/wpa_supplicant-log-file-cloexec.patch similarity index 100% rename from wpa-supplicant-log-file-cloexec.patch rename to wpa_supplicant-log-file-cloexec.patch diff --git a/wpa-supplicant-log-file-permission.patch b/wpa_supplicant-log-file-permission.patch similarity index 96% rename from wpa-supplicant-log-file-permission.patch rename to wpa_supplicant-log-file-permission.patch index 6a52ace..8f14185 100644 --- a/wpa-supplicant-log-file-permission.patch +++ b/wpa_supplicant-log-file-permission.patch @@ -49,7 +49,7 @@ index 62758d864..5d2f7becb 100644 - out_file = fopen(path, "a"); + int out_fd = -1; -+ out_fd = open(path, O_CREAT | O_APPEND, S_IRUSR | S_IWUSR | S_IRGRP); ++ out_fd = open(path, O_CREAT | O_WRONLY | O_APPEND, S_IRUSR | S_IWUSR | S_IRGRP); + if (out_fd < 0) { + wpa_printf(MSG_ERROR, "wpa_debug_open_file: Failed to open " + "output file descriptor, using standard output"); diff --git a/wpa_supplicant.changes b/wpa_supplicant.changes index abbb7a4..3fb8346 100644 --- a/wpa_supplicant.changes +++ b/wpa_supplicant.changes @@ -1,22 +1,24 @@ +------------------------------------------------------------------- +Tue Oct 16 06:45:59 UTC 2018 - Karol Babioch + +- Renamed patches: + - wpa-supplicant-log-file-permission.patch -> wpa_supplicant-log-file-permission.patch + - wpa-supplicant-log-file-cloexec.patch -> wpa_supplicant-log-file-cloexec.patch +- wpa_supplicant-log-file-permission.patch: Using O_WRONLY flag +- Enabled timestamps in log files (bsc#1080798). + ------------------------------------------------------------------- Mon Oct 15 16:20:25 CEST 2018 - ro@suse.de -- compile eapol_test binary to allow testing via - radius proxy and server +- compile eapol_test binary to allow testing via radius proxy and server (note: this does not match CONFIG_EAPOL_TEST which sets -Werror and activates an assert call inside the code of wpa_supplicant) - (bsc#1111873), (fate#326725)o + (bsc#1111873), (fate#326725) - add patch to fix wrong operator precedence in ieee802_11.c wpa_supplicant-git-fa67debf4c6ddbc881a212b175faa6d5d0d90c8c.patch - add patch to avoid redefinition of __bitwise macro wpa_supplicant-git-f5b74b966c942feb95a8ddbb7d130540b15b796d.patch -------------------------------------------------------------------- -Fri Oct 12 13:04:57 UTC 2018 - Karol Babioch - -- Enabled timestamps in log file when being invoked by systemd service file - (bsc#1080798). - ------------------------------------------------------------------- Fri Oct 12 06:55:06 UTC 2018 - Karol Babioch @@ -30,7 +32,7 @@ Fri Oct 12 06:55:06 UTC 2018 - Karol Babioch ------------------------------------------------------------------- Thu Oct 11 11:58:33 UTC 2018 - Karol Babioch -- Added rebased-v2.6-0009-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch: +- Added rebased-v2.6-0009-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch: Ignore unauthenticated encrypted EAPOL-Key data (CVE-2018-14526, bsc#1104205). ------------------------------------------------------------------- diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index fa13325..54b0b16 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -52,8 +52,8 @@ Patch17: rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Respons Patch18: wpa_supplicant-bnc-1099835-fix-private-key-password.patch Patch19: wpa_supplicant-bnc-1099835-clear-default_passwd_cb.patch Patch20: rebased-v2.6-0009-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch -Patch21: wpa-supplicant-log-file-permission.patch -Patch22: wpa-supplicant-log-file-cloexec.patch +Patch21: wpa_supplicant-log-file-permission.patch +Patch22: wpa_supplicant-log-file-cloexec.patch Patch23: wpa_supplicant-git-fa67debf4c6ddbc881a212b175faa6d5d0d90c8c.patch Patch24: wpa_supplicant-git-f5b74b966c942feb95a8ddbb7d130540b15b796d.patch diff --git a/wpa_supplicant@.service b/wpa_supplicant@.service index e569a77..90d4029 100644 --- a/wpa_supplicant@.service +++ b/wpa_supplicant@.service @@ -6,7 +6,7 @@ After=dbus.service [Service] Type=dbus BusName=fi.w1.wpa_supplicant1 -ExecStart=/usr/sbin/wpa_supplicant -i%i -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log +ExecStart=/usr/sbin/wpa_supplicant -i%i -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log [Install] WantedBy=multi-user.target