Opened 14 years ago
Closed 14 years ago
#1999 closed Bug (duplicate)
rpc-authentication-required resets value on transmission-daemon restart
Reported by: | andybee | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Daemon | Version: | 1.52 |
Severity: | Normal | Keywords: | |
Cc: |
Description
When setting rpc-authentication-required to 0 and saving settings.json and then starting the daemon the setting is correctly adhered to.
However, on restarting the daemon the settings.json file is rewritten to change the value to 1 so on restart authentication is required again.
Change History (6)
comment:1 Changed 14 years ago by charles
comment:2 Changed 14 years ago by andybee
First thing I spotted is that 1.52 is released and I was still running 1.51 from the Ubuntu Jaunty repos, so I've upgraded but still am seeing the same results.
Here's what happens for me running it via init.d (I really hope this is not a simple n00b error as a result of the environment I'm running, but it's not behaving as I would expect it to?)
andy@server:~$ sudo /etc/init.d/transmission-daemon stop * Stopping bittorrent daemon transmission-daemon ...done. andy@server:~$ transmission-daemon --version Transmission 1.52 (8229) andy@server:~$ sudo grep rpc-authentication-required /etc/transmission-daemon/settings.json "rpc-authentication-required": 0, andy@server:~$ sudo /etc/init.d/transmission-daemon start * Starting bittorrent daemon transmission-daemon ...done. andy@server:~$ sudo /etc/init.d/transmission-daemon stop * Stopping bittorrent daemon transmission-daemon ...done. andy@server:~$ sudo grep rpc-authentication-required /etc/transmission-daemon/settings.json "rpc-authentication-required": 1,
Does the daemon apply some kind of rules that at least one particular type of authentication is required as I also have IP-based auth switched off?
comment:3 Changed 14 years ago by charles
I wonder if it's something to do with Ubuntu's scripts. You're not the first person to report this, but everyone who's mentioned it has been an Ubuntu user so far...
comment:4 Changed 14 years ago by John2095
Is it the '--auth' on Ubuntu Jaunty..?
john@lappy:/etc/transmission-daemon$ ps ax | grep transmission 18497 ? S<sl 0:00 /usr/bin/transmission-daemon --auth --config-dir /var/lib/transmission-daemon/info 18750 pts/0 S<+ 0:00 grep transmission john@lappy:/etc/transmission-daemon$
http://trac.transmissionbt.com/ticket/1759#comment:1
daemon overwrites settings.json when it is called with --auth option
comment:5 Changed 14 years ago by charles
Is there more information available on this ticket?
Right now it looks like either a Ubuntu script problem. I've confirmed that running transmission-daemon on its own works correctly.
comment:6 Changed 14 years ago by charles
- Resolution set to duplicate
- Status changed from new to closed
Closing as a duplicate of #2119
I can't reproduce this: