You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2018/10/22 09:50:38 UTC

[Bug 7646] New: spamd running with virtual-config-dir mkdir error

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646

            Bug ID: 7646
           Summary: spamd running with virtual-config-dir mkdir error
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: spamc/spamd
          Assignee: dev@spamassassin.apache.org
          Reporter: gravasio@kng.it
  Target Milestone: Undefined

Hi, 
I'm installin our new relay and as before I'm running spamd with
--virtual-config-dir option enabled:
"spamd -d --pidfile=/var/run/spamd.pid -c -x
--virtual-config-dir=/var/lib/spamassassin/vconfig/%u/ --allow-tell -u
debian-spamd -g debian-spamd --max-children=5 --min-children=3 --max-spare=3"

It works well but it cannot create the vconfig dir if it's not existing.
I've put spamd in debug and the problem is with perl tainted:

config: mkdir /var/lib/spamassassin/vconfig/giuseppe/ failed: Insecure
dependency in mkdir while running with -T switch at
/usr/share/perl/5.26/File/Path.pm line 177, <GEN10> line 2.

I solved the problem running spamd without -T option (as arch linux is doing)
but it could be great to fix this tainted variable.

Thanks
Giuseppe

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7646] spamd running with virtual-config-dir mkdir error

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |apache@hege.li
         Resolution|---                         |FIXED

--- Comment #1 from Henrik Krohns <ap...@hege.li> ---
Sending        trunk/lib/Mail/SpamAssassin.pm
Transmitting file data .done
Committing transaction...
Committed revision 1899900.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7646] spamd running with virtual-config-dir mkdir error

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646

Stingertough <wo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolfsplat@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.