-
Notifications
You must be signed in to change notification settings - Fork 9
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
Symlink the new AV path to avoid breakages. #1408
Conversation
307fcfc
to
ab50f47
Compare
Dockerfile
Outdated
RUN ln -s /usr/bin/clamav-config /usr/local/bin/clamav-config && \ | ||
ln -s /usr/bin/clambc /usr/local/bin/clambc && \ | ||
ln -s /usr/bin/clamconf /usr/local/bin/clamconf && \ | ||
ln -s /usr/bin/clamdscan /usr/local/bin/clamdscan && \ | ||
ln -s /usr/bin/clamdtop /usr/local/bin/clamdtop && \ | ||
ln -s /usr/bin/clamscan /usr/local/bin/clamscan && \ | ||
ln -s /usr/bin/clamsubmit /usr/local/bin/clamsubmit && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
RUN ln -s /usr/bin/clamav-config /usr/local/bin/clamav-config && \ | |
ln -s /usr/bin/clambc /usr/local/bin/clambc && \ | |
ln -s /usr/bin/clamconf /usr/local/bin/clamconf && \ | |
ln -s /usr/bin/clamdscan /usr/local/bin/clamdscan && \ | |
ln -s /usr/bin/clamdtop /usr/local/bin/clamdtop && \ | |
ln -s /usr/bin/clamscan /usr/local/bin/clamscan && \ | |
ln -s /usr/bin/clamsubmit /usr/local/bin/clamsubmit && \ | |
RUN ln -s /usr/bin/clam* /usr/local/bin && \ |
Dockerfile
Outdated
ln -s /usr/bin/clamdtop /usr/local/bin/clamdtop && \ | ||
ln -s /usr/bin/clamscan /usr/local/bin/clamscan && \ | ||
ln -s /usr/bin/clamsubmit /usr/local/bin/clamsubmit && \ | ||
chmod 0755 /usr/local/bin/clam* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the mode of the link targets rather than the links themselves. Is that what you intend here? (and have you checked that it's necessary?)
It'd also be cool to fix the app not to specify the full path so that we can remove this workaround later. |
What?
The new build process leaves the various ClamAV binaries in
/usr/bin
, whereas they were previously linked to/usr/local/bin
. Let's symlink these binaries so they can still be found in the right place by Asset Manager.