We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1276ba + eb7d1ad commit afde409Copy full SHA for afde409
1 file changed
tools/fixup_stuff.sh
@@ -205,6 +205,19 @@ function fixup_fedora {
205
fi
206
}
207
208
+function fixup_suse {
209
+ if ! is_suse; then
210
+ return
211
+ fi
212
+
213
+ # Disable apparmor profiles in openSUSE distros
214
+ # to avoid issues with haproxy and dnsmasq
215
+ if [ -x /usr/sbin/aa-enabled ] && sudo /usr/sbin/aa-enabled -q; then
216
+ sudo systemctl disable apparmor
217
+ sudo /usr/sbin/aa-teardown
218
219
+}
220
221
# The version of pip(1.5.4) supported by python-virtualenv(1.11.4) has
222
# connection issues under proxy so re-install the latest version using
223
# pip. To avoid having pip's virtualenv overwritten by the distro's
@@ -239,5 +252,6 @@ function fixup_all {
239
252
fixup_uca
240
253
fixup_python_packages
241
254
fixup_fedora
255
+ fixup_suse
242
256
fixup_virtualenv
243
257
0 commit comments