Hi Evgeni,
Le 02/03/2021 à 15:16, Evgeni Golov a écrit :
On Mon, Mar 01, 2021 at 07:30:14PM +0000, Evgeni Golov wrote:
By installing /etc/thinkfan.yaml on systems with a working configuration
in /etc/thinkfan.conf, the daemon simply fails to start (while simply
removing the new /etc/thinkfan.yaml allow one to start it again).
Isn't the old one renamed to thinkfan.conf.dpkg-bak and thus not found?
That would be an unfortunate extra annoying step.
When I upgrade 0.9.3-2 (buster) to 1.2.1-3 I end up with:
-rw-r--r--. 1 root root 1.8K Mar 2 19:05 /etc/thinkfan.conf.dpkg-bak
-rw-r--r--. 1 root root 6.9K Feb 27 14:03 /etc/thinkfan.yaml
So even if we'd not ship the new yaml, it wouldn't start and you'd have
to manually rename the .conf.dpkg-bak to .conf.
So I was lucky enough to upgrade via 1.2.1-1 while the following snippet
was only (incorrectly) added in 1.2.1-2:
dpkg-maintscript-helper rm_conffile /etc/thinkfan.conf 1.2.1-1
Regards
David