WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problem updating ClamAV  (Read 5310 times)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9619
Re: Problem updating ClamAV
« Reply #15 on: January 25, 2012, 12:31:33 PM »
adduser from busybox has the option "H" to not create home directory.

I think that using "busybox adduser" will keep it from causing an error if another adduser from an extension is installed.

Offline remus

  • Sr. Member
  • ****
  • Posts: 369
Re: Problem updating ClamAV
« Reply #16 on: January 25, 2012, 04:55:34 PM »
sounds right, I have shadowutils installed so that I could follow the 'samba by example' book command by command. This installed the useradd and groupadd commands used in the samba book.

test results from the command line using a test user called clam
$ busybox adduser -DH clam
error need sudo

$ sudo busybox adduser -DH clam
worked, I get a clam user in /etc/passwd, and clam group in /etc/group

Should I use the sudo prefix for a start up script or is it done for me transparently ?

Question.
Is
Code: [Select]
[ condition ] || command_to_executeSome kind of shell scripting short hand for an if/else ?
Live long and prosper.

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6433
Re: Problem updating ClamAV
« Reply #17 on: January 25, 2012, 05:08:16 PM »
Hi remus
This site makes for a pretty good quick reference:
http://ss64.com/nt/syntax-conditional.html

Offline remus

  • Sr. Member
  • ****
  • Posts: 369
Re: Problem updating ClamAV
« Reply #18 on: January 25, 2012, 05:21:41 PM »
thx rich,
crystal clear, and useful short hand.
Live long and prosper.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9619
Re: Problem updating ClamAV
« Reply #19 on: January 25, 2012, 08:55:38 PM »
/usr/local/tce.installed startup scripts are run as root, no need for sudo.

Offline remus

  • Sr. Member
  • ****
  • Posts: 369
Re: Problem updating ClamAV
« Reply #20 on: January 25, 2012, 11:14:29 PM »
Jason W,

I won't be able to upload clamav.tcz to you until monday, until then, i'm rationing my last 13mb of online access at home.

If you want to take care of it sooner I'll take care of the next one ;)

Also, my current clamav.tcz for 0.97.2 has contaminated permissions/ownership for
/usr/local/etc/clamav/clamd.conf and freshclam.conf, so I'm not sure how to set them.

would you use root.root + 640 ?
Live long and prosper.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9619
Re: Problem updating ClamAV
« Reply #21 on: January 26, 2012, 02:14:03 AM »
I don't mind waiting, Monday is good.

I will look at the perms thing.

Offline remus

  • Sr. Member
  • ****
  • Posts: 369
Re: Problem updating ClamAV
« Reply #22 on: January 26, 2012, 03:03:44 AM »
Did you hear about inflation ?
Eggs are going up.
This should surprise a few chickens...
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 369
Re: Problem updating ClamAV
« Reply #23 on: January 27, 2012, 03:52:37 AM »
submitqc4 complains about the clamav.tcz.info file

Looks ok to me, here it is.
Code: [Select]
current:        2012/01/30 Updated to 0.97.3
Live long and prosper.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9619
Re: Problem updating ClamAV
« Reply #24 on: January 27, 2012, 04:22:11 AM »
Current: needs a capital C or it will make an error.

Offline remus

  • Sr. Member
  • ****
  • Posts: 369
Re: Problem updating ClamAV
« Reply #25 on: January 28, 2012, 10:37:50 PM »
Jason W,
Got my internet account topped up a day early, i'm ready to upload clamav 0.97.3 as soon as you can get me the ownership/perms you use for

/usr/local/etc/clamav/clamd.conf
/usr/local/etc/clamav/freshclam.conf

/usr/local/share/clamav/files/clamd.conf
/usr/local/share/clamav/files/freshclam.conf

I could just download clamav 0.97.2 and have a look myself... however I'm trying to make my online access stretch.
Live long and prosper.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9619
Re: Problem updating ClamAV
« Reply #26 on: February 02, 2012, 04:39:14 PM »
clamav.tcz updated.  Thanks