Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ For distributions without the snap daemon pre-installed, use the links below for
| {ref}`elementary OS <tutorials-install-the-daemon-elementary-os>` | {ref}`Fedora <tutorials-install-the-daemon-fedora>` |
| {ref}`GalliumOS <interfaces-installing-snap-on-galliumos>` | {ref}`Kali Linux <interfaces-installing-snap-on-kali>` |
| {ref}`KDE Neon* <interfaces-installing-snap-on-kde-neon>` | {ref}`Linux Mint <tutorials-install-the-daemon-linux-mint>` |
| {ref}`Manjaro* <tutorials-install-the-daemon-manjaro-linux>` | {ref}`openSUSE <tutorials-install-the-daemon-opensuse>` |
| {ref}`Parrot Security OS <interfaces-installing-snap-on-parrot-security-os>` | {ref}`Pop!_OS <tutorials-install-the-daemon-pop-os>` |
| {ref}`Raspberry Pi OS <interfaces-installing-snap-on-raspbian>` | | {ref}`Rocky Linux <tutorials-install-the-daemon-rocky-linux>` |
| {ref}`Ubuntu* <tutorials-install-the-daemon-ubuntu>` | |
| {ref}`Manjaro* <tutorials-install-the-daemon-manjaro-linux>` | {ref}`OpenMandriva <tutorials-install-the-daemon-openmandriva>` |
| {ref}`openSUSE <tutorials-install-the-daemon-opensuse>` | {ref}`Parrot Security OS <interfaces-installing-snap-on-parrot-security-os>` |
| {ref}`Pop!_OS <tutorials-install-the-daemon-pop-os>` | {ref}`Raspberry Pi OS <interfaces-installing-snap-on-raspbian>` |
| {ref}`Rocky Linux <tutorials-install-the-daemon-rocky-linux>` | {ref}`Ubuntu* <tutorials-install-the-daemon-ubuntu>` |

**\*** While snapd is pre-installed on these systems, installation instructions can help if you're using older versions, or want to re-install snap after removing it.

Expand Down
9 changes: 5 additions & 4 deletions docs/tutorials/install-the-daemon/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ For distributions without the snap daemon pre-installed, use the links below for
| {ref}`elementary OS <tutorials-install-the-daemon-elementary-os>` | {ref}`Fedora <tutorials-install-the-daemon-fedora>` |
| {ref}`GalliumOS <interfaces-installing-snap-on-galliumos>` | {ref}`Kali Linux <interfaces-installing-snap-on-kali>` |
| {ref}`KDE Neon* <interfaces-installing-snap-on-kde-neon>` | {ref}`Linux Mint <tutorials-install-the-daemon-linux-mint>` |
| {ref}`Manjaro* <tutorials-install-the-daemon-manjaro-linux>` | {ref}`openSUSE <tutorials-install-the-daemon-opensuse>` |
| {ref}`Parrot Security OS <interfaces-installing-snap-on-parrot-security-os>` | {ref}`Pop!_OS <tutorials-install-the-daemon-pop-os>` |
| {ref}`Raspberry Pi OS <interfaces-installing-snap-on-raspbian>` | | {ref}`Rocky Linux <tutorials-install-the-daemon-rocky-linux>` |
| {ref}`Ubuntu* <tutorials-install-the-daemon-ubuntu>` | |
| {ref}`Manjaro* <tutorials-install-the-daemon-manjaro-linux>` | {ref}`OpenMandriva <tutorials-install-the-daemon-openmandriva>` |
| {ref}`openSUSE <tutorials-install-the-daemon-opensuse>` | {ref}`Parrot Security OS <interfaces-installing-snap-on-parrot-security-os>` |
| {ref}`Pop!_OS <tutorials-install-the-daemon-pop-os>` | {ref}`Raspberry Pi OS <interfaces-installing-snap-on-raspbian>` |
| {ref}`Rocky Linux <tutorials-install-the-daemon-rocky-linux>` | {ref}`Ubuntu* <tutorials-install-the-daemon-ubuntu>` |

**\*** While snapd is pre-installed on these systems, installation instructions can help if you're using older versions, or want to re-install snap after removing it.

Expand All @@ -61,6 +61,7 @@ Kali Linux <kali>
Linux Mint <linux-mint>
Manjaro Linux <manjaro-linux>
KDE Neon <neon>
openMandriva <openmandriva>
openSUSE <opensuse>
Parrot Security OS <parrot>
Pop!_OS <pop-os>
Expand Down
34 changes: 34 additions & 0 deletions docs/tutorials/install-the-daemon/openmandriva.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
(tutorials-install-the-daemon-openmandriva)=
# Install Snap on OpenMandriva

OpenMandriva supplies `snapd` in its repositories. It takes two steps to get it going:

1. Install `snapd`:

```bash
sudo dnf install snapd
```

1. Enable `snapd`:

```bash
sudo systemctl enable --now snapd

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to enable snapd.apparmor.service? that's the service responsible for re-loading snap-specific apparmor profiles after reboot.

@sez11a sez11a Sep 2, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure. Enabling/starting snapd without apparmor works fine. I don't use apparmor, so I tested this in a VM and learned that OpenMandriva's AppArmor package is broken, because it includes a file that conflicts with a core package:

Package                        Arch    Version                        Repository                 Size
Installing:
 apparmor                      znver1  0:4.0.3-10                     cooker-znver1-extra     2.5 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 799 KiB. Need to download 799 KiB.
After this operation, 3 MiB extra will be used (install 3 MiB, remove 0 B).
Is this ok [y/N]: y
[1/1] apparmor-0:4.0.3-10.znver1                             100% | 429.8 KiB/s | 799.0 KiB |  00m02s
-----------------------------------------------------------------------------------------------------
[1/1] Total                                                  100% | 409.1 KiB/s | 799.0 KiB |  00m02s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /etc/apparmor.d/bin.ping from install of apparmor-4.0.3-10.znver1 conflicts with file from package iputils-20221126-1.znver1

I'm trying to get that straightened out in their Matrix chat. But for now, the answer to your question is no, you don't need to enable the apparmor service by default, because OpenMandriva doesn't install/use apparmor by default (though it's in the repos). I guess it was my mistake to see apparmor in OpenMandriva's repositories, assume it was working, and follow the pattern I saw in your docs for other distros.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small update; I went ahead and fixed the package, then I built it on their ABF, and now Apparmor installs on OpenMandriva.

We need additional instructions for getting Apparmor to actually start on OpenMandriva, because though support is compiled into the kernel, it's apparently not enabled on the boot line in Grub. Do you want me to add all that, or would it be more appropriate to point to Apparmor docs for that sort of thing?

```

## Confinement

AppArmor is not installed by default on OpenMandriva. It takes the same two steps to install and enable it:

1. Install:

```bash
sudo dnf install apparmor
```

1. Enable:

```bash
sudo systemctl enable apparmor
```

Enjoy!