Summary: | amavisd-new `debug-sa' is not a valid identifier message when executing init script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Reuben Farrelly <reuben-gentoo-bugzilla> |
Component: | New packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Reuben Farrelly
2010-12-06 11:24:09 UTC
Created attachment 256488 [details]
emerge --info
emerge --info for reference
I cannot reproduce this. Can you please post the output of /etc/init.d/amavisd --debug debug-sa Thank you. tornado ~ # /etc/init.d/amavisd --debug debug-sa + _conf_d=/etc/init.d/../conf.d + _c=amavisd + '[' -n amavisd -a amavisd '!=' amavisd ']' + unset _c + '[' -e /etc/init.d/../conf.d/amavisd.default ']' + '[' -e /etc/init.d/../conf.d/amavisd ']' + unset _conf_d + '[' -e /etc/rc.conf ']' + . /etc/rc.conf ++ rc_interactive=YES ++ rc_shell=/sbin/sulogin ++ rc_depend_strict=NO ++ unicode=NO ++ rc_tty_number=12 + '[' -n '' ']' + . /etc/init.d/amavisd ++ opts=' reload debug debug-sa' ++ prog=/usr/sbin/amavisd ++ progname=amavisd-new ++ conffile=/etc/amavisd.conf /etc/init.d/amavisd: line 71: `debug-sa': not a valid identifier tornado ~ # OK. So, a problem with baselayout-2. sh-4.1$ declare -F debug-sa sh: declare: `debug-sa': not a valid identifier sh-4.1$ declare -F debug_sa sh-4.1$ Can you please change debug-sa to debug_sa and try again? Better: debug_sa() { ebegin "Starting ${progname} in debug-sa mode" checkconfig || return 1 "${prog}" debug-sa eend $? } results in: tornado init.d # /etc/init.d/amavisd status * status: started tornado init.d # Committed. Thank you for the bug report and testing. |