Package: libpcre3
Version: 1:8.31-4
Severity: wishlist
Hello and thanks for maintaining libpcre3.
I noticed that /sbin/init (from package sysvinit-core) links with this
library:
$ ldd /sbin/init
[...]
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcaab659000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
(0x00007fcaab3fd000)
[...]
After upgrading libpcre3, init should be restarted in order to take
advantage of the newly installed version of libpcre3.
This could be automatically performed by the postinst script, in a
way similar to how libc6 handles the same situation.
Compare with libc6 postinst script, which includes the following part:
# Restart init. Currently handles chroots and upstart, and assumes
# anything else is going to not fail at behaving like sysvinit:
TELINIT=yes
if ischroot 2>/dev/null; then
# Don't bother trying to re-exec init from a chroot:
TELINIT=no
else
if [ -x "`which initctl`" ]; then
UPSTART=$(initctl version 2>/dev/null | awk '/upstart/ {print $3}'
| tr -d ')')
if dpkg --compare-versions "$UPSTART" lt-nl 1.6.1; then
# This is an old upstart that can't re-exec statefully:
TELINIT=no
touch /var/run/init.upgraded
fi
fi
fi
if [ "$TELINIT" = "yes" ]; then
telinit u 2>/dev/null || true ; sleep 1
fi
Please consider doing something similar in libpcre3 postinst script.
Thanks for your time.
Bye.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libpcre3 depends on:
ii libc6 2.18-4
ii multiarch-support 2.18-4
libpcre3 recommends no packages.
libpcre3 suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]