Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on XStreamOS/illumos (SunOS 5.11) #403

Open
gbulfon opened this issue Dec 23, 2021 · 0 comments
Open

Error on XStreamOS/illumos (SunOS 5.11) #403

gbulfon opened this issue Dec 23, 2021 · 0 comments

Comments

@gbulfon
Copy link

gbulfon commented Dec 23, 2021

Hi, I'm trying to package and distribute the script on our XStreamOS/illumos distro (SunOS 5.11).
Running the script the first time with "--force" I get this error:

/sonicle/sbin/clamav-unofficial-sigs.sh: line 1849: --reload: command not found

Looks like the problem is here:

eval 'setmode=yes clam_dbs=/var/lib/clamav clamd_pid=/var/run/clamav/clamd.pid reload_dbs=yes clamd_reload_opt=clamdscan --reload work_dir=/var/lib/clamav-unofficial-sigs'

where clamd_reload_opt is set without apices, so it takes "--reload" as a separate command (output from bash -x):

++ setmode=yes
++ clam_dbs=/var/lib/clamav
++ clamd_pid=/var/run/clamav/clamd.pid
++ reload_dbs=yes
++ clamd_reload_opt=clamdscan
++ --reload work_dir=/var/lib/clamav-unofficial-sigs

What's wrong? I used Solaris 11 OS config file with few changes based on my system.

Thanks,
Gabriele

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant