[Mono-dev] Re: _wapi_handle_update_refs

Jakub Cermak cermiforum at centrum.cz
Sun Mar 26 07:38:43 EST 2006


Robert Jordan wrote:

>
> This is impossible. Every time a mono app is being executed
> at least shared_data*  will be touched. If the app is having
> some I/O shared_fileshare-* is touched as well.
>
> By any chance, are you sudo-ing the mono app from your root
> account? Or (rather unlikely) are you calling setuid(2)?
> Or (rather unlikely for root) is /root/.wapi/ on a NFS share?
>
> Robert
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

/root/.wapi/ isn't on NFS share.

rodier:~# ls -hlsa /root/.wapi/
total 2.5M
4.0K drwxr-xr-x   2 root root 4.0K Mar 13 15:01 .
4.0K drwxr-xr-x  12 root root 4.0K Mar 25 15:09 ..
1.3M -rw-------   1 root root 1.3M Mar 13 15:01 
shared_data-rodier-Linux-i686-308-10-0
 16K -rw-------   1 root root 3.6M Mar 13 15:01 
shared_fileshare-rodier-Linux-i686-36-10-0

ps -AF
UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
root         1     0  0   472   420   3 Mar14 ?        00:00:01 init [2]
root     10236     1  0   413   532   1 Mar14 ?        00:00:01 
/sbin/syslogd
root     10298     1  0  1119   492   1 Mar14 ?        00:00:00 
/usr/sbin/sshd
daemon   10327     1  0   464   316   0 Mar14 ?        00:00:00 
/usr/sbin/atd
root     10349     1  0   486   436   1 Mar14 ?        00:00:00 
/usr/sbin/cron
mysql    10390     1  0 25613  4320   1 Mar14 ?        00:02:53 
/usr/local/mysql/bin/mysqld --user=mysql
root     23478     1  0  1065   364   0 Mar25 ?        00:00:00 squid
proxy    23480 23478  0  1932  4284   2 Mar25 ?        00:00:21 (squid)
proxy    23598 23480  0   360   224   2 Mar25 ?        00:00:00 (unlinkd)
root      2905 10298  0  1808  2324   3 11:11 ?        00:00:00 sshd: 
root at pts/2
root      3832  2905  0   693  1596   3 11:11 pts/225  00:00:00 -bash
root      6073     1  0   600  1100   0 14:33 pts/225  00:00:00 /bin/sh
root      6105  6073 11  7617 14156   1 14:33 pts/225  00:00:01 
/opt/mono-1.1.13.4/bin/mono CermiIrcBot.exe --nocolor
root      7200  3832  0   651   896   0 14:33 pts/225  00:00:00 ps -AF

mono is under root account, no sudo. I don't know what setuid(2) is.
What else can be wrong? I'm getting mad slowly :(

-- 

Jakub Cermak
ICQ 159971304
http://cermi.wz.cz




More information about the Mono-devel-list mailing list