Enhancement #2647

Send backup notification to root

Added by Davide Principi almost 6 years ago. Updated almost 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-backup-data
Target version:v6.5-rc1
Resolution: NEEDINFO:No

Description

The default recipient of backup notifications is admin@localhost. After #2492 we must change to root@localhost, to route the notifications coherently.

We may simplify the Notification UI tab:
  • always deliver notifications to root
  • remove radio buttons System administrator (admin user) and Custom mail address
  • add a custom external mail address field which will receive the notifications in addition to root.

change_default_to_root.patch Magnifier (1.98 KB) Davide Principi, 02/07/2014 12:56 PM


Related issues

Related to NethServer 6 - Feature #2492: Move admin user in LDAP DB CLOSED 12/17/2013 12/19/2013

Associated revisions

Revision db6d4e2e
Added by Giacomo Sanchietti almost 6 years ago

Web ui, db defaults: send notifications to root instead of admin. Refs #2647

History

#2 Updated by Filippo Carletti almost 6 years ago

  • Target version set to v6.5-rc1

#3 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

Leave the UI as is. Notifications will be delivered to root or to the custom mail address.

#4 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#5 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#6 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-backup-data-1.0.8-2.0gitdb6d4e2e.ns6.noarch.rpm
Test case
  • Check new db default is root@localhost (/etc/e-smith/db/configuration/defaults/backup-data/notifyTo)
  • Go to the interface and set notification to a custom address, check the modification is in db (config getprop backup-data notifyTo)
  • Go to the interface and set notification to "System administrator", check the value of notifyTo property is root@localhost

Note After update, you can find the address admin@localhost inside the custom mail address field. This should be fixed manually.

#7 Updated by Alessio Fattorini almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Check new db default is root@localhost (/etc/e-smith/db/configuration/defaults/backup-data/notifyTo) Ok

# cat /etc/e-smith/db/configuration/defaults/backup-data/notifyTo
root@localhost

Go to the interface and set notification to a custom address, check the modification is in db (config getprop backup-data notifyTo) Ok

# config getprop backup-data notifyTo
alessio@nethesis.it

Go to the interface and set notification to "System administrator", check the value of notifyTo property is root@localhost Ok

# cat /etc/e-smith/db/configuration/defaults/backup-data/notifyTo
root@localhost

VERIFIED

#8 Updated by Davide Principi almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

#9 Updated by Davide Principi almost 6 years ago

In nethserver-updates:
nethserver-release-6.5-4.ns6.rc1.noarch.rpm
nethserver-devbox-1.4.0-1.ns6.noarch.rpm
nethserver-backup-data-1.0.9-1.ns6.noarch.rpm
nethserver-base-2.1.0-1.ns6.noarch.rpm
nethserver-directory-2.0.1-1.ns6.noarch.rpm
nethserver-firewall-base-1.1.0-1.ns6.noarch.rpm
nethserver-hosts-1.0.7-1.ns6.noarch.rpm
nethserver-httpd-2.3.0-1.ns6.noarch.rpm
nethserver-httpd-admin-1.2.1-1.ns6.noarch.rpm
nethserver-hylafax-1.0.5-1.ns6.noarch.rpm
nethserver-ibays-2.0.3-1.ns6.noarch.rpm
nethserver-lib-2.0.1-1.ns6.noarch.rpm
nethserver-mail-server-1.6.1-1.ns6.noarch.rpm
nethserver-nethgui-1.4.0-1.ns6.noarch.rpm
nethserver-ntopng-1.1.2-1.ns6.noarch.rpm
nethserver-nut-1.0.7-1.ns6.noarch.rpm
nethserver-openssh-1.0.5-1.ns6.noarch.rpm
nethserver-roundcubemail-0.0.2-1.ns6.noarch.rpm
nethserver-samba-1.4.2-1.ns6.noarch.rpm
nethserver-shorewall-1.0.4-1.ns6.noarch.rpm
nethserver-sogo-thunderbird-1.1.1-1.ns6.noarch.rpm
nethserver-vpn-1.1.2-1.ns6.noarch.rpm
sogo-frontends-1.3.0-1.ns6.noarch.rpm

Also available in: Atom PDF