Bug 1121197 - [RFE] No way to change rhnserver.auto_update or rhnuser.email_notify defaults
Summary: [RFE] No way to change rhnserver.auto_update or rhnuser.email_notify defaults
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 560
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: 260381
TreeView+ depends on / blocked
Reported: 2014-07-18 15:42 UTC by Chris Roberts
Modified: 2014-08-08 19:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2014-08-08 19:54:16 UTC

Attachments (Terms of Use)

Description Chris Roberts 2014-07-18 15:42:00 UTC
Neither the web UI nor the python API provide any way to change the default (initial) setting for (a) automatic application of errata for new systems, or (b) email notification preference for new users.  (a) is always off by default, and (b) is always on by default.  However, it is technically possible to alter both by trivially changing the database schema such that rhnserver.auto_update=Y and rhnuser.email_notify=0 are the default values.

Context: we would prefer that all newly registered systems auto-apply errata (i.e. patch themselves) by default, and we would prefer that newly registered users by default *not* be notified via email of unapplied errata applicable to their systems, due to the unmanageable email "storm" that occurs when errata are imported in bulk(as ours is an offline system, periodic updates are infrequent and large).

Recommendation: Provide some way, preferably in the web UI, of permanently changing these default settings.  Although we can do this via direct database edit, the changes are lost when schema updates are applied (via spacewalk-schema-upgrade, or by upgrading the Satellite product to a new minor release).

Note You need to log in before you can comment on or make changes to this bug.