11.2 qBittorent plugin's ~/.config moves to /.config on reboot

Status
Not open for further replies.

xviruz

Dabbler
Joined
Oct 11, 2015
Messages
12
Steps to reproduce:
1. Install the qBittorrent plugin, with DHCP enabled.
2. Observe that: (1) only files /.cshrc, /.profile exist, there are no /.*/ directories and (2) configuration changes in the web UI are updating ~/.config/qBittorrent/qBittorent.conf
3. Restart the jail (or the plugin).
4. Observe that: (1) /.cache/, /.config/, /.local/ have been created and (2) configuration changes now update /.config/qBittorrent/qBittorent.conf and not the one in ~/.config/.

Anyone else encounter this? It doesn't appear to affect any functionality but is super confusing behavior. From the little I know about FreeBSD, .config/ should never exist under /. None of my non-plugin jails exhibit this behavior either.
 

xviruz

Dabbler
Joined
Oct 11, 2015
Messages
12
Actually, it does affect functionality because qbittorrent-nox is brittle and likes to crash.

This folder migration seems to happen only if qbittorrent-nox is started via /etc/rc.local. If I jexec to the jail and run "qbittorrent-nox", it'll read from the ~/.config/ (and ~/.local/)... except, of course, none of the updated configs are in ~/.config/.

This is also reproducible by creating a jail from scratch, "pkg install qbittorrent-nox", and updating /etc/rc.local, which afaict is all the plugin does.
 
Status
Not open for further replies.
Top