r/linuxquestions • • 14m ago

OpenSuse and Loop module error

I setup a pc with the newest Tumbleweed.
Then I wanted to install and use Tomb (dyne org).

I could dig, and create a tomb, but open it was not possible.

❯ tomb open testsecret.tomb -k testsecret.tomb.key -f
tomb  .  Commanded to open tomb testsecret.tomb
tomb  .  File is not yet a tomb: testsecret.tomb
run0-sudo: invalid option -- 'p'
run0-sudo - execute a command as another user via run0

usage: run0-sudo -h | -K | -k | -V
usage: run0-sudo -v [-g group] [-u user]
usage: run0-sudo [-EHkNnP] [-D directory] [-g group]
            [-u user] [VAR=value] [-i | -s] [command [arg ...]]

Options:
  -D, --chdir=<directory>   Change the working directory
  -E, --preserve-env        Preserve user environment
      --preserve-env=<list> Preserve specific environment variables
  -g, --group=<group>       Run command as specified group or GID
  -H, --set-home            Set HOME variable, default with run0
  -h, --help                Display help text and exit
  -i, --login               Run login shell as the target user
  -K, --remove-timestamp    Revoke all cached polkit credentials for the user
  -k, --reset-timestamp     Revoke cached polkit credentials for the current session;
                            when used with a command, forces re-authentication
  -s, --shell               Run the specified shell
  -u, --user=user           Run command as specified user or UID
  -V, --version             Display version and exit
  -v, --validate            Update timestamp without running a command
tomb [W] Loop mount of volumes is not possible on this machine, this error
tomb [W] often occurs on VPS and kernels that don't provide the loop module.
tomb [W] It is impossible to use Tomb on this machine under these conditions.
tomb [E] Operation aborted.

I also tested with an existing working tomb, with sudo, and as root, but same result.
I tested the loop device, and I could mount to it no problem.

Then I checked what sudo I was running:

❯ ls -l $(which sudo)
lrwxrwxrwx. 1 root root 9 Aug 22 01:09 /usr/bin/sudo -> run0-sudo*

Okay, run0-wrappers, that might explain it, maybe try with 'doas' instead.

❯ tomb open secret.tomb -k secret.tomb.key -f --sudo doas
tomb  .  Privilege escalation tool configured: doas
tomb  .  Commanded to open tomb secret.tomb
doas: Operation not permitted
tomb [W] Loop mount of volumes is not possible on this machine, this error
tomb [W] often occurs on VPS and kernels that don't provide the loop module.
tomb [W] It is impossible to use Tomb on this machine under these conditions.
tomb [E] Operation aborted.

I also tried the official install, instead of one from zypper, but with same result.

This isn't a VM, but bare metal, and the first time I run into this issue.
Do anyone know how I can possibly resolve this?

1 Upvotes

0 comments sorted by