Removed own yum-cron istallation and replaced it with your module on production system NS6.
Installation without issue.
Installed module also on a Test-VM NS7. Installation also without issue.
One question: does the admin@domain.tld automatically get the root-mails?
Will report if mails are delivered. Thanks so long.
EDIT: Mails are delivered on NS7 to local accounts. Updates are downloaded to yum cache.
(present in /var/cache/yum/x86_64/nethserver-updates/packages
On NS6 I’ve to wait ubtil some updates are available.
Tested on NS6. Mail is delivered to local account. Everything seems to work.
IMO this should be moved into softwarecenter or directly integrated in the base installation for both NS6 + NS7.
What do you think? @stephdl, @davidep , @alefattorini , @dnutan
I agree, on ns7 it could be implemented as a core feature.
I think that notifications could be enabled by default. On a new installation I’d expect notifications are delivered to the local root account. Further config steps needed
set an external address under root’s profile
configure smart host (optional)
Software updates should be disabled, as specified by the upstream default. The admin is the only responsible of applying updates to his system, and can decide to enable automatic updates.
About ns6: I wouldn’t implement new features on the 6 branch. Only bug fixes. However, after implementing this on ns7 we can see if a feature backporting is possible.
On my ClearOS6 router/firewall machine i can choose to enable or disable automatic updates… i am using it for about 5 years with autoupdate enabled and nothing brakes from that time… still i don’t know how it will behave if i will use this i.e as a file/www server with auto updates enabled…