Hi Götz!
Am 21.11.2013 um 20:24 schrieb Götz Hoffart goetz@hoffart.de:
# src/ngircd/ngircd -npf doc/sample-ngircd.conf [8822:3 0] Can't read MOTD file "/usr/local/etc/ngircd.motd": no such file or directory [8822:3 0] Can't read help text file "/usr/local/share/doc/ngircd/Commands.txt": no such file or directory [8822:4 0] No help text available, HELP command will be of limited use. [8822:4 0] Not specifying a full path name to "doc/sample-ngircd.conf" can cause problems when rehashing the server! [8822:4 0] No administrative information configured but required by RFC! [8822:5 0] ngIRCd 21-IRCPLUS+SYSLOG+ZLIB-i686/pc/minix started. [8822:6 0] Using configuration file "doc/sample-ngircd.conf" ... [8822:6 0] ServerUID must not be root(0), using "nobody" instead. [8822:3 0] Can't drop supplementary group IDs: bad address! [8822:1 0] Fatal: Initialization failed, exiting!
anyone experienced sth like that before? I tried to set manually a suitable ServerGID but to no avail.
Strange, because it seems to work for me:
alex@minix3:~/src/ngircd-21 $ src/ngircd/ngircd -npf doc/sample-ngircd.conf [6585:3 0] Can't read MOTD file "/home/alex/etc/ngircd.motd": no such file or directory [6585:3 0] Can't read help text file "/home/alex/share/doc/ngircd/Commands.txt": no such file or directory [6585:4 0] No help text available, HELP command will be of limited use. [6585:4 0] Not specifying a full path name to "doc/sample-ngircd.conf" can cause problems when rehashing the server! [6585:4 0] No administrative information configured but required by RFC! [6585:5 0] ngIRCd 21-IRCPLUS+SYSLOG+ZLIB-i686/pc/minix started. [6585:6 0] Using configuration file "doc/sample-ngircd.conf" ... [6585:6 0] ServerUID must not be root(0), using "nobody" instead. [6585:3 0] Can't change group ID to ?(39): operation not permitted! [6585:3 0] Can't drop supplementary group IDs: operation not permitted! [6585:3 0] Can't change user ID to nobody(9999): operation not permitted! [6585:6 0] Running as user alex(1000), group users(100), with PID 6585. [6585:6 0] Not running with changed root directory. [6585:6 0] IO subsystem: poll (initial maxfd 100). [6585:6 0] Now listening on [0.0.0.0]:6667 (socket 6).
BUT.
But when I try to connect a client, I get "Segmentation fault (core dumped)" error, so basically it doesn't work :-(
This is Mini 3.2.1, clang version 3.1 (trunk 146353). My Minix is running in a KVM virtual machine.
I used the following commands for testing:
$ CC=cc ./configure --prefix=$HOME $ make $ src/ngircd/ngircd -npf doc/sample-ngircd.conf
$ cc --version | head -n 1 clang version 3.1 (trunk 146353)
Hm hm hm …
And it seems not to depend on the compiler, I get the same segmentation fault using GCC:
$ gcc --version | head -n 1 gcc (GCC) 4.4.6
So there seems to be a bigger problem on Minix :-/
Regards Alex