From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: The recently added feature to RHN to schedule a reboot of a server needs have a config option on the client that prevents its use. This option should not be overridable via RHN itself. Something in /etc/sysconfig/rhn/up2date.conf would probably suffice. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: This is a missing config option. There is no error to reproduce. Additional info:
All config options are overridable by rhn, so it doesn't make much sense to disable it client side. Not sure I understand the reasoning for the request. reboot actions are never scheduled without being explicitily scheduled by the administrator. Was there a case where you accidently rebooted a machine of something? It may make more sence to do that server side, if at all.
I don't think we're on the same page here. We're talking about adding an option to /etc/sysconfig/rhn/up2date in the same sprirt as "removeSkipList", "noReplaceConfig", "noBootLoader", "pkgSkipList", "fileSkipList", etc that will not allow up2date to reboot a box remotely. Perhaps a "doNotRebootThisMachine" option. Your above statement is a little confusing, as it implies that all of the above options can be overridden by the web interface side of things. Is that true? The potential for damage to be done by a compromised RHN account is now non-trivial, as the web interface can now schedule machine reboots. The reason for needing the ability to disable this feature should be obvious.
There are actions that allow all configuration options to be changed. At the moment, I don't think any of these are setup on the website. I can add a config option, but it can be reset by a config change option from the server side (if not from the website atm).
in cvs head (3.0.43 or so...) backport for 8.0 landing soon
backport landed in cvs as well, for the sake of process, I'm considering this a bug fix, so it should land in the 8.0 errata. Marking as modified so qa can verify the fix: verification plan: set "noReboot" to 1 in the config file, attempt to schedule a reboot action. action should fail with exit code 38, and message "Up2date is configured not to allow reboots" set "noReboot" to 0 in config file, and schedule a reboot action. system should reboot.
Works in Red Hat 9, and will be errata'd in the future, closing.