FS#43608 - [clamav] clamd carshing at startup

Attached to Project: Arch Linux
Opened by Bar Hofesh (bararchy) - Wednesday, 28 January 2015, 10:09 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 15 February 2015, 21:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When the OS starts after reboot\poweroff, Clamd crashes and wont start until manually starting.


Additional info:
ClamAV 0.98.5/19982/Tue Jan 27 07:56:02 2015

Systemctl trace:

└──┤ sudo systemctl status clamd
● clamd.service - clamav daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2015-01-28 11:14:45 IST; 44min ago
Process: 484 ExecStart=/usr/bin/clamd (code=exited, status=1/FAILURE)

Jan 28 11:14:45 ano clamd[484]: ERROR: TCP: getaddrinfo failed: Address family for hostname not supported
Jan 28 11:14:45 ano systemd[1]: clamd.service: control process exited, code=exited status=1
Jan 28 11:14:45 ano systemd[1]: Failed to start clamav daemon.
Jan 28 11:14:45 ano systemd[1]: Unit clamd.service entered failed state.
Jan 28 11:14:45 ano systemd[1]: clamd.service failed.
┌─( unshadow ) - ( ~ )
└──┤ sudo systemctl restart clamd
┌─( unshadow ) - ( ~ )
└──┤ sudo systemctl status clamd
● clamd.service - clamav daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2015-01-28 11:59:53 IST; 1s ago
Process: 5207 ExecStart=/usr/bin/clamd (code=exited, status=0/SUCCESS)
Main PID: 5208 (clamd)
CGroup: /system.slice/clamd.service
└─5208 /usr/bin/clamd

Steps to reproduce:
restart ?
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 15 February 2015, 21:57 GMT
Reason for closing:  No response
Comment by Gaetan Bisson (vesath) - Wednesday, 28 January 2015, 16:39 GMT
Could you see if rebuilding a fresh clamav (without any flags or options) from source fixes this issue?
Comment by Gaetan Bisson (vesath) - Wednesday, 28 January 2015, 22:31 GMT
Could you please see if this issue is fixed with clamav-0.98.6-1 I just pushed to [extra]?
Comment by Bar Hofesh (bararchy) - Thursday, 29 January 2015, 08:53 GMT
Upgraded - ClamAV 0.98.6/19982/Tue Jan 27 07:56:02 2015

After a few restarts all seems to be OK, I'll let you know if this will change.

Thanks

Loading...