Dear Maintainer,
Starting thinkfan-sleep.service always ends with an error code,
"(code=exited,
status=203/EXEC)", because of wrong path in the race-condition-mitigation
portion of the script. In /lib/systemd/system/thinkfan-sleep.service, line
9,
ExecStart=/usr/bin/sleep 1
should be changed to
ExecStart=/bin/sleep 1
which solves it.
You don't need to specify a full path as systemd will search the paths specified in https://www.freedesktop.org/software/systemd/man/systemd.exec.html#%24PATH My recommendation usually is, to use a full path for the binaries shipped by your package (say ExecStart=/usr/sbin/thinkfan) but if you call binaries from other packages, I would not specify a path, so it doesn't matter, where that binary is located and your service doesn't break should the other package ever decide to move the binary to a different path.
We believe that the bug you reported is fixed in the latest version of thinkfan, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 984911@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Lee Garrett <debian@rocketjump.eu> (supplier of updated thinkfan package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 14 Jun 2022 00:52:08 +0200 Source: thinkfan Architecture: source Version: 1.3.1-2 Distribution: unstable Urgency: medium Maintainer: Lee Garrett <debian@rocketjump.eu> Changed-By: Lee Garrett <debian@rocketjump.eu> Closes: 984911 Changes: thinkfan (1.3.1-2) unstable; urgency=medium . * Fix sleep path (Closes: #984911) Checksums-Sha1: 4ac2ab70b207c5d261b0ed9d11239a2bdbcf55d6 2579 thinkfan_1.3.1-2.dsc f15b30acc7f5d111f675dbed281914e5de27c743 8088 thinkfan_1.3.1-2.debian.tar.xz ada980fb1b6a81cd6fb201f7108d681ba70a2429 8274 thinkfan_1.3.1-2_amd64.buildinfo Checksums-Sha256: 18b46c72de87c2b6667e68ab46366f931d97b607d8a1b3a80a9447749b9bc30b 2579 thinkfan_1.3.1-2.dsc 8ef8e0ce11d6c277d1e83e61cc3078644bf63fcd3259e1fd18a7ca0d7859c510 8088 thinkfan_1.3.1-2.debian.tar.xz 3c439f022b29cfe51e8c31a359425eb1c2db62605a735f7c15007bad0a314dbf 8274 thinkfan_1.3.1-2_amd64.buildinfo Files: 45aa91c8a9c4444123137a1698c1dee3 2579 misc optional thinkfan_1.3.1-2.dsc 6f277af81c9b84ee7af76f79c2ebb904 8088 misc optional thinkfan_1.3.1-2.debian.tar.xz 7b01ffc97d4d589998876b27d70d922c 8274 misc optional thinkfan_1.3.1-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQQzBAEBCgAdFiEE2EfGJRCpwv8kLOAs1gShxII+4PgFAmKnwNwACgkQ1gShxII+ 4PieVh//dGozUp5XlfjOsqxDeyS80ANTkwT1OOJrLavdhhIglEYImVIhcokuQBKG SjdiGOHx2NPrWji29ArYNmGRRQI7ecTGx/OTq0aaeRJbHyUvNejEwVsIgBiMMzx/ taBoKSwIq8OKBVMul5W+jbjaSu0HusZ8VL4NmPSy0LJ3+VHAHQdTUsA46Lf8kG3v CC0Yuz6m9bclKkLNr6q4sG0GBQvCI6sEpEIbG+OT2Cbv5AMPOKphI+fpIV/axsQg M6gFDTzIAwAGstp4bS7sR4TByizym6Fo6+zIdBafXSzKH7vnQR2VaZD6hXNODxQN vQiba1v6IN+toK9WUSrU2ca4MfMSF8Ez9Ks/3sJ/4U8a3fAgxa82q4XXXLsbRGlj N8g1nyQ5CX7SHzlW39IEMzdcj4CqF3+Cp+ZY8/ziIpDSZ67EzvP8R/DciyYqi9F1 nfeN/GA7B8McCLu2eHAmzL6G7CKJYbcl4cxfrmC+Nrj5cRTY/G1bn8rHV/ZiwQeL EHS7zkmzW6PS3arSZsxxmZLSJiAbwZ+AzKagMvVkJ6opdpSUNwXkFphNdPFJEB8V 4v5/RWZkwJSm2mj7TXx5zRnJRdo+TDYSgtDt92v/JRHyVmZMaAitrLk8/lWcpZyc S0hKma1GIFpXklfXiWj8PrZawMPgngBGhEJoPqkJ1eFvJ1HX9oCtAnzQDQw2fmSZ 3LtaE4p5gieXntuDv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