[Nagiosplug-devel] Packaging issues
John P. Rouillard
rouilj at cs.umb.edu
Wed Jun 7 15:02:08 CEST 2006
In message <6F0CA028-7F8C-49A5-A540-013AE32C90B4 at altinity.com>,
Ton Voon writes:
>I've also just noticed that if make install is run for a non-root
>user, the setuid plugins are still installed, but without setuid.
>I've amended plugins-root/Makefile.am so that the plugins will only
>install if make install is run as root. A warning is displayed
>otherwise. I think this will still work if you are using fakeroot -
>please let me know if it doesn't.
Don't do this please. When building RPM's or other packages I can
build/"install" under my own account (RPM builds should not be done as
root) then use RPM mechanisms to make the programs suid root. I think
I actually undid the test in an earlier version so that suid programs
would always be installed.
>Also, the --nagios-user=nagios configure option is not being
>respected, so plugins are never installed with the configure nagios
>user or group setting. Is this necessary to fix? My feeling is that
>this is a packaging/implementation issue. Is everyone happy for me to
>deprecate these configure options?
That's fine in my optinion.
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
More information about the Devel
mailing list