Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 459686

Summary: app-antivirus/clamav init script expect the presence of group `root'
Product: Gentoo/Alt Reporter: Dmitri Bogomolov <4glitch>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: antivirus, net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitri Bogomolov 2013-02-28 09:52:02 UTC
This fragments of /etc/init.d/clamd assume presence of group `root':

--

        if [ "${START_CLAMD}" = "yes" ]; then
                checkpath --quiet --mode 755 \
                        --owner $(get_config clamd User clamav):root \
                        --directory `dirname ${clamd_socket}`
                if [ -S "${clamd_socket}" ]; then
                        rm -f ${clamd_socket}
--
                local logfile=$(get_config clamd LogFile)
                if [ -n "${logfile}" ]; then
                        checkpath --quiet \
                                --owner $(get_config clamd User clamav):root \
                                --mode 640 \
                                --file ${logfile}
                fi
--
                local logfile=$(get_config freshclam UpdateLogFile)
                if [ -n "${logfile}" ]; then
                        checkpath --quiet \
                                --owner $(get_config freshclam DatabaseOwner clamav):root \
                                --mode 640 \
                                --file ${logfile}
                fi

Reproducible: Always




# groups root
wheel operator
Comment 1 Eray Aslan gentoo-dev 2013-03-01 08:19:08 UTC
Should be fixed in =app-antivirus/clamav-0.97.6-r3.  Thanks for the report.