-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Transmission service fails to start inside a container #258793
Comments
Same here, not sure if it's an upstream or nixpkgs issue |
For the time being and since it's inside a container anyway I'm overriding the root dir of the systemd unit:
|
Thanks @aorith, your fix is working for me! |
The problem is that
Which got introduced in c48faf0 to fix #98904. The original problem was that So a workaround is: systemd.services.transmission.serviceConfig.BindReadOnlyPaths = lib.mkForce [ builtins.storeDir "/etc" ]; (And I'm not sure why this wasn't a problem for 3 years) |
@ju1m I've stumbled upon this issue as well, and wondering if there is anything we can do about it regarding the Transmission service. I had to disable the following is well, before it played nicely in my setup.
|
@puffnfresh, indeed, adding only @eyJhb, IMHO disabling |
This is actually still an issue and it isn't limited to containers. Adding the params that @aorith posted, unfortunately, does not work for me ;/ |
Describe the bug
I have transmission running inside a Nixos container which has been working without issue until I recently updated the system.
It now fails to start inside the container, I have tried deleting the container and all its data but the same issue exists when creating a new one. I have also tried creating the path "/run/transmission/run/host/.os-release-stage/" on both the host and container but it doesn't seem to care.
Steps To Reproduce
Steps to reproduce the behavior:
Run transmission inside of a container
Expected behavior
Transmission service starts and runs without issue
Screenshots
Service status
Additional context
Here's where I have the container and transmission defined in my config.
https://github.com/justryanw/Flake/blob/master/containers/vpn.nix
Notify maintainers
@astsmtl
@vcunat
Metadata
The text was updated successfully, but these errors were encountered: