Re, On Sat 04 Oct 2014 01:29:18 AM CEST, Christoph Anton Mitterer wrote: > I think needrestart should default to not restart services.
IMHO it *should* default to suggest to restart services. needrestart needs to be installed manually and requires a confirmation before doing any restart. May Patrick could implement a debconf query during installation asking the user to select whenever he wants defno to be 0 or 1 (0 should be suggested). > This is especially important for servers, where restarting > of daemons is typically not something that you do immediately after > upgradeing packages or which often requires careful planning and > downtimes. > For many services of course, it's no problem to restart them > immediately (e.g. ssh, irqbalance, ntp) but for others (e.g. > postgresql, httpd) the above typically applies. > > Defaulting to yes may even cause troubles on desktops, where, right > now, it's e.g. still a problem to restart gdm3 (see bug #762756). Currently well known display managers are blacklisted within the default configuration. > On alternate solution in defaulting to "no" could be a "auto" mode > in which a whitelist of services is maintained, for which it will > default to restart, while for all others it will default not to > restart. Changing the blacklist from the config file into a overwrite list is a great idea! Instead of blacklisting display managers the just would be always set to 'no', independent of the global default (which should stay yes ;-). > Such whitelist would contain services for which interruptions/restarts > are typically no problem, e.g. > - ssh (existing connections continue to live) > - nameservers (each proper domain should have more than one NS) > - ntp > - irqbalance > - etc. pp. > Of course some services are in a grey zone like e.g.: > - ejabberd > while proper clients should basically reconnect immediately and > while no messages should get lost, the reality is that basically > no XMPP client/server correctly uses TCP to track whether messages > got transmitted and resends them if necessary. > Plus, users will at least notice the reconnect. I prefere a blacklist for any service which does not restart after upgrades (like display managers does). We might miss some raw packages... but the user is always asked so it should be OK. Cheers, Thomas -- -- supp...@ibh.de Tel. +49 351 477 77 30 www.ibh.de Fax +49 351 477 77 39 ----------------------------------------------------------------------- Dipl.-Ing. Thomas Liske Netzwerk- und System-Design IBH IT-Service GmbH Amtsgericht Dresden Gostritzer Str. 67a HRB 13626 D-01217 Dresden GF: Prof. Dr. Thomas Horn Germany VAT DE182302907 ----------------------------------------------------------------------- Ihr Partner für: LAN, WAN IP-Quality, Security, VoIP, SAN, Backup, USV ----------------------------------------------------------------------- professioneller IT-Service - kompetent und zuverlässig ----------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org