Fixes: NB#283676 - running processes are not granted new credentials until restarted

RevBy: Juha Lintula
pull/1/head
Alexey Shilov 14 years ago
parent e3b8cb2455
commit 20c6996536

@ -9,7 +9,6 @@ elif [ "$1" = "triggered" ]; then
# Installation of some other package may have caused applauncherd credentials to go stale,
# ask applauncherd to re-exec to refresh the credentials.
if [ -f /var/run/applauncherd.lock ]; then
#kill -HUP `cat /var/run/applauncherd.lock`
echo "" #placeholder
kill -HUP `cat /var/run/applauncherd.lock`
fi
fi

2
debian/changelog vendored

@ -1,6 +1,6 @@
applauncherd (2.0.7) unstable; urgency=low
*
* Fixes: NB#283676 - running processes are not granted new credentials until restarted
-- Dmitry Rozenshtein <ext-dmitry.2.rozenshtein@nokia.com> Wed, 02 Nov 2011 14:07:21 +0300

@ -924,10 +924,10 @@ void Daemon::reExec()
_exit(1);
}
char *argv[] = {"/usr/bin/applauncherd.bin",
"--re-exec",
" ",
NULL};
char* argv[] = { const_cast<char*>("/usr/bin/applauncherd.bin"),
const_cast<char*>("--re-exec"),
const_cast<char*>(" "),
NULL};
// The boosters have state which will become stale, so kill them.
// The dead boosters will be reaped when the re-execed applauncherd

Loading…
Cancel
Save