mschlenstedt / Loxberry

Current stable Branch is: *** Please see Releases *** Current developer Branch is: *** master ***
Apache License 2.0
77 stars 27 forks source link

plugininstall: Broken logging #1305

Closed mschlenstedt closed 2 years ago

mschlenstedt commented 2 years ago

Since 16d01646a369996f4b17764f07fd28ed78b98698 (plugininstall uses Logging Lib) there's no logoutput from plugininstall.pl. Just the starting of the logfile from WebUI, but than output stops.

mschlenstedt commented 2 years ago

Reason is that plugininstall runs as root while the LogLib always changes owner to loxberry. While chowning the logfile, the loglib looses the filehandle. Will be tracked in new issue #1324