Koozali.org: home of the SME Server

smeserver-yum.noarch

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
smeserver-yum.noarch
« on: February 18, 2015, 09:31:12 PM »
After the last update will also crontibs checked via cron for updates.
Why that extra entry in corntab, when even under software installation can select repositories?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #1 on: February 18, 2015, 09:43:42 PM »
'cause in this way admin get an email when updates are available.. what's wrong with it?

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #2 on: February 18, 2015, 09:48:49 PM »
That is not the sme-server standard!
In the Server-Manager, under Software-Installation you can select the repository, which is to be checked for updates. So it should only be added to the repository, so that the customer can decide which updates are checked.
How can the customer remove theis update check now?

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #3 on: February 18, 2015, 09:56:08 PM »
To add a new repository to check for updates use this code:

/sbin/e-smith/db yum_repositories set YOUR_REPOSITORY repository EnableGroups yes GPGCheck no MirrorList http://PATH_TOREPOSITORY Name 'Name of the Repro in Server-Manager' Visible yes status enabled

/sbin/e-smith/signal-event yum-modify
/usr/bin/yum clean all
/usr/bin/yum update

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #4 on: February 18, 2015, 09:57:28 PM »
Please change the smeserver-yum accordingly.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #5 on: February 18, 2015, 10:09:26 PM »
there's an open bug:

http://bugs.contribs.org/show_bug.cgi?id=8850

please go to bugzilla and follow there, thank you

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-yum.noarch
« Reply #6 on: February 18, 2015, 10:14:18 PM »
Please change the smeserver-yum accordingly.

No, your command will enable the repo by default and make it visible in the server-manager. Of course the repo will then be checked for updates as a side effect,  but it's not what we want. We want the repo to stay disabled,  and only used explicitly,  but still be notified when an update is available
C'est la fin du monde !!! :lol:

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #7 on: February 18, 2015, 10:21:34 PM »
That is not the right way!
We now have the problem that all admin call us and ask for the updates.
This but we do not want to just install it.
How we can not turn them off ?
Usually decides the admin which updates are checked and will no undisclosed tests, which he can not turn off

What happened to the SME ...

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #8 on: February 18, 2015, 10:32:03 PM »
The contribs offered are customized and have not really reviewed.
So are e.g. still dead link (online manual) in smeserver-fetchmail.noarch and so on...
We make our own rpm's are also tested without mistakes.
So please, if you not change the smeserver-yum, tell us how we can disable the strange update.
Without to delete the template of the crontab, or is this the only way?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #9 on: February 18, 2015, 10:33:13 PM »
That is not the right way!

I can't see any problem, maybe because there are no problems

Quote
We now have the problem that all admin call us and ask for the updates.
This but we do not want to just install it.
How we can not turn them off ?
Usually decides the admin which updates are checked and will no undisclosed tests, which he can not turn off

I sincerely don't understand whats' going on.. I mean: if you are admin, you got the mail.. if you are not, who's asking you for updates?

in any case, this is not a SME's issue IMO

Quote
What happened to the SME ...

please, define.. thank you

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-yum.noarch
« Reply #10 on: February 18, 2015, 10:35:25 PM »
I'm happy to discuss the "right" way to do things, but on the bug tracker. If you've find issues with contribs you should have open bugs so it can be fixed for everyone
C'est la fin du monde !!! :lol:

guest22

Re: smeserver-yum.noarch
« Reply #11 on: February 18, 2015, 10:37:34 PM »
I must say I tend to agree with yytoss. We have added a feature that imposes useless and unwanted information.


We should stick to the 'blink only if required' dashboard. Not the 'always on lights' dashboard.


We should revert this feature and re-think if it serves SME Server at it's core. Hence the thought of this feature better being off being a contrib and NOT a core feature.


Comes to mind the decision making process of what goes in to the core and what not. This is very unclear presently, and seems to go at will. Or did I miss the voting process on this?
 

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #12 on: February 18, 2015, 10:39:40 PM »
This is not a bug, what was done, work.
Is not only desired by all.
So we please, I can turn off this?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #13 on: February 18, 2015, 10:41:47 PM »
The contribs offered are customized and have not really reviewed.
So are e.g. still dead link (online manual) in smeserver-fetchmail.noarch and so on...
We make our own rpm's are also tested without mistakes.

IIUC you update "original" contribs with customized ones? why?
are yours enhancements?
why there are no NFR in bugzilla? or, if any, can you please report here the reference?

Quote
So please, if you not change the smeserver-yum, tell us how we can disable the strange update.
Without to delete the template of the crontab, or is this the only way?

you are here since a quite long time and member of the wiki & doc team..
you should know that a custom template/fragment will do the trick

hint: /etc/e-smith/templates/etc/crontab/check4contribsupdates

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-yum.noarch
« Reply #14 on: February 18, 2015, 10:44:23 PM »
this feature only has effect for those who have installed contribs and it'll notify only when new versions of the installed contribs are available. Those who do not want this can open an NFR to disable this easily.
C'est la fin du monde !!! :lol: