Koozali.org: home of the SME Server

smeserver-yum.noarch

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #15 on: February 18, 2015, 10:45:45 PM »
I must say I tend to agree with yytoss. We have added a feature that imposes useless and unwanted information.

I disagree..
contribs are updated from time to time.. bug fixes, enhancements, new features etc.

we are only emailed about base updates available
this new feature just tell us that are available updated contribs.. it doesn't do anything else.. it's up to admin to apply updates..

so, in the end, what's wrong with it?

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #16 on: February 18, 2015, 10:47:24 PM »
I left this forum because of the bugtracker
I know, of course, the template-custom, but I thought they may have solved better.
What is NFR?
Please disable the feature, nobody need this SPAM mail every day!

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-yum.noarch
« Reply #17 on: February 18, 2015, 10:50:12 PM »
NFR=new feature request. Open a bug asking for an easy way to disable this. I disagree with you. The fact that you don't want it doesn't mean it's useless,  or that nobody want it.
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #18 on: February 18, 2015, 10:51:06 PM »
I left this forum because of the bugtracker

you are here, it seems

Quote
I know, of course, the template-custom, but I thought they may have solved better.

they WHO? "they" here means all of us, me you, all.. if something does't work or should be changed, the only way is to file a bug in bugzilla, full stop.

Quote
What is NFR?

New Feature Request

Quote
Please disable the feature, nobody need this SPAM mail every day!

just create your custom fragment and open a bug, thank you..
that's the way "we" can make SME a better product
thank you again

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #19 on: February 18, 2015, 10:52:13 PM »
Thank you.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #20 on: February 18, 2015, 11:01:25 PM »
yythoss: you are referring to customized rpms.. where can we find the src rpms?

TIA

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: smeserver-yum.noarch
« Reply #21 on: February 19, 2015, 03:15:50 AM »
Stefano, Daniel et al & yythoss

The idea is OK to incorporate notification about contribs that can be updated.

To others, I am sure I did see a custom template code recommendation to turn these contrib notifications off, so just search the recent forum & bugzilla posts. I will look again when I get time, but the answer that yythoss wants, has been published here somewhere.

Can anyone provide the link so this thread is complete ?
Thanks

OK yythoss it took me 2 minutes to find this thread/post by Daniel (thank you Daniel)
http://forums.contribs.org/index.php/topic,51499.msg261768.html#msg261768
which says:
Only disable contribs update notifications, but still receive core updates by creating a custom template:
Code:
mkdir -p /etc/e-smith/templates-custom/etc/crontab
echo '# smecontribs updates disabled' > /etc/e-smith/templates-custom/etc/crontab/check4contribsupdates
expand-template /etc/crontab
« Last Edit: February 19, 2015, 03:21:09 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: smeserver-yum.noarch
« Reply #22 on: February 19, 2015, 07:59:05 AM »
I'm one of those who need this feature, be in touch about updates, it is a mandatory, no more, no less. If you don't have installed contribs on your server, you won't receive emails, if you have installed contribs and if updates are available, then you will receive an email with a daily or weekly or monthly frequency.

If you decide to not apply security updates to your customers, please reconsiders your behaviour...it is the same if you don't want to apply updates in the core....

If you have some custom rpms I see several solutions

-bump a number of rpm superior than those of smecontribs and you will have peace
-share your modifications and import them in smecontribs (better idea)
-do a custom template (bad idea)
-ask and propose code in bugzilla to disable the option in bugzilla (worse idea)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: smeserver-yum.noarch
« Reply #23 on: February 19, 2015, 10:24:00 AM »
Of course I know all about the templates and how to remove it the crontab job, but that's no clean solution.
The SME has a database configurations over which one could easily regulate such things:

db configuration setprop check4contribsupdates enabled

or

db check4contribsupdates setprop cron enabled

Or users who need it, just make an RPM for disposal and not simply install in the SME.
The developer of smeserver-yum have not taken the time to implement the necessary and correct.

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-yum.noarch
« Reply #24 on: February 19, 2015, 10:34:31 AM »
Of course I know all about the templates and how to remove it the crontab job, but that's no clean solution.
May I know why this wouldn't be clean ? That's exactly the kind of customization custom templates are for.

The SME has a database configurations over which one could easily regulate such things:

db configuration setprop check4contribsupdates enabled
I'm sure I already asked you to open an NFR on bugzilla so this can be discussed. So far I don't see the bug.

Or users who need it, just make an RPM for disposal and not simply install in the SME.
Or users who do not want it can simply disable it.

The developer of smeserver-yum have not taken the time to implement the necessary and correct.
Thanks, but we owe you nothing. We took the time to implement things the way we think is the best for most users. If it doesn't fit your need, go to Bugzilla and propose a change, even better provide the code. In any case, please show some respect for those who do the work.

Cheers,
Daniel
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: smeserver-yum.noarch
« Reply #25 on: February 19, 2015, 10:38:40 AM »
yythoss:

you already had the solution to your problem in the SME way (a custom template)

you already been told to go to bugzilla and use it, because this is the way we follow

you've been asked to share the source of your customized rpms..

so far, I can see only ranting from you..

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: smeserver-yum.noarch
« Reply #26 on: February 19, 2015, 11:44:32 AM »
As with many things you can't please everyone all of the time..

I happen to appreciate the feedback the new feature brings for me..

If I decide its no longer for me, or even on a new install decide to discard its activity, its a simple matter to disable with a custom template.

I just don't see the problem here.
--
qui scribit bis legit

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: smeserver-yum.noarch
« Reply #27 on: February 19, 2015, 05:50:04 PM »
What happened to the SME ...

We do provide free code :)

Hi Walter

I'm the author of this patch and of course I can be wrong, but since smecontribs is a part of smeserver's repositories, it is fully understandable to be  in touch when an update is available. Of course the way I think is personal and you have your own way, different but respectable, like all 'C' developers :)

I do encourage you to provide a patch to disable this option if needed by the sysadmin, but we should let that option enabled by default, KISS effects.

The future of sme is in the hands of people who does something and I recall perfectly the work you did for smeserver-raidstatus, so I know that if you want, you can do it. You are welcome also to propose patches or new features.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!