-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mullvad: disable symlink for non-existing profile #651
Comments
Same problem on Arch Linux. The PKGBUILD for mullvad-vpn-bin contains:
|
The profile is from https://github.com/mullvad/mullvadvpn-app/blob/main/dist-assets/linux/apparmor_mullvad it was in conflict with the Is there an issue when the profile is not installed? I remember having tested this quickly before disabling it. |
It isn't a problem on the AppArmor side (the broken disable/ symlink will be ignored), but the packaging checks catch the broken symlink and error out, which aborts the build. For now, I adjusted the spec file to delete the disable/mullvad symlink. |
That is kind of problematic. I need to handle the conflict on apparmor.d's side, or it will fail if someone install Mullvad, but this will also cause an issue on packaging side... Do you know the proper way to fix this? |
I'm afraid there's no sane fix on the packaging side (at least none that I'm aware of) since in nearly all cases (except this one) packaging a broken symlink is a bad idea and a sign for a packaging error. For now, I have extended the spec file to exclude the disable/mullvad symlink. That fixes the build, but of course also means that this symlink isn't included in the package. |
61939a3 creates a disable/mullvad symlink, but (at least on openSUSE Tumbleweed) this profile doesn't exist.
This results in a build failure:
Do you know where the nullvad profile comes from so that I can add that package to BuildRequires?
The text was updated successfully, but these errors were encountered: