[Bug 409361] Review Request: dkim-milter - DomainKeys Identified Mail sender authentication sendmail milter

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 29 18:37:23 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: dkim-milter - DomainKeys Identified Mail sender authentication sendmail milter


https://bugzilla.redhat.com/show_bug.cgi?id=409361





------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp  2008-03-29 14:37 EST -------
Well, it may be that you are not seeing the issue below,
however on rawhide:

-------------------------------------------------------------------------
[root at localhost ~]# LANG=C service dkim-milter start
Starting DomainKeys Identified Mail Milter (dkim-filter): -bash: dkim-filter:
command not found
                                                           [FAILED]
-------------------------------------------------------------------------

When I add "set -x" to /etc/rc.d/init.d/functions, this actually
fails like below:
-------------------------------------------------------------------------
+ runuser -s /bin/bash - dkim-milter -c 'ulimit -S -c 0 >/dev/null 2>&1 ;
dkim-filter -x /etc/mail/dkim-milter/dkim-filter.conf -P
/var/run/dkim-milter.pid -p local:/var/run/dkim-milter/dkim-milter.sock'
-bash: dkim-filter: command not found
+ '[' 127 -eq 0 ']'
+ failure 'dkim-filter startup'
-------------------------------------------------------------------------

Here when runuser is executed as dkim-milter user, it uses "login shell"
(runuser -s /bin/bash "-" ) then the PATH changes as:
-------------------------------------------------------------------------
[root at localhost ~]# runuser -s /bin/bash - dkim-milter -c 'echo $PATH'
/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
[root at localhost ~]# runuser -s /bin/bash dkim-milter -c 'echo $PATH'
/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr//sbin:/usr//bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
-------------------------------------------------------------------------
Then the shell cannot find /usr/bin/dkim-filter and 
"service dkim-filter start" fails (please check the lines around
250 of /etc/rc.d/init.d/functions ).



-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list