Bug 1535233

Summary: don't restart wpa_supplicant.service when package is upgraded
Product: [Fedora] Fedora Reporter: Davide Caratti <dcaratti>
Component: wpa_supplicantAssignee: Davide Caratti <dcaratti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 27CC: bgalvani, blueowl, dcaratti, dcbw, john.j5live, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: wpa_supplicant-2.6-13.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-23 21:46:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Davide Caratti 2018-01-16 22:01:53 UTC
In current wpa_supplicant, the systemd service (wpa_supplicant.service) is
restarted every time the RPM package is updated, because of the following
lines in the specfile:

%postun
%systemd_postun_with_restart wpa_supplicant.service

This generates a temporary disconnection during the package upgrade; such
disconnection is (almost) immediately recovered when the interface is
managed by an external daemon, like NetworkManager or systemd-networkd.
On the other hand, there are situations where the connectivity is not repaired after RPM upgrade until manual intervention. Similar problems have been fixed on other packages by simply removing the 'systemctl try-restart' command from the specfile in the %postun target.

Comment 1 Fedora Update System 2018-01-16 22:58:49 UTC
wpa_supplicant-2.6-13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b724c4abd7

Comment 2 Fedora Update System 2018-01-18 02:10:06 UTC
wpa_supplicant-2.6-13.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b724c4abd7

Comment 3 Fedora Update System 2018-01-23 21:46:52 UTC
wpa_supplicant-2.6-13.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.