-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snapdtool, sandbox/apparmor: fix apparmor_parser lookup (#14240)
* snapdtool: disable lookup of development binaries The lookup of development binaries from the current process execution location proves to be problematic as it adds ambiguity to what locations are being considered. Specifically, when /usr/bin/snap asks about an internal tool, the lookup may incorrectly return /usr/bin/foo instead of /usr/lib/snapd/foo if /usr/bin/foo happens to exist and is executable. Signed-off-by: Maciej Borzecki <[email protected]> * sandbox/apparmor: more logging when checking apparmor_parser candidates Signed-off-by: Maciej Borzecki <[email protected]> * secboot: improve mocking of snap-fde-keymgr Improve the mocking of snap-fde-keymgr such that the tool is indeed mocked at the right location. Signed-off-by: Maciej Borzecki <[email protected]> * cmd/snap: log errors when waiting for snapd to regenerate profiles Signed-off-by: Maciej Borzecki <[email protected]> --------- Signed-off-by: Maciej Borzecki <[email protected]>
- Loading branch information
Showing
5 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters