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 2007/05/17 00:51:55 UTC

[Bug 5465] New: sa-compile fails

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465

           Summary: sa-compile fails
           Product: Spamassassin
           Version: 3.2.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: sa-compile
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: subscribed-lists@sterndata.com


I've set up sa-compile successfully on two of our three servers. The third gives
this error:

Insecure dependency in mkdir while running with -T switch at /usr/bin/sa-compile
line 321, <$fh> line 1.

# uname -a
Linux ldap1.ccim.com 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006
i686 i686 i386 GNU/Linux



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

[Bug 5465] sa-compile Insecure dependency on RHEL

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.3                       |3.2.4




------- Additional Comments From jm@jmason.org  2007-08-12 06:38 -------
3.2.3 was released without these fixed, moving to 3.2.3



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

[Bug 5465] sa-compile Insecure dependency on RHEL

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sa-compile Insecure         |sa-compile Insecure
                   |dependency                  |dependency on RHEL
  Status Whiteboard|                            |unreproducable






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

[Bug 5465] sa-compile Insecure dependency on RHEL

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From jm@jmason.org  2007-09-26 03:21 -------
marking WORKSFORME until someone can reproduce it



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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465





------- Additional Comments From subscribed-lists@sterndata.com  2007-05-24 19:46 -------
Sorry, but the box is behind a firewall and we don't allow outside access.  I do
know if I take the -T out of the #! line 1, then it will work, so it's something
relating to tainting on this version of RHEL.



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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.1                       |3.2.2




------- Additional Comments From sidney@sidney.com  2007-06-04 21:57 -------
Moving items off the 3.2.1 queue to 3.2.2 to facilitate a quick release.
If you can get this in Review status right away feel free to move it back




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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465





------- Additional Comments From spamassassin@dostech.ca  2007-05-24 11:20 -------
Hmm... rather than play guess-and-patch, would it be possible for me to get a
non-root login on this box?



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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465





------- Additional Comments From jm@jmason.org  2007-06-15 05:40 -------
anyone else got a box we can test on?



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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465





------- Additional Comments From subscribed-lists@sterndata.com  2007-05-24 04:50 -------
Unfortunately, proposed patch did not fix the problem.

Edit:
  open(my $fh, "sort $FILE |") || die "open($FILE): $!";
# read ruleset name from the first line in the file
  my $ruleset_name;
  $_ = <$fh>;
  local $1; #bugfix?
  if (/^name\s+(\S+)/) {
    $ruleset_name = $1;
  }

Result:
 cd /tmp/.spamassassin178442ZVCbftmp
Insecure dependency in mkdir while running with -T switch at ./sa-compile line
319, <$fh> line 1.



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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.2                       |3.2.3






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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |major
            Summary|sa-compile fails            |sa-compile Insecure
                   |                            |dependency
   Target Milestone|Undefined                   |3.2.1






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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465





------- Additional Comments From subscribed-lists@sterndata.com  2007-05-16 16:01 -------
There were no command line parameters:  

Invoked as "sa-compile".  Running with "-D" produced no useful messages.



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

[Bug 5465] sa-compile Insecure dependency

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5465





------- Additional Comments From spamassassin@dostech.ca  2007-05-23 23:46 -------
Created an attachment (id=3951)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3951&action=view)
possible fix

Please try this out Steven.



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