Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 91791
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: dotnet <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tadas Dailyda <tadas@dailyda.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xsp.patch /etc/init.d/xsp patch to make it start patch Sérgio Luís 2006-06-02 17:44 0000 599 bytes Details | Diff
mod-mono-server.patch /etc/init.d/mod-mono-server patch to make it start patch Sérgio Luís 2006-06-02 17:44 0000 328 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 91791 depends on: Show dependency tree
Bug 91791 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-05-07 04:55 0000
I just run XSP with /etc/init.d/xsp start, xsp runs with aspnet user and
therefore creates /tmp/.wapi with owner being aspnet.
Then if i stop XSP and start mod-mono-server (either with
/etc/init.d/mod-mono-server start or automatically by apache module mod_mono),
mod-mono-server can not access /tmp/.wapi because mod-mono-server runs with
apache user and does not have permission to access /tmp/.wapi created by xsp.


Reproducible: Always
Steps to Reproduce:
1./etc/init.d/xsp start
2./etc/init.d/xsp stop
3./etc/init.d/mod-mono-server start

Actual Results:  
mod-mono-server doesn't start at all

Expected Results:  
mod-mono-server should be able to access /tmp/.wapi and should start normally.

I am running mono-1.1.7, xsp-1.0.8 and mod_mono-1.0.8-r1.
Applied patch from bug 70943 to have /etc/init.d/mod-mono-server installed
(http://bugs.gentoo.org/attachment.cgi?id=53686&action=view).
See also http://bugs.gentoo.org/show_bug.cgi?id=70943#c8.

------- Comment #1 From Sérgio Luís 2006-06-02 17:44:11 0000 -------
Created an attachment (id=88221) [details]
/etc/init.d/xsp patch to make it start

------- Comment #2 From Sérgio Luís 2006-06-02 17:44:46 0000 -------
Created an attachment (id=88222) [details]
/etc/init.d/mod-mono-server patch to make it start

------- Comment #3 From Sérgio Luís 2006-06-02 17:48:03 0000 -------
Here's a couple of patches for /etc/init.d/xsp and /etc/init.d/mod-mono-server

it fixes this little conflict and also closes bug #92338

------- Comment #4 From Lance Albertson 2006-06-04 20:51:57 0000 -------
Is it the fact that the file exists after the init script stops the process?
I'd rather force remove the file than chmod it every time. To me that almost
creates a minor security risk.

------- Comment #5 From Sérgio Luís 2006-06-16 17:20:01 0000 -------
i don't know the details about what's in .wapi...

but it works if you rm -rf it every time :)

------- Comment #6 From Jurek Bartuszek 2006-10-27 08:10:42 0000 -------
xsp and mod-mono-server now both run using aspnet user rather than apache user.
Thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug