On March 4, 2021 3:50:21 PM UTC, gregor herrmann <gre...@debian.org> wrote:
>On Tue, 02 Mar 2021 22:44:24 +0000, Thorsten Glaser wrote:
>
>> and the new one doesn’t work, and I don’t even
>> know what I’m supposed to put where. Perhaps upstream has some kind
>> of list what model needs which settings? Also, YAML is such a weird
>> format unfriendly to human editing…
>
>What "works" is to put
>
>-c /etc/thinkfan.conf
>
>into DAEMON_ARGS in /etc/default/thinkfan, i.e. use the old config.
> 
>In the meantime I've converted the old .conf to a new .yaml for my
>Thinkpad, starting from the example config in /etc and the new
>thinkfan.conf manpage.
>
>I have no good idea for handling this on upgrades; _maybe_ shipping a
>more minimal/generic /etc/thinkpad.yaml would help (the current one
>is a huge exmple file with all kinds of options and will probably not
>work for any machine); or ship it as an example and nothing in /etc
>(which of course also breaks updates but apparently there's no good
>way out of this).


Yeah, not shipping the yaml is also what David proposed in 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983727 and I think that's the 
cleanest we can go with.

FWIW, you don't need -c if there is no yaml, it will find the old conf if it's 
called thinkfan.conf automatically.

>
>
>Cheers,
>gregor
>

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Reply via email to