First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 101070
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ray Booysen <raybooysen@rjb.za.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
amavisd-new.log Log of attempt at Emerging Amavisd-new-2.3.2 text/plain Ray Booysen 2005-08-02 05:30 0000 2.14 KB Details
razor.strace.log razor.strace.log text/plain Andrej Kacian (RETIRED) 2005-08-02 16:18 0000 322.12 KB Details
razor-strace.log razor.strace.log text/plain Ray Booysen 2005-08-03 00:38 0000 233.74 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 101070 depends on: Show dependency tree
Bug 101070 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-02 01:59 0000
Emerging amavisd-new-2.3.2 causes the following problem.  razor-agent.conf if
definitely writable.

>>> Completed installing amavisd-new-2.3.2 into
/var/tmp/portage/amavisd-new-2.3.2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-mail-filter_-_amavisd-new-2.3.2-6061.log"

open_wr:   /etc/razor/razor-agent.conf
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1. emerge amavisd-new
2.
3.

Actual Results:  
Emerge failed with above results

Expected Results:  
Emerged amavisd-new sucessfully.

------- Comment #1 From Andrej Kacian (RETIRED) 2005-08-02 05:04:14 0000 -------
Please post your installed version of mail-filter/razor, and a complete
amavisd-new emerge output.

------- Comment #2 From Ray Booysen 2005-08-02 05:30:30 0000 -------
Created an attachment (id=64931) [details]
Log of attempt at Emerging Amavisd-new-2.3.2

------- Comment #3 From Ray Booysen 2005-08-02 05:31:02 0000 -------
Razor Version: 2.74

Thanks for the help! :)

------- Comment #4 From Andrej Kacian (RETIRED) 2005-08-02 05:45:55 0000 -------
Do you have razor set up in /etc/razor ? Strace of "razor-admin -create
-home=/whatever" shows that it is trying to open /etc/razor/razor-agent.conf at
certain points.

------- Comment #5 From Ray Booysen 2005-08-02 05:49:55 0000 -------
This is correct.  razor-agent.conf is in /etc/razor

------- Comment #6 From Andrej Kacian (RETIRED) 2005-08-02 05:57:39 0000 -------
This looks like a bug in razor. CCing upstream contact - Jordan, can you
comment
on this? Looks like razor-admin tries to write into
/etc/razor/razor-agent.conf,
even if a different -home= was specified.

------- Comment #7 From Jordan Ritter 2005-08-02 08:22:49 0000 -------
Acknowledged, reviewing.

------- Comment #8 From Jordan Ritter 2005-08-02 08:34:43 0000 -------
I believe this has been fixed -- both the bug itself and perhaps a related
sandbox violation in the ebuild 
(see the gentoo razor changelog:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/mail-filter/
razor/ChangeLog).  

I reviewed the full strace output of ``razor-admin -create -home=/tmp/razor''
with v2.75 and could 
not reproduce this problem.  

I am unsure of why 2.75 is still masked.  The only bug I can find in the
bugbase with ``razor'' as a 
keyword is this one.  Can someone please ping folks to unmask?

------- Comment #9 From Andrej Kacian (RETIRED) 2005-08-02 09:27:15 0000 -------
Ray, could you try upgrading to razor 2.75 ?

Jordan, 2.75 is not marked stable yet, because it hasn't passed the usual 30-day
unstable period in portage.

------- Comment #10 From Ray Booysen 2005-08-02 09:35:42 0000 -------
Unfortunately same error as before. Installed razor-2.75 and same behaviour as
previously documented.

------- Comment #11 From Ray Booysen 2005-08-02 09:40:23 0000 -------
OK, here is some more info.  If I move or delete the /etc/razor directory,
amavisd-new emerges perfectly without a problem.

------- Comment #12 From Jordan Ritter 2005-08-02 15:55:14 0000 -------
Ray, would you be kind enough to attach an strace of your v2.75 attempt?  I
tried it both with ``/etc/
razor'' pre-existing and without, and in neither case when ``-home=/tmp/razor''
could I find any 
instance of the agents stat()'ing or chdir()'ing or open()'ing anything in
``/etc/razor''.

My invocation was:  strace razor-admin -create -home=/tmp/razor >
/tmp/razor-strace.log 2>&1

------- Comment #13 From Andrej Kacian (RETIRED) 2005-08-02 16:18:05 0000 -------
Created an attachment (id=64958) [details]
razor.strace.log

I can provide such strace log too. The version used is 2.75.

------- Comment #14 From Ray Booysen 2005-08-03 00:38:09 0000 -------
Created an attachment (id=64971) [details]
razor.strace.log

------- Comment #15 From Jordan Ritter 2005-08-03 21:09:21 0000 -------
Bug confirmed and fixed in CVS.  Will be in the forthcoming 2.76 release. 
Thank
you for the report!

------- Comment #16 From Ray Booysen 2005-08-04 01:03:26 0000 -------
Thanks!

Can I mark FIXED?

------- Comment #17 From Andrej Kacian (RETIRED) 2005-08-04 02:57:25 0000 -------
No, this bug should stay open until 2.76 comes out and respective ebuild is
added to portage.

------- Comment #18 From Andrej Kacian (RETIRED) 2005-08-15 19:22:58 0000 -------
Ok, this problem is gone for me after upgrading to recently released
razor-2.77.
Ray, feel free to reopen this bug, if it still doesn't work for you.
Jordan, thanks. :)

First Last Prev Next    No search results available      Search page      Enter new bug