First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 19617
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: foser (RETIRED) <foser@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Per Wigren <tuxie@dekadance.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mono /etc/init.d/mono text/plain Per Wigren 2003-04-19 12:23 0000 589 bytes Details
conf.d_dotnet /etc/conf.d/dotnet text/plain Rainer Größlinger 2003-05-10 11:17 0000 404 bytes Details
init.d_dotnet /etc/init.d/dotnet text/plain Rainer Größlinger 2003-05-10 11:18 0000 1.04 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19617 depends on: Show dependency tree
Bug 19617 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: 2003-04-19 12:23 0000
Here is an init-script for mono that will register .NET-binaries with
/usr/bin/mono so you can remove that ugly .exe-extension from the binaries and
install them in /usr/bin just like native programs, instead of running them with
"mono program.exe".

------- Comment #1 From Per Wigren 2003-04-19 12:23:59 0000 -------
Created an attachment (id=10875) [details]
/etc/init.d/mono

------- Comment #2 From Rainer Größlinger 2003-04-29 06:38:29 0000 -------
reassigned to foser

------- Comment #3 From foser (RETIRED) 2003-04-30 07:20:46 0000 -------
it looks good to me. A few questions.

Can you explain exactly how it works, especially the syntax of the echo line used. I suppose MZ is the indentifier for .NET binaries used. Is that tight enough ?

Is it possible to unregister the .NET handler ? in essence, is it possible to implement a stop function ?

Thirdly i would like this script run from a conf.d setting where we can select which runtime to use, so we can (currently) use it for both mono and dotgnu.

------- Comment #4 From Per Wigren 2003-05-01 07:48:21 0000 -------
If you compiled "MISC binaries" in your kernel you get an empty directory 
/proc/sys/fs/binfmt_misc on which a binfmt_misc filesystem has to be mounted. Then 
you can register handles through the proc-interface. I don't know how to unregister 
though.. 
 
Some info on how binfmt_misc works can be found here: 
http://www.tat.physik.uni-tuebingen.de/~rguenth/linux/binfmt_misc.html 
 
The echo-line I just took from this page: 
http://www.gotmono.com/docs/installation/linux.html#kernel_support 

------- Comment #5 From Rainer Größlinger 2003-05-10 11:16:39 0000 -------
I played around with that script and added the possibility to choose what
interpreter to use and added a stop() function.

I think those two files should be added to the mono and pnet ebuild (without a
default setting for the runtime so that it doesn't harm anything if you merge
both etc. ?).

Comments ? ;)

------- Comment #6 From Rainer Größlinger 2003-05-10 11:17:30 0000 -------
Created an attachment (id=11760) [details]
/etc/conf.d/dotnet

------- Comment #7 From Rainer Größlinger 2003-05-10 11:18:00 0000 -------
Created an attachment (id=11761) [details]
/etc/init.d/dotnet

------- Comment #8 From Rainer Größlinger 2003-05-12 13:05:03 0000 -------
I added the script with some minor enhancements to
pnet-0.5.6-r2,
mono-0.23-r1 (stable) and mono-0.24-r1 (~)

------- Comment #9 From Rainer Größlinger 2003-05-14 08:30:21 0000 -------
resolved / fixed
seems to be fine with everybody :)

------- Comment #10 From foser (RETIRED) 2003-05-14 08:38:28 0000 -------
thnx scandium for the good work

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