[PATCH] daemon: always treat command as a shell command

Elan Ruusamäe glen at delfi.ee
Mon Dec 14 09:56:52 CET 2015


On 12.12.2015 19:33, Krzysztof Mazur wrote:
> Before the commit 04a486e0827d935351288c255d03dc71aeb7c727
> ("daemon: move $prog build to RC_LOGGING=yes part, ssd does not use it")
> all commands with --fork or --user options were executed as shell commands,
> due to using sh -c in implementation of both options. This implementation
> specific behavior has been used by some scripts, for instance
> fancontrol:
>
> 	daemon --fork 'fancontrol >/dev/null'
>
> That commit broke it for RC_LOGGING=no and later changes broke it also
> for RC_LOGGING=yes.

the package was fixed in git already by that time:

http://git.pld-linux.org/?p=packages/lm_sensors.git;a=summary

lm_sensors-3.4.0-2 
<http://git.pld-linux.org/?p=packages/lm_sensors.git;a=shortlog;h=refs/tags/auto/th/lm_sensors-3.4.0-2>


-- 
glen



More information about the pld-devel-en mailing list