Brian A. Seklecki wrote: >> make install-init >> /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/ >> install: root: Invalid argument > > There is no "root" group on *BSD and assuming that there is is a fatal > mistake (this isn't a POSIX requirement). >
Being anal about POSIX is just stupid. A lot of things that work fine on very nearly all unices are not in POSIX. > There should be case/ifdef code in that makefile to check the platform. > Actually, the code should be changed to cp $the_init_file $the_init_dir chown 0:0 $init_dir/$init_file || chown 0.0 $init_dir/$init_file || : chmod 0755 $init_dir/$init_file || : which will work very nearly everywhere and at least make the intent of the make target totally obvious to absolutely everyone, so that the admin can then run the 2-3 required commands him/herself. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
