#942335 tt-rss: Debconf preseed of "self_url_path" overwritten by config script

#942335#5
Date:
2019-10-14 20:11:11 UTC
From:
To:
Dear Maintainer,

I'm trying to preconfigure package installation, but you are reading the
"tt-rss/self_url_path" config parsing the /etc/tt-rss/config.php.
Doing this, you override debconf presets done before package install, and
"tt-rss/self_url_path" is always set to "https://example.org/tt-rss/".

The interactive config is working, because of the questions being answered
after the config file parsing, but the noninteractive preseed fails.

I think there is no need to do that: if the question is unseen, you can
use the default https://example.org/tt-rss/, but if the answer is already
present in the debconf db, you must use that.

I've tried the package in buster and the package in SID, and both do the
same.

Best regards.

Paolo

#942335#10
Date:
2021-02-23 22:33:51 UTC
From:
To:
Hello,

I was hit by this bug, trying to automate my config with Ansible.

Even setting tt-rss/self_url_path after package install, and running
"dpkg-reconfigure -f noninteractive tt-rss" will fail, because it will
read the old value from the existing config file, and overwrite the
debconf value.

I will have to directly patch the config file, which I tried to avoid.

Thanks,

Nicolas