Bug#752114: needrestart: bug-script runs /usr/games/pacman when trying to use ArchLinux's pacman package manager in /etc/needrestart/hook.d/30-pacman

2014-07-14 Thread Patrick Matthäi
Hi, Am 22.06.2014 13:59, schrieb Thomas Liske: The question if also 20-rpm should not be shipped in the Debian binary package is a slightly different case as rpm is packaged for Debian -- probably mostly because it's a dependency of alien. But I suspect that running rpm on a Debian system

Bug#752114: needrestart: bug-script runs /usr/games/pacman when trying to use ArchLinux's pacman package manager in /etc/needrestart/hook.d/30-pacman

2014-07-14 Thread Thomas Liske
wb Patrick, On 07/14/2014 10:11 AM, Patrick Matthäi wrote: rpm should be kept, right. But I tend to remove the 30-pacman script, since pacman (the package manager) is not packaged for Debian. Any other opinions? ACK - I don't like to drop it upstream... since I'm trying to keep upstream

Bug#752114: needrestart: bug-script runs /usr/games/pacman when trying to use ArchLinux's pacman package manager in /etc/needrestart/hook.d/30-pacman

2014-06-22 Thread Thomas Liske
severity 752114 wishlist thanks Hi Axel, thanks for finding this remarkable bug :-). Running the pacman game happens due to needrestart is called as normal user from within (Patrick's :-) bugscript. needrestart is located in /usr/sbin and it is not reasonable usable as non-root user. In

Bug#752114: needrestart: bug-script runs /usr/games/pacman when trying to use ArchLinux's pacman package manager in /etc/needrestart/hook.d/30-pacman

2014-06-22 Thread Axel Beckert
Hi Thomas and Patrick, Thomas Liske wrote: IMHO we should discuss: - howto run `needrestart -v` as root from the bug script || only run `needrestart -v` if reportbug is run as root Good question. I tend to the second variant. Guessing how the user can get root permissions is bound to fail.

Bug#752114: needrestart: bug-script runs /usr/games/pacman when trying to use ArchLinux's pacman package manager in /etc/needrestart/hook.d/30-pacman

2014-06-22 Thread Thomas Liske
Re, On 06/22/2014 01:48 PM, Axel Beckert wrote: Hi Thomas and Patrick, Thomas Liske wrote: IMHO we should discuss: - howto run `needrestart -v` as root from the bug script || only run `needrestart -v` if reportbug is run as root Good question. I tend to the second variant. Guessing how the

Bug#752114: needrestart: bug-script runs /usr/games/pacman when trying to use ArchLinux's pacman package manager in /etc/needrestart/hook.d/30-pacman

2014-06-19 Thread Axel Beckert
Package: needrestart Version: 1.0-1 Severity: normal Dear Thomas and Patrick, if I want to report a bug against needrestart, the bug script runs /etc/needrestart/hook.d/30-pacman which calls pacman with neither a given path nor with limiting $PATH. On my system it finds the game binary