Closed dirtbirb closed 6 years ago
Update:
I learned about taint checking, undid my previous edits, and just removed "T" from the #! line at the top of /usr/bin/zmdc.pl and /usr/bin/zmpkg.pl. Now the service starts just fine.
I'm leaving the issue open because this seems like a workaround that someone would be upset about, but feel free to close it if it's uninteresting!
Can you look into something for me? do
ls -l /bin
and
ls -l /bin/uname
Update: syslog reported that other .pl scripts (zmwatch, zmaudit, etc) were also exiting abnormally, so I went through /usr/bin and removed the T from the #! line at the top of all zm****.pl files. The messages went away.
Basically taint checking is somehow broken on my system, dunno what the proper response is.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Forgive me if I'm missing anything important, I'm definitely a noob in this stuff!
I'm trying to follow the directions here, on Linux Mint 18.3, but on "service zoneminder start" (step 7), I get the following:
The systemctl command gives the following (emphasis mine):
(Edit: This paragraph has been undone, see first comment) I took a look at zmpkg.pl, and tried replacing the architecture detection chunk with
$arch = 64;
Whether that's correct or not, it let things continue, and found more "insecure directories" in other files. After I was done "fixing" all of them (probably breaking them in the process), it still fails, but the systemctl output has no information:I'm guessing that my "fixes" just broke stuff, but I was hoping to at least get some info from it. What's the right way to fix this? As a side note, I notice that the guide I'm following mentions php5 but the guide ends up installing php7, if that's an issue.
Thank you!