severity 786376 minor
tags 786376 upstream
thanks

Hi,

On Thu, 21 May 2015 06:49:26 +0200 Francois Mescam <franc...@mescam.org>
wrote:
> Package: needrestart-session
> Version: 0.3-2
> Severity: normal
> 
> Dear Maintainer,
> 
> Unfortunately I run needrestart-session under a sudo root terminal and I 
> obtain 
> a panel wich says "None of your processes need to be restarted" and the 
> notification "Relogin or restart required!"

needrestart-session is not intended to be run as root. This won't work
since needrestart does not switch to the required user mode (which
reports obsolete session binaries) while run as root.

The notification should be OK if your X-Session runs obsolete binaries.
The sudo root inside your x-terminal runs it's own session.


> If I do sudo needrestart-session I obtain the same result.
> 
> I agree it's a minor bug because if I do "needrestart-session" it works well. 

I consider this bug as wontfix: running needrestart-session for a root
(X-)session sounds not that usefull. Maybe needrestart-session should
just complain and exit if it is run as root?


HTH & Thanks,
Thomas


> With my best regards
> 
> François
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (900, 'unstable'), (400, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 4.0.0-1-686-pae (SMP w/1 CPU core)
> Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages needrestart-session depends on:
> ii  libnet-dbus-perl           1.1.0-2
> ii  libproc-processtable-perl  0.51-1
> ii  libwx-perl                 1:0.9923-4
> ii  needrestart                2.0-2
> ii  perl                       5.20.2-6
> ii  policykit-1                0.105-8
> ii  wmctrl                     1.07-7
> 
> needrestart-session recommends no packages.
> 
> needrestart-session suggests no packages.
> 
> -- no debconf information
> 
> 

-- 
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

Reply via email to