Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459686 - app-antivirus/clamav init script expect the presence of group `root'
Summary: app-antivirus/clamav init script expect the presence of group `root'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 09:52 UTC by Dmitri Bogomolov
Modified: 2013-03-01 08:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.