Skip to content

Transmission OpenVPN under Podman #34

@axel-denis

Description

@axel-denis

Transmission OpenVPN was working under docker, but not under Podman, despite trying all the available options.

The last one tried (the most complete one) is:

virtualisation.oci-containers.containers.transmission = {
  image = "haugene/transmission-openvpn:${cfg.version}";
  extraOptions = [
    (mkIf config.control.updateContainers "--pull=always")
  ];
  capabilities = {
    NET_ADMIN = true;
  };
  devices = [
    "/dev/net/tun"
  ];
  privileged = true; # tested as last resort & because the original repo asks to.
  log-driver = "k8s-file";

  volumes = [ "${cfg.paths.download}:/data" "${cfg.paths.config}:/config" ];

  environmentFiles = [ cfg.environmentFile ];
  ports = [(helpers.webServicePort config cfg 9091)];
};

But still fails:

Creating TUN device /dev/net/tun
mknod: /dev/net/tun: Operation not permitted

I have no clue on the source of the problem, so it will remain unfixed for now

Transmission OpenVPN has been disabled until it's fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions