Skip to content
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

[BUG] sendto operation not permitted #298

Closed
1 task done
muammar opened this issue Dec 12, 2024 · 2 comments
Closed
1 task done

[BUG] sendto operation not permitted #298

muammar opened this issue Dec 12, 2024 · 2 comments

Comments

@muammar
Copy link

muammar commented Dec 12, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I start the docker container, I can see the following logs:

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r0-ls272
Build-date: 2024-12-03T10:45:19+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
sendto: Operation not permitted
sendto: Operation not permitted
sendto: Operation not permitted
sendto: Operation not permitted
Connection to localhost (127.0.0.1) 9091 port [tcp/*] succeeded!
[ls.io-init] done.

This renders transmission unusable. I found something on reddit that could (or not) be relevant? https://www.reddit.com/r/Ubuntu/s/6fh1C73eO0

Thanks.

Expected Behavior

No sendto operación not permitted warning and normal transmission start.

Steps To Reproduce

I just downloaded the new docker image. Nothing else has changed.

Environment

- OS:Debian Testing.
- How docker service was installed: from upstream official package.

CPU architecture

x86-64

Docker creation

services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    ports: #make sure to include these for qbittorrent to work
      - 9091:9091       # Transmission UI port
      - 51413:51413     # Torrent port (TCP)
      - 51413:51413/udp # Torrent port (UDP)
      - 8001:8000       # Needed by gethomepage
    environment:
      - SOME STUFF
    volumes:
      - /home/muammar/docker/Gluetun/:/gluetun
      - /home/muammar/docker/GluetunAuth/config.toml:/gluetun/auth/config.toml
    restart: unless-stopped

  transmission:
    image: lscr.io/linuxserver/transmission
    container_name: transmission
    environment:
      - PUID=1000 # User id
      - PGID=1000 # Group id
      - TZ='America/New_York'
    volumes:
      - /home/muammar/docker/Transmission:/config # Change this to your docker config folder
      - /home/muammar/Media:/downloads # Change this to your download folder
    network_mode: service:gluetun
    restart: unless-stopped # This makes sure that the application restarts when it crashes



### Container logs

```bash
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r0-ls272
Build-date: 2024-12-03T10:45:19+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
sendto: Operation not permitted
sendto: Operation not permitted
sendto: Operation not permitted
sendto: Operation not permitted
Connection to localhost (127.0.0.1) 9091 port [tcp/*] succeeded!
[ls.io-init] done.
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@muammar muammar changed the title [BUG] sendto operación not permitted [BUG] sendto operation not permitted Dec 12, 2024
@muammar
Copy link
Author

muammar commented Dec 12, 2024

I found a solution. It turns out the issue was gluetun. I had to follow what's stated here:

qdm12/gluetun#700 (comment)

  devices:
    - /dev/net/tun:/dev/net/tun

That made gluetun to start correctly and transmission to run normally.

Sorry for the noise and thank you for your hard work!

@muammar muammar closed this as completed Dec 12, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant