Package: needrestart
Version: 2.1-1
Severity: wishlist

Hi.

I'd hope that the long term default is, that every Debian
comes with needrestart / -session installed.

This would mean that root and other users get notifications
about stuff needed to be restarted, either when run manually,
via apt, or e.g. via cron (should something like  be implemented).


This also means that each user should get a way to disable
these notifications for him and perhaps to control how
he want's to get such notifications.
This could be done via a ~/.needrestart.conf .


Ideas include:
- allow to configure which results are shown, i.e.
  -only the user's own processes?
  - all normal user processes
  - root's processes
  - kernel
  - include/exclude list of uids/gids
  (basically the same as given in #787294).

- allow the user to configure whether each notification
  is shown only once or again at each subsequent check
  This would of course require some storing of processes/etc.
  which can be tricky to implement (especially as other processes
  may reuse these PIDs).
  Such framework could however even allow the user to silence out
  these notifications per process.

- allow configuration which notification method(s) is/are to be used.
  Right now it seems that needrestart informs using "write".
  This may however mangle up terminals so even root may want to disable
  it.
  needrestart-session and libnotify-bin are also in the game.
  Perhaps one additional method should be implemented (as a special
  exception to what I've said in #787294, that "this isn't needrestart's
  job"):
  notification via mail
  This has the advantages that it doesn't clutter up terminals like
  "write", it's available for console-only, and (unlike SMS, XMPP, etc.)
  it's available on every normal Debian.
  The only danger here (which one should warn people about and which is
  the reason why mail notification should be disabled per default):
  mails may leave the system (depending on the configuration) and may
  thus leak security relevant information.


Cheers,
Chris.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to