tags 777242 wontfix retitle 777242 needrestart: dpkg install/remove broken using fish shell thanks
Hi Martin, On 02/06/2015 09:30 PM, Martin Dosch wrote: > Although I checked with bash, as I'm currently using fish it seems like > an issue with fish. > I realized changing to bash isn't enough and I need to set bash as > standard shell. so it does not seem to be an issue of needrestart - IMHO dpkg should use /bin/sh while evaluating the command string. Using the shell of the user calling dpkg for the status-logger command might be wrong in this situation... especially if the user runs a shell not being compatible to the SUSv3 Shell Command Language[1]. [1] https://www.debian.org/doc/debian-policy/ch-files.html#s-scripts The problem is triggered by the following config: > $ cat /etc/dpkg/dpkg.cfg.d/needrestart > # needrestart - Restart daemons after library updates. > # > # Scan for (successfully) installed packages, > # triggers needrestart in apt's Dpkg::Post-Invoke > # hook. > > status-logger=(test -x /usr/lib/needrestart/dpkg-status && > /usr/lib/needrestart/dpkg-status || cat > /dev/null) I don't see any way howto workaround this issue in a generic way... I can not relay on any scripts shipped with needrestart while it is already in rc state. HTH, Thomas PS: I've tagged the bug wontfix since I don't have a glue howto fix it within needrestart. -- :: WWW: http://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:[email protected] ::: :: flickr: http://www.flickr.com/photos/laugufe/ :: -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

