Page 2 of 2

Re: clamav configuration problems

Posted: 6. Jan 2015, 08:50
by jsfarinet
gapan wrote:If the execution bit is set it one of the rc.* scripts, then it's started when system boots.
The rc.* scripts which have the execution bit set are those displayed in a root terminal green and with a "*" after the name, correct?
Does that mean, a script that does not have the execution bit, is not executed "automatically" but only when it is called by another process/program which needs it?
gapan wrote:Try disabling the avahi service. You installed it as a dependency of something else, as it wasn't installed by default.
Thanks! How would i do that: Taking away from /etc/rc.d the 2 rc.avahi* files? Or taking away the execution bit?

Just an additional question re avahi: Is it of any advantage to get working usb sticks or networked printer/scanners?

Re: clamav configuration problems

Posted: 6. Jan 2015, 09:18
by gapan
jsfarinet wrote:The rc.* scripts which have the execution bit set are those displayed in a root terminal green and with a "*" after the name, correct?
Yes. Better way to check that, that doesn't need colored terminals etc is to

Code: Select all

ls -l /etc/rc.d/
and see which ones have the execution bit (x) on.
jsfarinet wrote:Does that mean, a script that does not have the execution bit, is not executed "automatically"
Right.
jsfarinet wrote:but only when it is called by another process/program which needs it?
No, that should never happen as far as I know. No program will ever start or stop a service.
gapan wrote:Try disabling the avahi service. You installed it as a dependency of something else, as it wasn't installed by default.
jsfarinet wrote:Thanks! How would i do that
Consider the following alternative equivalents:

Code: Select all

chmod -x /etc/rc.d/rc.foo
service stop foo
or launching the "System services" app from the System menu and unselecting it.
(the first one actually only disables the service in future boots, the others also stop the service)
jsfarinet wrote:Just an additional question re avahi: Is it of any advantage to get working usb sticks or networked printer/scanners?
USB sticks certainly not. Networked printers/scanners, potentially yes, but it's not a requirement. Avahi is a service that helps using those without having to deal with local network IPs. But if you already have set them up using IPs, then there's no need.

Re: clamav configuration problems

Posted: 8. Jan 2015, 08:52
by jsfarinet
gapan wrote:.... USB sticks certainly not. Networked printers/scanners, potentially yes, but it's not a requiremeint. Avahi is a service that helps using those without having to deal with local network IPs. But if you already have set them up using IPs, then there's no need.
For coherence i'll open a new thread to this point. Thanks anyway for the explanation.