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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx  2008-03-30 12:53 EST -------
Well...
--------------------------------------------------------------------
[root@localhost ~]# rpm -q dkim-milter
dkim-milter-2.5.1-4.fc9.i386
[root@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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]