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

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 30 16:53:58 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-30 12:53 EST -------
Well...
--------------------------------------------------------------------
[root at localhost ~]# rpm -q dkim-milter
dkim-milter-2.5.1-4.fc9.i386
[root at localhost ~]# LANG=C service dkim-milter start
Starting DomainKeys Identified Mail Milter (dkim-filter): -bash: dkim-filter:
command not found
                                                           [FAILED]
---------------------------------------------------------------------

As said in comment 16:
- First /etc/rc.d/init.d/dkim-milter is called, this script
  "source"s /etc/rc.d/init.d/functions, so at this stage
  the shell executing /etc/rc.d/init.d/dkim-milter has
  /usr/sbin in its PATH.

- Then /etc/rc.d/init.d tries
  * to call another "login shell" (login shell does _not inherit_ 
    PATH environ)
    _not inherited_ )
  * and the called (another) shell tries to find dkim-filter

So this fails as before.
Then:
- The easiest fix is to define another local variable such as
   prog_with_full_path as /usr/bin/$prog and replace
   the line "daemon --user ${user} ${prog} -x ....." with it.
- Or to use your "sbin.spec" idea only for dkim-milter user/group,
  i.e. install a shell script into /etc/profile.d to add /sbin and
  /usr/sbin in PATH if the user/group is dkim-milter

-- 
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